Changes

Jump to: navigation, search

stoney core: OpenLDAP directory data organisation

51 bytes added, 12:52, 21 July 2021
/* Billing */
=== Billing ===
The sub tree '''<code>ou=billing,ou=administration,dc=stoney-cloud,dc=org''' </code> stores all the billing relevant data. Each billable item (bundle, service or service item) is stored in this sub tree. <source lang='ldif'>dn: ou=billing,ou=administration,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: billing</source>
The following LDIF extract shows the billing schema for the product "Mail Account".
<source lang='ldif'>dn: uid=100001,ou=billing,ou=administration,dc=stoney-cloud,dc=org description: Default pricing schema for the product Mail Account. objectclass: top objectclass: sstBillingPriceSchema sstbaseprice: 0 sstbelongstouid: 1 sstbillingunit: Gigabyte sstfreeunit: 0 sstpriceformula: sstPricePerUnit * sstQuota sstpriceperunit: 4.00 sstproductname: Mail Account uid: 100001 sstBelongsToUID: 1</source>
The finale price is calculated with the help of the stored formula (sstPriceFormula). The customer price for a "Mail Account" with a 2 Gigabyte large mailbox (quota) is calculated as follows:
3,368
edits