Class Description
The record of details of payment for service or token sale.
Attributes
Name | Type | Description |
---|---|---|
diverseReference | String | Formal reference for use with diverse payment (traffic fine for example). |
donorReference | String | Reference to the entity that is the source of ‘amount’ (for example: customer for token purchase; or supplier for free issue token). |
kind | TransactionKind | Kind of transaction. |
line | LineDetail | Transaction amount, rounding, date and note for this transaction line. |
receiverReference | String | Reference to the entity that is the recipient of ‘amount’ (for example, supplier for service charge payment; or tax receiver for VAT). |
reversedId | String | (if ‘kind’ is transactionReversal) Reference to the original transaction that is being reversed by this transaction. |
serviceUnitsEnergy | RealEnergy | Actual amount of service units that is being paid for. |
serviceUnitsError | RealEnergy | Number of service units not reflected in ‘serviceUnitsEnergy’ due to process rounding or truncating errors. |
Relationships
Inherits from
Descendant classes
- No descendant classes
Leaf/Root class
IsLeaf | IsRoot |
---|---|
False | False |
Associations
Source Class | Cardinality Source | Target Class | Cardinality Target | Source Name | Source Assoc. Description | Target Name | Target Assoc. Description |
---|---|---|---|---|---|---|---|
UserAttribute | 0..* | Transaction | 0..1 | UserAttributes | All snapshots of meter parameters recorded at the time of this transaction. Use ‘name’ and ‘value.value’ attributes to specify name and value of a parameter from meter. | Transaction | Transaction for which this snapshot has been recorded. |
CustomerAccount | 0..1 | Transaction | 0..* | CustomerAccount | Customer account for this payment transaction. | PaymentTransactions | All payment transactions for this customer account. |
PricingStructure | 0..1 | Transaction | 0..* | PricingStructure | Pricing structure applicable for this transaction. | Transactions | All transactions applying this pricing structure. |
AuxiliaryAccount | 0..1 | Transaction | 0..* | AuxiliaryAccount | Auxiliary account for this payment transaction. | PaymentTransactions | All payments against this account. |
CashierShift | 0..1 | Transaction | 0..* | CashierShift | Cashier shift during which this transaction was recorded. | Transactions | All transactions recorded during this cashier shift. |
Receipt | 0..1 | Transaction | 1..* | Receipt | The receipted payment for which this transaction has been recorded. | Transactions | All transactions recorded for this receipted payment. |
Transaction | 0..* | Meter | 0..1 | VendingTransactions | All vending transactions on this meter. | Meter | Meter for this vending transaction. |
VendorShift | 0..1 | Transaction | 0..* | VendorShift | Vendor shift during which this transaction was recorded. | Transactions | All transactions recorded during this vendor shift. |