Every total item contains a Subtotal for a particular section, as defined by the invoice item. Also a member - volume, which may hold the total of any other object. Eg. A total of the call duration in seconds. We can have a TotalItem with only the SubTotal.
Definition at line 1006 of file invoice.h.
virtual void OSB_LIB::TotalItem::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.
std::string OSB_LIB::TotalItem::remark_ |