The record of details of payment for service or token sale.
|
|
__init__(self,
kind='diversePayment',
serviceUnitsEnergy=0.0,
diverseReference='',
receiverReference='',
donorReference='',
serviceUnitsError=0.0,
reversedId='',
PricingStructure=None,
UserAttributes=None,
CustomerAccount=None,
CashierShift=None,
VendorShift=None,
MeterAsset=None,
AuxiliaryAccount=None,
line=None,
Receipt=None,
*args,
**kw_args)
Initialises a new 'Transaction' instance. |
|
|
|
|
| addUserAttributes(self,
*UserAttributes) |
|
|
|
|
getAuxiliaryAccount(self)
Auxiliary account for this payment transaction. |
|
|
|
|
getCashierShift(self)
Cashier shift during which this transaction was recorded. |
|
|
|
|
getCustomerAccount(self)
Customer account for this payment transaction. |
|
|
|
|
getMeterAsset(self)
Meter asset for this vending transaction. |
|
|
|
|
getPricingStructure(self)
Pricing structure applicable for this transaction. |
|
|
|
|
getReceipt(self)
The receipted payment for which this transaction has been recorded. |
|
|
|
|
getUserAttributes(self)
All snapshots of meter parameters recorded at the time of this
transaction. |
|
|
|
|
getVendorShift(self)
Vendor shift during which this transaction was recorded. |
|
|
|
|
| removeUserAttributes(self,
*UserAttributes) |
|
|
|
|
| setAuxiliaryAccount(self,
value) |
|
|
|
|
| setCashierShift(self,
value) |
|
|
|
|
| setCustomerAccount(self,
value) |
|
|
|
|
| setMeterAsset(self,
value) |
|
|
|
|
| setPricingStructure(self,
value) |
|
|
|
|
|
|
|
| setUserAttributes(self,
value) |
|
|
|
|
| setVendorShift(self,
value) |
|
|
|
Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject:
getModelingAuthoritySet,
setModelingAuthoritySet
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_attr_types = {'diverseReference': <type 'str'>, 'donorReferen...
|
|
|
_attrs = ['kind', 'serviceUnitsEnergy', 'diverseReference', 'r...
|
|
|
_defaults = {'diverseReference': '', 'donorReference': '', 'ki...
|
|
|
_enums = {'kind': 'TransactionKind'}
|
|
|
_many_refs = ['UserAttributes']
|
|
|
_refs = ['PricingStructure', 'UserAttributes', 'CustomerAccoun...
|
|
|
line = None
|