GnuCash
5.6-150-g038405b370+
engine
gncCustomerP.h
1
/********************************************************************\
2
* gncCustomerP.h -- the Core Customer Interface *
3
* *
4
* This program is free software; you can redistribute it and/or *
5
* modify it under the terms of the GNU General Public License as *
6
* published by the Free Software Foundation; either version 2 of *
7
* the License, or (at your option) any later version. *
8
* *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
13
* *
14
* You should have received a copy of the GNU General Public License*
15
* along with this program; if not, contact: *
16
* *
17
* Free Software Foundation Voice: +1-617-542-5942 *
18
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19
* Boston, MA 02110-1301, USA gnu@gnu.org *
20
* *
21
\********************************************************************/
22
23
/*
24
* Copyright (C) 2001 Derek Atkins
25
* Copyright (C) 2003 Linas Vepstas <linas@linas.org>
26
* Author: Derek Atkins <warlord@MIT.EDU>
27
*/
28
29
#ifndef GNC_CUSTOMERP_H_
30
#define GNC_CUSTOMERP_H_
31
32
#include "
gncCustomer.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
38
gboolean gncCustomerRegister (
void
);
39
gchar *gncCustomerNextID (QofBook *book);
40
const
gnc_numeric *gncCustomerGetCachedBalance (
GncCustomer
*cust);
41
void
gncCustomerSetCachedBalance (
GncCustomer
*cust,
const
gnc_numeric *new_bal);
42
43
#define gncCustomerSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
/* GNC_CUSTOMERP_H_ */
gncCustomer.h
Core Customer Interface.
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.
Generated by
1.8.14