Transaction
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
Ancestors
Descendents
No descendent classes
Associations
Source Class | Source Cardinality | Target | Target Cardinality | Source Name | Source Assoc. Description | Target Name | Target Assoc. Description |
---|---|---|---|---|---|---|---|
Transaction | 0..* | Meter | 0..1 | VendingTransactions | All vending transactions on this meter. | Meter | Meter for this vending transaction. |
Transaction | 0..* | VendorShift | 0..1 | Transactions | All transactions recorded during this vendor shift. | VendorShift | Vendor shift during which this transaction was recorded. |
Transaction | 1..* | Receipt | 0..1 | Transactions | All transactions recorded for this receipted payment. | Receipt | The receipted payment for which this transaction has been recorded. |
Transaction | 0..* | CashierShift | 0..1 | Transactions | All transactions recorded during this cashier shift. | CashierShift | Cashier shift during which this transaction was recorded. |
Transaction | 0..* | AuxiliaryAccount | 0..1 | PaymentTransactions | All payments against this account. | AuxiliaryAccount | Auxiliary account for this payment transaction. |
Transaction | 0..* | PricingStructure | 0..1 | Transactions | All transactions applying this pricing structure. | PricingStructure | Pricing structure applicable for this transaction. |
Transaction | 0..* | CustomerAccount | 0..1 | PaymentTransactions | All payment transactions for this customer account. | CustomerAccount | Customer account for this payment transaction. |
Transaction | 0..1 | UserAttribute | 0..* | Transaction | Transaction for which this snapshot has been recorded. | 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. |