|
GnuCash c935c2f+
|
Files | |
| file | gncCustomer.h |
| Core Customer Interface. | |
Data Structures | |
| struct | GncCustomer |
| credit, discount and shipaddr are unique to GncCustomer id, name, notes, terms, addr, currency, taxtable, taxtable_override taxincluded, active and jobs are identical to ::GncVendor. More... | |
Macros | |
| #define | GNC_ID_CUSTOMER "gncCustomer" |
| #define | GNC_TYPE_CUSTOMER (gnc_customer_get_type ()) |
| #define | GNC_CUSTOMER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_CUSTOMER, GncCustomer)) |
| #define | GNC_CUSTOMER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_CUSTOMER, GncCustomerClass)) |
| #define | GNC_IS_CUSTOMER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_CUSTOMER)) |
| #define | GNC_IS_CUSTOMER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_CUSTOMER)) |
| #define | GNC_CUSTOMER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_CUSTOMER, GncCustomerClass)) |
| #define | CUSTOMER_ID "id" |
| #define | CUSTOMER_NAME "name" |
| #define | CUSTOMER_ADDR "addr" |
| #define | CUSTOMER_SHIPADDR "shipaddr" |
| #define | CUSTOMER_NOTES "notes" |
| #define | CUSTOMER_DISCOUNT "amount of discount" |
| #define | CUSTOMER_CREDIT "amount of credit" |
| #define | CUSTOMER_TT_OVER "tax table override" |
| #define | CUSTOMER_TAX_INC "customer_tax_included" |
| #define | CUSTOMER_TERMS "customer_terms" |
| #define | CUSTOMER_ACTIVE "customer_is_active" |
| #define | CUSTOMER_SLOTS "customer_values" |
| #define | gncCustomerGetGUID(x) qof_instance_get_guid(QOF_INSTANCE(x)) |
| #define | gncCustomerRetGUID(x) (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())) |
| #define | gncCustomerGetBook(x) qof_instance_get_book(QOF_INSTANCE(x)) |
| #define | gncCustomerLookupDirect(g, b) gncCustomerLookup((b), &(g)) |
Functions | |
| GType | gnc_customer_get_type (void) |
| int | gncCustomerCompare (const GncCustomer *a, const GncCustomer *b) |
| gboolean | gncCustomerEqual (const GncCustomer *a, const GncCustomer *b) |
| Test support function, used in gets-dbi-business-stuff.c. | |
| GList * | gncCustomerGetJoblist (const GncCustomer *customer, gboolean show_all) |
| gboolean | gncCustomerIsDirty (GncCustomer *customer) |
Create/Destroy Functions | |
| GncCustomer * | gncCustomerCreate (QofBook *book) |
| void | gncCustomerDestroy (GncCustomer *customer) |
| void | gncCustomerBeginEdit (GncCustomer *customer) |
| void | gncCustomerCommitEdit (GncCustomer *customer) |
Set Functions | |
| void | gncCustomerSetID (GncCustomer *customer, const char *id) |
| void | gncCustomerSetName (GncCustomer *customer, const char *name) |
| void | gncCustomerSetNotes (GncCustomer *customer, const char *notes) |
| void | gncCustomerSetTerms (GncCustomer *customer, GncBillTerm *term) |
| void | gncCustomerSetTaxIncluded (GncCustomer *customer, GncTaxIncluded taxincl) |
| void | gncCustomerSetActive (GncCustomer *customer, gboolean active) |
| void | gncCustomerSetDiscount (GncCustomer *customer, gnc_numeric discount) |
| void | gncCustomerSetCredit (GncCustomer *customer, gnc_numeric credit) |
| void | gncCustomerSetCurrency (GncCustomer *customer, gnc_commodity *currency) |
| void | gncCustomerSetTaxTableOverride (GncCustomer *customer, gboolean override) |
| void | gncCustomerSetTaxTable (GncCustomer *customer, GncTaxTable *table) |
| void | gncCustomerAddJob (GncCustomer *customer, GncJob *job) |
| void | gncCustomerRemoveJob (GncCustomer *customer, GncJob *job) |
Get Functions | |
| const char * | gncCustomerGetID (const GncCustomer *customer) |
| const char * | gncCustomerGetName (const GncCustomer *customer) |
| GncAddress * | gncCustomerGetAddr (const GncCustomer *customer) |
| GncAddress * | gncCustomerGetShipAddr (const GncCustomer *customer) |
| const char * | gncCustomerGetNotes (const GncCustomer *customer) |
| GncBillTerm * | gncCustomerGetTerms (const GncCustomer *customer) |
| GncTaxIncluded | gncCustomerGetTaxIncluded (const GncCustomer *customer) |
| gboolean | gncCustomerGetActive (const GncCustomer *customer) |
| gnc_numeric | gncCustomerGetDiscount (const GncCustomer *customer) |
| gnc_numeric | gncCustomerGetCredit (const GncCustomer *customer) |
| gnc_commodity * | gncCustomerGetCurrency (const GncCustomer *customer) |
| gboolean | gncCustomerGetTaxTableOverride (const GncCustomer *customer) |
| GncTaxTable * | gncCustomerGetTaxTable (const GncCustomer *customer) |
| #define CUSTOMER_ACTIVE "customer_is_active" |
Definition at line 154 of file gncCustomer.h.
| #define CUSTOMER_ADDR "addr" |
Definition at line 146 of file gncCustomer.h.
| #define CUSTOMER_CREDIT "amount of credit" |
Definition at line 150 of file gncCustomer.h.
| #define CUSTOMER_DISCOUNT "amount of discount" |
Definition at line 149 of file gncCustomer.h.
| #define CUSTOMER_ID "id" |
Definition at line 144 of file gncCustomer.h.
| #define CUSTOMER_NAME "name" |
Definition at line 145 of file gncCustomer.h.
| #define CUSTOMER_NOTES "notes" |
Definition at line 148 of file gncCustomer.h.
| #define CUSTOMER_SHIPADDR "shipaddr" |
Definition at line 147 of file gncCustomer.h.
| #define CUSTOMER_SLOTS "customer_values" |
Definition at line 155 of file gncCustomer.h.
| #define CUSTOMER_TAX_INC "customer_tax_included" |
Definition at line 152 of file gncCustomer.h.
| #define CUSTOMER_TERMS "customer_terms" |
Definition at line 153 of file gncCustomer.h.
| #define CUSTOMER_TT_OVER "tax table override" |
Definition at line 151 of file gncCustomer.h.
| #define GNC_CUSTOMER | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_CUSTOMER, GncCustomer)) |
Definition at line 73 of file gncCustomer.h.
| #define GNC_CUSTOMER_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_CUSTOMER, GncCustomerClass)) |
Definition at line 75 of file gncCustomer.h.
| #define GNC_CUSTOMER_GET_CLASS | ( | o | ) | (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_CUSTOMER, GncCustomerClass)) |
Definition at line 81 of file gncCustomer.h.
| #define GNC_ID_CUSTOMER "gncCustomer" |
Definition at line 69 of file gncCustomer.h.
| #define GNC_IS_CUSTOMER | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_CUSTOMER)) |
Definition at line 77 of file gncCustomer.h.
| #define GNC_IS_CUSTOMER_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_CUSTOMER)) |
Definition at line 79 of file gncCustomer.h.
| #define GNC_TYPE_CUSTOMER (gnc_customer_get_type ()) |
Definition at line 72 of file gncCustomer.h.
| #define gncCustomerGetBook | ( | x | ) | qof_instance_get_book(QOF_INSTANCE(x)) |
Definition at line 160 of file gncCustomer.h.
| #define gncCustomerGetGUID | ( | x | ) | qof_instance_get_guid(QOF_INSTANCE(x)) |
Definition at line 158 of file gncCustomer.h.
| #define gncCustomerLookupDirect | ( | g, | |
| b | |||
| ) | gncCustomerLookup((b), &(g)) |
Definition at line 161 of file gncCustomer.h.
| #define gncCustomerRetGUID | ( | x | ) | (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())) |
Definition at line 159 of file gncCustomer.h.
| void gncCustomerAddJob | ( | GncCustomer * | customer, |
| GncJob * | job | ||
| ) |
Definition at line 498 of file gncCustomer.c.
| void gncCustomerBeginEdit | ( | GncCustomer * | customer | ) |
Definition at line 530 of file gncCustomer.c.
| void gncCustomerCommitEdit | ( | GncCustomer * | customer | ) |
Definition at line 554 of file gncCustomer.c.
| int gncCustomerCompare | ( | const GncCustomer * | a, |
| const GncCustomer * | b | ||
| ) |
Definition at line 721 of file gncCustomer.c.
| GncCustomer * gncCustomerCreate | ( | QofBook * | book | ) |
Definition at line 303 of file gncCustomer.c.
| void gncCustomerDestroy | ( | GncCustomer * | customer | ) |
Definition at line 333 of file gncCustomer.c.
| gboolean gncCustomerEqual | ( | const GncCustomer * | a, |
| const GncCustomer * | b | ||
| ) |
Test support function, used in gets-dbi-business-stuff.c.
Definition at line 731 of file gncCustomer.c.
| gboolean gncCustomerGetActive | ( | const GncCustomer * | customer | ) |
Definition at line 660 of file gncCustomer.c.
| GncAddress * gncCustomerGetAddr | ( | const GncCustomer * | customer | ) |
Definition at line 576 of file gncCustomer.c.
| gnc_numeric gncCustomerGetCredit | ( | const GncCustomer * | customer | ) |
Definition at line 672 of file gncCustomer.c.
| gnc_commodity * gncCustomerGetCurrency | ( | const GncCustomer * | customer | ) |
Definition at line 654 of file gncCustomer.c.
| gnc_numeric gncCustomerGetDiscount | ( | const GncCustomer * | customer | ) |
Definition at line 666 of file gncCustomer.c.
| const char * gncCustomerGetID | ( | const GncCustomer * | customer | ) |
Definition at line 564 of file gncCustomer.c.
| GList * gncCustomerGetJoblist | ( | const GncCustomer * | customer, |
| gboolean | show_all | ||
| ) |
Definition at line 690 of file gncCustomer.c.
| const char * gncCustomerGetName | ( | const GncCustomer * | customer | ) |
Definition at line 570 of file gncCustomer.c.
| const char * gncCustomerGetNotes | ( | const GncCustomer * | customer | ) |
Definition at line 636 of file gncCustomer.c.
| GncAddress * gncCustomerGetShipAddr | ( | const GncCustomer * | customer | ) |
Definition at line 630 of file gncCustomer.c.
| GncTaxIncluded gncCustomerGetTaxIncluded | ( | const GncCustomer * | customer | ) |
Definition at line 648 of file gncCustomer.c.
| GncTaxTable * gncCustomerGetTaxTable | ( | const GncCustomer * | customer | ) |
Definition at line 684 of file gncCustomer.c.
| gboolean gncCustomerGetTaxTableOverride | ( | const GncCustomer * | customer | ) |
Definition at line 678 of file gncCustomer.c.
| GncBillTerm * gncCustomerGetTerms | ( | const GncCustomer * | customer | ) |
Definition at line 642 of file gncCustomer.c.
| gboolean gncCustomerIsDirty | ( | GncCustomer * | customer | ) |
Definition at line 711 of file gncCustomer.c.
| void gncCustomerRemoveJob | ( | GncCustomer * | customer, |
| GncJob * | job | ||
| ) |
Definition at line 510 of file gncCustomer.c.
| void gncCustomerSetActive | ( | GncCustomer * | customer, |
| gboolean | active | ||
| ) |
Definition at line 432 of file gncCustomer.c.
| void gncCustomerSetCredit | ( | GncCustomer * | customer, |
| gnc_numeric | credit | ||
| ) |
Definition at line 452 of file gncCustomer.c.
| void gncCustomerSetCurrency | ( | GncCustomer * | customer, |
| gnc_commodity * | currency | ||
| ) |
Definition at line 462 of file gncCustomer.c.
| void gncCustomerSetDiscount | ( | GncCustomer * | customer, |
| gnc_numeric | discount | ||
| ) |
Definition at line 442 of file gncCustomer.c.
| void gncCustomerSetID | ( | GncCustomer * | customer, |
| const char * | id | ||
| ) |
Definition at line 380 of file gncCustomer.c.
| void gncCustomerSetName | ( | GncCustomer * | customer, |
| const char * | name | ||
| ) |
Definition at line 389 of file gncCustomer.c.
| void gncCustomerSetNotes | ( | GncCustomer * | customer, |
| const char * | notes | ||
| ) |
Definition at line 398 of file gncCustomer.c.
| void gncCustomerSetTaxIncluded | ( | GncCustomer * | customer, |
| GncTaxIncluded | taxincl | ||
| ) |
Definition at line 422 of file gncCustomer.c.
| void gncCustomerSetTaxTable | ( | GncCustomer * | customer, |
| GncTaxTable * | table | ||
| ) |
Definition at line 482 of file gncCustomer.c.
| void gncCustomerSetTaxTableOverride | ( | GncCustomer * | customer, |
| gboolean | override | ||
| ) |
Definition at line 472 of file gncCustomer.c.
| void gncCustomerSetTerms | ( | GncCustomer * | customer, |
| GncBillTerm * | term | ||
| ) |
Definition at line 407 of file gncCustomer.c.