Restrictions:
Definition at line 259 of file subsfunc.h.
OSB_LIB::ChargeSubscription::ChargeSubscription | ( | ) | [inline] |
void OSB_LIB::ChargeSubscription::chargeProduct | ( | SubsCharges & | subsCharges, | |
const PersProduct & | persProduct, | |||
const Date & | periodStart, | |||
const Date & | periodEnd | |||
) |
Charge subscriptions for one personalized prodct.
subsCharges | Buffer for charges. | |
persProduct | Product to charge. | |
periodStart | Begin of charging period. | |
periodEnd | End of charging period(not included). |
SubsFuncBase* OSB_LIB::ChargeSubscription::getSubsFunc | ( | const Pricelist::Oid & | plId, | |
const Date & | refDate | |||
) | [private] |
Get the subscription function of a pricelist that is in effect at the reference date.
plId | Pricelist to search. | |
refDate | Reference date. |
SubsFuncBase* OSB_LIB::ChargeSubscription::mkSubsFunc | ( | const SubsFuncCfg & | ) |
Subscription function generator.
OsbException | in case of an invalid subscription function type. |
void OSB_LIB::ChargeSubscription::operator() | ( | const Contract & | co, | |
SubsCharges & | subsCharges, | |||
const Date & | periodStart, | |||
const Date & | periodEnd | |||
) |
Copy, destructor and assignment by compiler Charge subscription for one contract.
co | Contract to charge. | |
subsCharges | Subscription charges to use. | |
periodStart | Begin of charging period. | |
periodEnd | End of charging period (not included). |