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

Core Customer 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_CUSTOMER   "gncCustomer"
#define GNC_TYPE_CUSTOMER   (gnc_customer_get_type ())
#define GNC_CUSTOMER(o)
#define GNC_CUSTOMER_CLASS(k)
#define GNC_IS_CUSTOMER(o)
#define GNC_IS_CUSTOMER_CLASS(k)
#define GNC_CUSTOMER_GET_CLASS(o)
#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)
#define gncCustomerRetGUID(x)
#define gncCustomerGetBook(x)
#define gncCustomerLookupDirect(g, b)

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)

Detailed Description

Core Customer Interface.

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

Definition in file gncCustomer.h.