GnuCash 7574033+
Loading...
Searching...
No Matches

Vendor Interface. More...

#include "gncAddress.h"
#include "gncBillTerm.h"
#include "gncTaxTable.h"
#include "gncJob.h"

Go to the source code of this file.

Macros

#define GNC_ID_VENDOR   "gncVendor"
#define GNC_TYPE_VENDOR   (gnc_vendor_get_type ())
#define GNC_VENDOR(o)
#define GNC_VENDOR_CLASS(k)
#define GNC_IS_VENDOR(o)
#define GNC_IS_VENDOR_CLASS(k)
#define GNC_VENDOR_GET_CLASS(o)
#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)
 deprecated functions
#define gncVendorGetGUID(X)
#define gncVendorRetGUID(X)
#define gncVendorLookupDirect(G, B)

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)

Detailed Description

Vendor Interface.

Author
Copyright (C) 2001,2002 Derek Atkins warlo.nosp@m.rd@M.nosp@m.IT.ED.nosp@m.U

Definition in file gncVendor.h.