OSB_LIB::AdvanceCharge Struct Reference

Collaboration diagram for OSB_LIB::AdvanceCharge:

Collaboration graph
List of all members.

Detailed Description

Structure for advance charges.

AdvanceCharge holds charges that are computed by the billing engine and are invoiced in advance. This is typically the case for monthly subscription fees. These charges need to be treated specially because they are charged based on the assumption that no invoice relevant change will take place during the next billing period. If this assumption is later found to be wrong, e.g., because the subscriber canceled his subscription in the middle of the month, then the difference between the charge invoiced in advance and the real cost must be refunded on the next invoice.

Definition at line 160 of file balancesheet.h.

Public Types

Public Member Functions

Public Attributes

Member Typedef Documentation

typedef Id<AdvanceCharge> OSB_LIB::AdvanceCharge::Oid

Object id type.

Definition at line 162 of file balancesheet.h.

Constructor & Destructor Documentation

OSB_LIB::AdvanceCharge::AdvanceCharge (  )  [inline]

g++-3.1 bug: default constructor needed!?

Definition at line 186 of file balancesheet.h.

Member Data Documentation

Decimal OSB_LIB::AdvanceCharge::amount

Amount of the advance charge.

Definition at line 173 of file balancesheet.h.

DateTime OSB_LIB::AdvanceCharge::assigned

Timestamp when the charge was raised.

Definition at line 181 of file balancesheet.h.

ChargeTraits::Oid OSB_LIB::AdvanceCharge::chargeTraitsId

Charge traits of the advance charge.

Definition at line 175 of file balancesheet.h.

Oid OSB_LIB::AdvanceCharge::oid

Object id.

Definition at line 165 of file balancesheet.h.

Id<BsPage> OSB_LIB::AdvanceCharge::pageId

Id of the balance page.

Definition at line 167 of file balancesheet.h.

Date OSB_LIB::AdvanceCharge::periodEnd

End date of the advance charge period (exclusive).

Definition at line 179 of file balancesheet.h.

Date OSB_LIB::AdvanceCharge::periodStart

Start date of the advance charge period (inclusive).

Definition at line 177 of file balancesheet.h.

PersProduct::Oid OSB_LIB::AdvanceCharge::persProductId

Id of the personalised product.

Definition at line 169 of file balancesheet.h.

ProductNode::Oid OSB_LIB::AdvanceCharge::productNodeId

Id of the product node.

Definition at line 171 of file balancesheet.h.

std::string OSB_LIB::AdvanceCharge::remark


Definition at line 183 of file balancesheet.h.

The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:09:27 2006 for OSB Library by  doxygen 1.4.7