Definition at line 262 of file chargetraits.h.
OSB_LIB::ChargeTraits::~ChargeTraits | ( | ) | [inline] |
ChargeType OSB_LIB::ChargeTraits::chargeType | ( | ) | const [inline] |
bool OSB_LIB::ChargeTraits::insert | ( | const OSB_DB::Session & | session | ) |
Insert a charge traits to the database.
session | Database session to use, transactions are not commited. |
OsbException | As specified by the gateway class. |
bool OSB_LIB::ChargeTraits::match | ( | const ChargeTraits & | rhs | ) | const |
Compare by attributes.
rhs | Traits to compare with. |
ChargeTraits& OSB_LIB::ChargeTraits::operator &= | ( | const ChargeTraits & | ) |
Compare two traits and set check mask.
'Add' two charge traits by 'greying' all entries which:
bool OSB_LIB::ChargeTraits::remove | ( | const OSB_DB::Session & | session | ) |
Remove a charge traits from the database.
session | Database session to use, transactions are not commited. |
OsbException | As specified by the gateway class. |
void OSB_LIB::ChargeTraits::setChargeType | ( | const ChargeType & | ) |
void OSB_LIB::ChargeTraits::setTaxkey | ( | const TaxKey::Oid & | ) |
TaxKey::Oid OSB_LIB::ChargeTraits::taxkey | ( | ) | const [inline] |
ChargeType OSB_LIB::ChargeTraits::chargeType_ [private] |
A charge type, which indicates if the original (precise) value of an amount is a gross or net amount.
Definition at line 327 of file chargetraits.h.
Referenced by chargeType().
TaxKey::Oid OSB_LIB::ChargeTraits::taxkey_ [private] |
A tax key, which together with the associate and contract tax keys is used to determine the applicable taxes.
Definition at line 333 of file chargetraits.h.
Referenced by taxkey().