Invoices Class.
More...
#include <Item.h>
Invoices Class.
- Native GnuCash Invoice Sqlite Schema
CREATE TABLE invoices
(
guid text(32) PRIMARY KEY NOT NULL,
id text(2048) NOT NULL,
notes text(2048) NOT NULL,
);
auto guid() const -> const std::string &
GUID.
const Wt::WFormModel::Field notes
const Wt::WFormModel::Field currency
const Wt::WFormModel::Field billing_id
const Wt::WFormModel::Field billto_guid
const Wt::WFormModel::Field date_posted
const Wt::WFormModel::Field active
const Wt::WFormModel::Field post_lot
const Wt::WFormModel::Field billto_type
const Wt::WFormModel::Field post_acc
const Wt::WFormModel::Field owner_type
const Wt::WFormModel::Field date_opened
const Wt::WFormModel::Field charge_amt_num
const Wt::WFormModel::Field owner_guid
const Wt::WFormModel::Field post_txn
const Wt::WFormModel::Field charge_amt_denom
const Wt::WFormModel::Field terms
Definition at line 84 of file Item.h.
◆ Item() [1/4]
GCW::Dbo::Invoices::Item::Item |
( |
| ) |
|
|
inline |
ctor
Definition at line 92 of file Item.h.
◆ Item() [2/4]
GCW::Dbo::Invoices::Item::Item |
( |
const std::string & |
_guid | ) |
|
|
inline |
ctor with guid
Definition at line 97 of file Item.h.
◆ Item() [3/4]
GCW::Dbo::Invoices::Item::Item |
( |
| ) |
|
|
inline |
ctor
Definition at line 92 of file Item.h.
◆ Item() [4/4]
GCW::Dbo::Invoices::Item::Item |
( |
const std::string & |
_guid | ) |
|
|
inline |
ctor with guid
Definition at line 97 of file Item.h.
◆ guid() [1/2]
auto GCW::Dbo::Invoices::Item::guid |
( |
| ) |
const -> const std::string & |
|
inline |
GUID.
Return account 'guid' value - the primary key for the account
Definition at line 104 of file Item.h.
References m_guid.
◆ guid() [2/2]
auto GCW::Dbo::Invoices::Item::guid |
( |
| ) |
const -> const std::string & |
|
inline |
GUID.
Return account 'guid' value - the primary key for the account
Definition at line 104 of file Item.h.
References m_guid.
◆ persist() [1/2]
template<class Action >
auto GCW::Dbo::Invoices::Item::persist |
( |
Action & |
action | ) |
-> void
|
|
inline |
Definition at line 107 of file Item.h.
References GCW::Dbo::Entries::Field::action, GCW::Dbo::Invoices::Field::active, GCW::Dbo::Invoices::Field::billing_id, GCW::Dbo::Invoices::Field::billto_guid, GCW::Dbo::Invoices::Field::billto_type, GCW::Dbo::Invoices::Field::charge_amt_denom, GCW::Dbo::Invoices::Field::charge_amt_num, GCW::Dbo::Invoices::Field::currency, GCW::Dbo::Invoices::Field::date_opened, GCW::Dbo::Invoices::Field::date_posted, GCW::Dbo::Invoices::Field::guid, GCW::Dbo::Invoices::Field::id, m_active, m_billing_id, m_billto_guid, m_billto_type, m_charge_amt_denom, m_charge_amt_num, m_currency, m_date_opened, m_date_posted, m_guid, m_id, m_notes, m_owner_guid, m_owner_type, m_post_acc, m_post_lot, m_post_txn, m_terms, GCW::Dbo::Invoices::Field::notes, GCW::Dbo::Invoices::Field::owner_guid, GCW::Dbo::Invoices::Field::owner_type, GCW::Dbo::Invoices::Field::post_acc, GCW::Dbo::Invoices::Field::post_lot, GCW::Dbo::Invoices::Field::post_txn, and GCW::Dbo::Invoices::Field::terms.
◆ persist() [2/2]
template<class Action >
auto GCW::Dbo::Invoices::Item::persist |
( |
Action & |
action | ) |
-> void
|
|
inline |
Definition at line 107 of file Item.h.
References GCW::Dbo::Entries::Field::action, GCW::Dbo::Invoices::Field::active, GCW::Dbo::Invoices::Field::billing_id, GCW::Dbo::Invoices::Field::billto_guid, GCW::Dbo::Invoices::Field::billto_type, GCW::Dbo::Invoices::Field::charge_amt_denom, GCW::Dbo::Invoices::Field::charge_amt_num, GCW::Dbo::Invoices::Field::currency, GCW::Dbo::Invoices::Field::date_opened, GCW::Dbo::Invoices::Field::date_posted, GCW::Dbo::Invoices::Field::guid, GCW::Dbo::Invoices::Field::id, m_active, m_billing_id, m_billto_guid, m_billto_type, m_charge_amt_denom, m_charge_amt_num, m_currency, m_date_opened, m_date_posted, m_guid, m_id, m_notes, m_owner_guid, m_owner_type, m_post_acc, m_post_lot, m_post_txn, m_terms, GCW::Dbo::Invoices::Field::notes, GCW::Dbo::Invoices::Field::owner_guid, GCW::Dbo::Invoices::Field::owner_type, GCW::Dbo::Invoices::Field::post_acc, GCW::Dbo::Invoices::Field::post_lot, GCW::Dbo::Invoices::Field::post_txn, and GCW::Dbo::Invoices::Field::terms.
◆ m_active
int GCW::Dbo::Invoices::Item::m_active |
|
private |
◆ m_billing_id
std::string GCW::Dbo::Invoices::Item::m_billing_id |
|
private |
◆ m_billto_guid
std::string GCW::Dbo::Invoices::Item::m_billto_guid |
|
private |
◆ m_billto_type
int GCW::Dbo::Invoices::Item::m_billto_type |
|
private |
◆ m_charge_amt_denom
int GCW::Dbo::Invoices::Item::m_charge_amt_denom |
|
private |
◆ m_charge_amt_num
int GCW::Dbo::Invoices::Item::m_charge_amt_num |
|
private |
◆ m_currency
std::string GCW::Dbo::Invoices::Item::m_currency |
|
private |
◆ m_date_opened
std::string GCW::Dbo::Invoices::Item::m_date_opened |
|
private |
◆ m_date_posted
std::string GCW::Dbo::Invoices::Item::m_date_posted |
|
private |
◆ m_guid
std::string GCW::Dbo::Invoices::Item::m_guid |
|
private |
◆ m_id
std::string GCW::Dbo::Invoices::Item::m_id |
|
private |
◆ m_notes
std::string GCW::Dbo::Invoices::Item::m_notes |
|
private |
◆ m_owner_guid
std::string GCW::Dbo::Invoices::Item::m_owner_guid |
|
private |
◆ m_owner_type
int GCW::Dbo::Invoices::Item::m_owner_type |
|
private |
◆ m_post_acc
std::string GCW::Dbo::Invoices::Item::m_post_acc |
|
private |
◆ m_post_lot
std::string GCW::Dbo::Invoices::Item::m_post_lot |
|
private |
◆ m_post_txn
std::string GCW::Dbo::Invoices::Item::m_post_txn |
|
private |
◆ m_terms
std::string GCW::Dbo::Invoices::Item::m_terms |
|
private |
The documentation for this class was generated from the following file: