|
GnuCash c935c2f+
|
Files | |
| file | gncVendor.h |
| Vendor Interface. | |
Macros | |
| #define | GNC_ID_VENDOR "gncVendor" |
| #define | GNC_TYPE_VENDOR (gnc_vendor_get_type ()) |
| #define | GNC_VENDOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_VENDOR, GncVendor)) |
| #define | GNC_VENDOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_VENDOR, GncVendorClass)) |
| #define | GNC_IS_VENDOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_VENDOR)) |
| #define | GNC_IS_VENDOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_VENDOR)) |
| #define | GNC_VENDOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_VENDOR, GncVendorClass)) |
| #define | VENDOR_ID "id" |
| #define | VENDOR_NAME "name" |
| #define | VENDOR_ADDR "addr" |
| #define | VENDOR_NOTES "vendor_notes" |
| #define | VENDOR_TERMS "vendor_terms" |
| #define | VENDOR_TAX_INC "vendor_tax_included" |
| #define | VENDOR_ACTIVE "vendor_is_active" |
| #define | VENDOR_TAX_OVERRIDE "override_tax_table" |
| #define | VENDOR_TAX_TABLE "vendor_tax_table" |
| #define | gncVendorGetBook(X) qof_instance_get_book (QOF_INSTANCE(X)) |
| deprecated functions | |
| #define | gncVendorGetGUID(X) qof_instance_get_guid (QOF_INSTANCE(X)) |
| #define | gncVendorRetGUID(X) (X ? *(qof_instance_get_guid (QOF_INSTANCE(X))) : *(guid_null())) |
| #define | gncVendorLookupDirect(G, B) gncVendorLookup((B),&(G)) |
Functions | |
| GType | gnc_vendor_get_type (void) |
| GncVendor * | gncVendorCreate (QofBook *book) |
| void | gncVendorDestroy (GncVendor *vendor) |
| void | gncVendorAddJob (GncVendor *vendor, GncJob *job) |
| void | gncVendorRemoveJob (GncVendor *vendor, GncJob *job) |
| void | gncVendorBeginEdit (GncVendor *vendor) |
| void | gncVendorCommitEdit (GncVendor *vendor) |
| int | gncVendorCompare (const GncVendor *a, const GncVendor *b) |
| XXX should be renamed to RetJobList to be consistent with other usage, since caller must free the copied list. | |
| gboolean | gncVendorEqual (const GncVendor *a, const GncVendor *b) |
| Test support function, used by test-dbi-business-stuff.c. | |
| gboolean | gncVendorIsDirty (const GncVendor *vendor) |
Set Functions | |
| void | gncVendorSetID (GncVendor *vendor, const char *id) |
| void | gncVendorSetName (GncVendor *vendor, const char *name) |
| void | gncVendorSetNotes (GncVendor *vendor, const char *notes) |
| void | gncVendorSetTerms (GncVendor *vendor, GncBillTerm *terms) |
| void | gncVendorSetTaxIncluded (GncVendor *vendor, GncTaxIncluded taxincl) |
| void | gncVendorSetCurrency (GncVendor *vendor, gnc_commodity *currency) |
| void | gncVendorSetActive (GncVendor *vendor, gboolean active) |
| void | gncVendorSetTaxTableOverride (GncVendor *vendor, gboolean override) |
| void | gncVendorSetTaxTable (GncVendor *vendor, GncTaxTable *table) |
Get Functions | |
| const char * | gncVendorGetID (const GncVendor *vendor) |
| const char * | gncVendorGetName (const GncVendor *vendor) |
| GncAddress * | gncVendorGetAddr (const GncVendor *vendor) |
| const char * | gncVendorGetNotes (const GncVendor *vendor) |
| GncBillTerm * | gncVendorGetTerms (const GncVendor *vendor) |
| GncTaxIncluded | gncVendorGetTaxIncluded (const GncVendor *vendor) |
| gnc_commodity * | gncVendorGetCurrency (const GncVendor *vendor) |
| gboolean | gncVendorGetActive (const GncVendor *vendor) |
| gboolean | gncVendorGetTaxTableOverride (const GncVendor *vendor) |
| GncTaxTable * | gncVendorGetTaxTable (const GncVendor *vendor) |
| #define GNC_ID_VENDOR "gncVendor" |
Definition at line 46 of file gncVendor.h.
| #define GNC_IS_VENDOR | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_VENDOR)) |
Definition at line 54 of file gncVendor.h.
| #define GNC_IS_VENDOR_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_VENDOR)) |
Definition at line 56 of file gncVendor.h.
| #define GNC_TYPE_VENDOR (gnc_vendor_get_type ()) |
Definition at line 49 of file gncVendor.h.
| #define GNC_VENDOR | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_VENDOR, GncVendor)) |
Definition at line 50 of file gncVendor.h.
| #define GNC_VENDOR_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_VENDOR, GncVendorClass)) |
Definition at line 52 of file gncVendor.h.
| #define GNC_VENDOR_GET_CLASS | ( | o | ) | (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_VENDOR, GncVendorClass)) |
Definition at line 58 of file gncVendor.h.
| #define gncVendorGetBook | ( | X | ) | qof_instance_get_book (QOF_INSTANCE(X)) |
deprecated functions
Definition at line 132 of file gncVendor.h.
| #define gncVendorGetGUID | ( | X | ) | qof_instance_get_guid (QOF_INSTANCE(X)) |
Definition at line 133 of file gncVendor.h.
| #define gncVendorLookupDirect | ( | G, | |
| B | |||
| ) | gncVendorLookup((B),&(G)) |
Definition at line 135 of file gncVendor.h.
| #define gncVendorRetGUID | ( | X | ) | (X ? *(qof_instance_get_guid (QOF_INSTANCE(X))) : *(guid_null())) |
Definition at line 134 of file gncVendor.h.
| #define VENDOR_ACTIVE "vendor_is_active" |
Definition at line 127 of file gncVendor.h.
| #define VENDOR_ADDR "addr" |
Definition at line 123 of file gncVendor.h.
| #define VENDOR_ID "id" |
Definition at line 121 of file gncVendor.h.
| #define VENDOR_NAME "name" |
Definition at line 122 of file gncVendor.h.
| #define VENDOR_NOTES "vendor_notes" |
Definition at line 124 of file gncVendor.h.
| #define VENDOR_TAX_INC "vendor_tax_included" |
Definition at line 126 of file gncVendor.h.
| #define VENDOR_TAX_OVERRIDE "override_tax_table" |
Definition at line 128 of file gncVendor.h.
| #define VENDOR_TAX_TABLE "vendor_tax_table" |
Definition at line 129 of file gncVendor.h.
| #define VENDOR_TERMS "vendor_terms" |
Definition at line 125 of file gncVendor.h.
| void gncVendorAddJob | ( | GncVendor * | vendor, |
| GncJob * | job | ||
| ) |
Definition at line 729 of file gncVendor.c.
| void gncVendorBeginEdit | ( | GncVendor * | vendor | ) |
Definition at line 762 of file gncVendor.c.
| void gncVendorCommitEdit | ( | GncVendor * | vendor | ) |
Definition at line 785 of file gncVendor.c.
| int gncVendorCompare | ( | const GncVendor * | a, |
| const GncVendor * | b | ||
| ) |
XXX should be renamed to RetJobList to be consistent with other usage, since caller must free the copied list.
Definition at line 795 of file gncVendor.c.
| GncVendor * gncVendorCreate | ( | QofBook * | book | ) |
Definition at line 453 of file gncVendor.c.
| void gncVendorDestroy | ( | GncVendor * | vendor | ) |
Definition at line 479 of file gncVendor.c.
| gboolean gncVendorEqual | ( | const GncVendor * | a, |
| const GncVendor * | b | ||
| ) |
Test support function, used by test-dbi-business-stuff.c.
Definition at line 804 of file gncVendor.c.
| gboolean gncVendorGetActive | ( | const GncVendor * | vendor | ) |
Definition at line 704 of file gncVendor.c.
| GncAddress * gncVendorGetAddr | ( | const GncVendor * | vendor | ) |
Definition at line 674 of file gncVendor.c.
| gnc_commodity * gncVendorGetCurrency | ( | const GncVendor * | vendor | ) |
Definition at line 698 of file gncVendor.c.
| const char * gncVendorGetID | ( | const GncVendor * | vendor | ) |
Definition at line 662 of file gncVendor.c.
| const char * gncVendorGetName | ( | const GncVendor * | vendor | ) |
Definition at line 668 of file gncVendor.c.
| const char * gncVendorGetNotes | ( | const GncVendor * | vendor | ) |
Definition at line 680 of file gncVendor.c.
| GncTaxIncluded gncVendorGetTaxIncluded | ( | const GncVendor * | vendor | ) |
Definition at line 692 of file gncVendor.c.
| GncTaxTable * gncVendorGetTaxTable | ( | const GncVendor * | vendor | ) |
Definition at line 716 of file gncVendor.c.
| gboolean gncVendorGetTaxTableOverride | ( | const GncVendor * | vendor | ) |
Definition at line 710 of file gncVendor.c.
| GncBillTerm * gncVendorGetTerms | ( | const GncVendor * | vendor | ) |
Definition at line 686 of file gncVendor.c.
| gboolean gncVendorIsDirty | ( | const GncVendor * | vendor | ) |
Definition at line 877 of file gncVendor.c.
| void gncVendorRemoveJob | ( | GncVendor * | vendor, |
| GncJob * | job | ||
| ) |
Definition at line 741 of file gncVendor.c.
| void gncVendorSetActive | ( | GncVendor * | vendor, |
| gboolean | active | ||
| ) |
Definition at line 587 of file gncVendor.c.
| void gncVendorSetCurrency | ( | GncVendor * | vendor, |
| gnc_commodity * | currency | ||
| ) |
Definition at line 575 of file gncVendor.c.
| void gncVendorSetID | ( | GncVendor * | vendor, |
| const char * | id | ||
| ) |
Definition at line 523 of file gncVendor.c.
| void gncVendorSetName | ( | GncVendor * | vendor, |
| const char * | name | ||
| ) |
Definition at line 532 of file gncVendor.c.
| void gncVendorSetNotes | ( | GncVendor * | vendor, |
| const char * | notes | ||
| ) |
Definition at line 541 of file gncVendor.c.
| void gncVendorSetTaxIncluded | ( | GncVendor * | vendor, |
| GncTaxIncluded | taxincl | ||
| ) |
Definition at line 565 of file gncVendor.c.
| void gncVendorSetTaxTable | ( | GncVendor * | vendor, |
| GncTaxTable * | table | ||
| ) |
Definition at line 607 of file gncVendor.c.
| void gncVendorSetTaxTableOverride | ( | GncVendor * | vendor, |
| gboolean | override | ||
| ) |
Definition at line 597 of file gncVendor.c.
| void gncVendorSetTerms | ( | GncVendor * | vendor, |
| GncBillTerm * | terms | ||
| ) |
Definition at line 550 of file gncVendor.c.