Definition at line 980 of file invoice.h.
OSB_LIB::OnetimeChargeItem::OnetimeChargeItem | ( | const Section & | section, | |
const OnetimeCharge * | onetimeCharge | |||
) | [inline] |
virtual void OSB_LIB::OnetimeChargeItem::writeXml | ( | BillingXmlBase & | bXml | ) | const [inline, virtual] |
Function to call the appropriate xml writer for each specific invoice item.
This function is call by BillingXmlBase::writeInvoice when it browses through all invoice item and call billingXml funtion for each of them.
Below is the sample code on how each invoice item writeXml call it's xml writer function.
virtual void UsagerecordItem::writeXml(BillingXmlBase& bXml) const { dynamic_cast<BillingXml&>(bXml).writeUsagerecordItem(*this); }
bXml | Xml writer to use. |
Implements OSB_LIB::InvoiceItem.