Data classes holding relevant billing information for amounts or charges other than the actual value.
Definition at line 83 of file chargetraits.h.
typedef CmStatus OSB_LIB::CtBase::CheckMask[cm_lastAttribute] |
Definition at line 99 of file chargetraits.h.
typedef Id<CtBase> OSB_LIB::CtBase::Oid |
cm_currency | |
cm_roundRule | |
cm_accountCode | |
cm_numberFormat | |
cm_chargeType | |
cm_taxkey | |
cm_taxIdVs | |
cm_lastAttribute |
Definition at line 96 of file chargetraits.h.
A check mask controls which attributes of a charge traits related object are available.
ToDo: Do we also need a status 'required' or 'optional'?
Definition at line 95 of file chargetraits.h.
virtual OSB_LIB::CtBase::~CtBase | ( | ) | [pure virtual] |
Pure virtual destructor.
CmStatus OSB_LIB::CtBase::checkMask | ( | CmAttribute | a | ) | const |
const Currency::Oid& OSB_LIB::CtBase::currency | ( | ) | const |
bool OSB_LIB::CtBase::match | ( | const CtBase & | rhs | ) | const [protected] |
Compare by attributes.
rhs | Traits to compare with. |
std::string OSB_LIB::CtBase::numberFormat | ( | ) | const |
const Oid& OSB_LIB::CtBase::oid | ( | ) | const |
Compare two traits and set check mask.
'Add' two CtBase by 'greying' all entries which:
void OSB_LIB::CtBase::setCurrency | ( | const Currency::Oid & | ) |
void OSB_LIB::CtBase::setNumberFormat | ( | const std::string & | ) |
friend class ChargeTraitsList [friend] |
Definition at line 90 of file chargetraits.h.
friend class OSB_DB::ChargeTraitsGw [friend] |
Allow ChargeTraitsGw and ChargeTraitsList to access oid_. This is the only reason to make ChargeTraitsGw and ChargeTraitsList as a friend.
Definition at line 89 of file chargetraits.h.
Id<Account> OSB_LIB::CtBase::accountCode_ [protected] |
An account key to determine the GL account for book-keeping.
Definition at line 161 of file chargetraits.h.
CheckMask OSB_LIB::CtBase::checkMask_ [protected] |
A check mask field which indicates the relevant fields of a particular charge traits.
Definition at line 168 of file chargetraits.h.
Currency::Oid OSB_LIB::CtBase::currency_ [protected] |
std::string OSB_LIB::CtBase::numberFormat_ [protected] |
Oid OSB_LIB::CtBase::oid_ [protected] |
Id<RoundRule> OSB_LIB::CtBase::roundRule_ [protected] |