Definition at line 97 of file subsfunc.h.
OSB_LIB::SubsChargeList::SubsChargeList | ( | const PersProduct::Oid & | ppId, | |
const ProductNode::Oid & | pNodeId, | |||
const Date & | billedFrom, | |||
const Date & | billedTo, | |||
const Date & | chargedFrom, | |||
const Date & | chargedTo | |||
) | [inline] |
Definition at line 99 of file subsfunc.h.
const Date& OSB_LIB::SubsChargeList::billedFrom | ( | ) | const [inline] |
const Date& OSB_LIB::SubsChargeList::billedTo | ( | ) | const [inline] |
const Date& OSB_LIB::SubsChargeList::chargedFrom | ( | ) | const [inline] |
const Date& OSB_LIB::SubsChargeList::chargedTo | ( | ) | const [inline] |
SubsCharge& OSB_LIB::SubsChargeList::newSubsCharge | ( | const SubsFuncCfg & | cfg, | |
const SubsChargeDef & | scd, | |||
const bool | flag = true | |||
) |
Adds a new SubsCharge into SubsCharge list.
Calls setBaseSubsCharge with function arguments. The flag indicates if the setBaseSubsCharge function needs to be called in the newSubsCharge. The setBaseSubsCharge is called by default. Returns a reference to the SubsCharge just added.
cfg | Subscription function configuration. | |
scd | Subscription charge definition. | |
flag | Flag to call setBaseSubsCharge. |
void OSB_LIB::SubsChargeList::setBaseSubsCharge | ( | SubsCharge & | sc, | |
const SubsFuncCfg & | cfg, | |||
const SubsChargeDef & | scd | |||
) |
Populates SubsCharge members which form the basis for calculation of the actual subscription charge. The data is taken from the SubsFuncCfg and SubsChargeDef.
sc | Buffer for subscription charge. | |
cfg | Subscription function configuration. | |
scd | Subscription charge definition. |
SubsCharges& OSB_LIB::SubsChargeList::subsCharges | ( | ) | [inline] |
Return list of subscription charges.
Definition at line 153 of file subsfunc.h.
References subsCharges_.
const Date& OSB_LIB::SubsChargeList::billedFrom_ [private] |
const Date& OSB_LIB::SubsChargeList::billedTo_ [private] |
const Date& OSB_LIB::SubsChargeList::chargedFrom_ [private] |
const Date& OSB_LIB::SubsChargeList::chargedTo_ [private] |
const PersProduct::Oid& OSB_LIB::SubsChargeList::persProductId_ [private] |
const ProductNode::Oid& OSB_LIB::SubsChargeList::productNodeId_ [private] |
list of generated subscription charges
Definition at line 165 of file subsfunc.h.
Referenced by subsCharges().