GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
#include <Item.h>
Public Member Functions | |
const std::string & | guid () const |
const std::string & | name () const |
const std::string & | id () const |
template<class Action > | |
void | persist (Action &action) |
![]() | |
BaseItem () | |
![]() | |
Dbo () | |
Dbo (const Dbo< C > &other) | |
dbo_traits< C >::IdType | id () const |
Session * | session () const |
void | setDirty () |
bool | isDirty () const |
ptr< C > | self () const |
Private Attributes | |
std::string | m_guid |
std::string | m_name |
std::string | m_id |
std::string | m_notes |
int | m_active |
int | m_discount_num |
int | m_discount_denom |
int | m_credit_num |
int | m_credit_denom |
std::string | m_currency |
int | m_tax_override |
std::string | m_addr_name |
std::string | m_addr_addr1 |
std::string | m_addr_addr2 |
std::string | m_addr_addr3 |
std::string | m_addr_addr4 |
std::string | m_addr_phone |
std::string | m_addr_fax |
std::string | m_addr_email |
std::string | m_shipaddr_name |
std::string | m_shipaddr_addr1 |
std::string | m_shipaddr_addr2 |
std::string | m_shipaddr_addr3 |
std::string | m_shipaddr_addr4 |
std::string | m_shipaddr_phone |
std::string | m_shipaddr_fax |
std::string | m_shipaddr_email |
std::string | m_terms |
int | m_tax_included |
std::string | m_taxtable |
Additional Inherited Members | |
![]() | |
using | Ptr = Wt::Dbo::ptr< Item > |
using | Collection = Wt::Dbo::collection< Ptr > |
using | Vector = std::vector< Ptr > |
Customer Item Class.
This class represents an 'customer' within gnucash. This is a Dbo object so this class is used as the interface between the gnucashew application and the back-end database.
Definition at line 107 of file Dbo/Customers/Item.h.
|
inline |
Definition at line 112 of file Dbo/Customers/Item.h.
References m_guid.
|
inline |
Definition at line 114 of file Dbo/Customers/Item.h.
References m_id.
|
inline |
Definition at line 113 of file Dbo/Customers/Item.h.
References m_name.
|
inline |
Definition at line 116 of file Dbo/Customers/Item.h.
References GCW::Dbo::Customers::Field::active, GCW::Dbo::Customers::Field::addr_addr1, GCW::Dbo::Customers::Field::addr_addr2, GCW::Dbo::Customers::Field::addr_addr3, GCW::Dbo::Customers::Field::addr_addr4, GCW::Dbo::Customers::Field::addr_email, GCW::Dbo::Customers::Field::addr_fax, GCW::Dbo::Customers::Field::addr_name, GCW::Dbo::Customers::Field::addr_phone, GCW::Dbo::Customers::Field::credit_denom, GCW::Dbo::Customers::Field::credit_num, GCW::Dbo::Customers::Field::currency, GCW::Dbo::Customers::Field::discount_denom, GCW::Dbo::Customers::Field::discount_num, Wt::Dbo::field(), GCW::Dbo::Customers::Field::guid, Wt::Dbo::id(), GCW::Dbo::Customers::Field::id, m_active, m_addr_addr1, m_addr_addr2, m_addr_addr3, m_addr_addr4, m_addr_email, m_addr_fax, m_addr_name, m_addr_phone, m_credit_denom, m_credit_num, m_currency, m_discount_denom, m_discount_num, m_guid, m_id, m_name, m_notes, m_shipaddr_addr1, m_shipaddr_addr2, m_shipaddr_addr3, m_shipaddr_addr4, m_shipaddr_email, m_shipaddr_fax, m_shipaddr_name, m_shipaddr_phone, m_tax_included, m_tax_override, m_taxtable, m_terms, GCW::Dbo::Customers::Field::name, GCW::Dbo::Customers::Field::notes, GCW::Dbo::Customers::Field::shipaddr_addr1, GCW::Dbo::Customers::Field::shipaddr_addr2, GCW::Dbo::Customers::Field::shipaddr_addr3, GCW::Dbo::Customers::Field::shipaddr_addr4, GCW::Dbo::Customers::Field::shipaddr_email, GCW::Dbo::Customers::Field::shipaddr_fax, GCW::Dbo::Customers::Field::shipaddr_name, GCW::Dbo::Customers::Field::shipaddr_phone, GCW::Dbo::Customers::Field::tax_included, GCW::Dbo::Customers::Field::tax_override, GCW::Dbo::Customers::Field::taxtable, and GCW::Dbo::Customers::Field::terms.
|
private |
Definition at line 157 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 165 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 166 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 167 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 168 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 171 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 170 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 164 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 169 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 161 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 160 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 162 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 159 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 158 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 153 of file Dbo/Customers/Item.h.
|
private |
Definition at line 155 of file Dbo/Customers/Item.h.
|
private |
Definition at line 154 of file Dbo/Customers/Item.h.
|
private |
Definition at line 156 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 173 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 174 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 175 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 176 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 179 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 178 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 172 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 177 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 181 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 163 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 182 of file Dbo/Customers/Item.h.
Referenced by persist().
|
private |
Definition at line 180 of file Dbo/Customers/Item.h.
Referenced by persist().