Billing
The CommuniGate Pro Server can act as a Billing platform.
Each Account can have one or several Balances.
CommuniGate Pro modules and components can post charges and credits to these balances, make refunds, etc.
The current amount is maintained for each Balance, along with active reservations.
The log of all transactions is kept in the Account data files.
The Log format provides for easy backup and restore operations, and for simple Balance recovery after hardware failures.
The "default" or "generic" Balance uses an empty string as its name.
Monetary values (funds) are presented as 64-bit signed integer values.
|