Restrictions:
Definition at line 218 of file pricelist.h.
OSB_LIB::OnetimeChargeDef::OnetimeChargeDef | ( | ) | [inline] |
OSB_LIB::OnetimeChargeDef::OnetimeChargeDef | ( | const Oid & | oid, | |
const Decimal & | charge, | |||
const ChargeTraits::Oid & | ctId | |||
) | [inline] |
Definition at line 228 of file pricelist.h.
Decimal OSB_LIB::OnetimeChargeDef::charge | ( | ) | const [inline] |
const ChargeTraits::Oid& OSB_LIB::OnetimeChargeDef::ctId | ( | ) | const [inline] |
bool OSB_LIB::OnetimeChargeDef::insert | ( | const OSB_DB::Session & | session | ) |
Insert a one-time charge definition into the database.
session | Database session. |
const Oid& OSB_LIB::OnetimeChargeDef::oid | ( | ) | const [inline] |
Unique id of onetime charges definition.
Definition at line 249 of file pricelist.h.
References id_.
bool OSB_LIB::OnetimeChargeDef::operator< | ( | const Oid & | id | ) | const [inline] |
bool OSB_LIB::OnetimeChargeDef::operator< | ( | const OnetimeChargeDef & | rhs | ) | const [inline] |
bool OSB_LIB::OnetimeChargeDef::operator== | ( | const Oid & | id | ) | const [inline] |
bool OSB_LIB::OnetimeChargeDef::operator== | ( | const OnetimeChargeDef & | rhs | ) | const [inline] |
bool OSB_LIB::OnetimeChargeDef::read | ( | const OSB_DB::Session & | session | ) |
Read a one-time charge definition from the database.
session | Database session. |
void OSB_LIB::OnetimeChargeDef::setCharge | ( | const Decimal & | charge | ) |
Set the charges for onetime charge definition.
void OSB_LIB::OnetimeChargeDef::setChargeTraitsId | ( | const ChargeTraits::Oid & | ctId | ) |
Set the ChargeTraits id.
friend class OSB_DB::PricelistGw [friend] |
Decimal OSB_LIB::OnetimeChargeDef::charge_ [private] |
Oid OSB_LIB::OnetimeChargeDef::id_ [private] |
Unique id: database link.
Definition at line 282 of file pricelist.h.
Referenced by oid(), operator<(), and operator==().