Package CIM14 :: Package IEC61968 :: Package PaymentMetering :: Module Receipt' :: Class Receipt
[hide private]
[frames] | no frames]

Class Receipt

                                  object --+        
                                           |        
                            Element'.Element --+    
                                               |    
IEC61970.Core.IdentifiedObject'.IdentifiedObject --+
                                                   |
                                                  Receipt

Record of total receipted payment from customer.

Instance Methods [hide private]
 
__init__(self, isBankable=False, CashierShift=None, Tenders=None, VendorShift=None, Transactions=None, line=None, *args, **kw_args)
Initialises a new 'Receipt' instance.
 
addTenders(self, *Tenders)
 
addTransactions(self, *Transactions)
 
getCashierShift(self)
Cashier shift during which this receipt was recorded.
 
getTenders(self)
All payments received in the form of tenders recorded by this receipt.
 
getTransactions(self)
All transactions recorded for this receipted payment.
 
getVendorShift(self)
Vendor shift during which this receipt was recorded.
 
removeTenders(self, *Tenders)
 
removeTransactions(self, *Transactions)
 
setCashierShift(self, value)
 
setTenders(self, value)
 
setTransactions(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__

Class Variables [hide private]
  _attr_types = {'isBankable': <type 'bool'>}
  _attrs = ['isBankable']
  _defaults = {'isBankable': False}
  _many_refs = ['Tenders', 'Transactions']
  _refs = ['CashierShift', 'Tenders', 'VendorShift', 'Transactio...
  line = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  CashierShift
Cashier shift during which this receipt was recorded.
  Tenders
All payments received in the form of tenders recorded by this receipt.
  Transactions
All transactions recorded for this receipted payment.
  VendorShift
Vendor shift during which this receipt was recorded.

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, isBankable=False, CashierShift=None, Tenders=None, VendorShift=None, Transactions=None, line=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Receipt' instance.

Parameters:
  • isBankable - True if this receipted payment is manually bankable, otherwise it is an electronic funds transfer.
  • CashierShift - Cashier shift during which this receipt was recorded.
  • Tenders - All payments received in the form of tenders recorded by this receipt.
  • VendorShift - Vendor shift during which this receipt was recorded.
  • Transactions - All transactions recorded for this receipted payment.
  • line - Receipted amount with rounding, date and note.
Overrides: object.__init__

Class Variable Details [hide private]

_refs

Value:
['CashierShift', 'Tenders', 'VendorShift', 'Transactions', 'line']

Property Details [hide private]

CashierShift

Cashier shift during which this receipt was recorded.

Get Method:
getCashierShift(self) - Cashier shift during which this receipt was recorded.
Set Method:
setCashierShift(self, value)

Tenders

All payments received in the form of tenders recorded by this receipt.

Get Method:
getTenders(self) - All payments received in the form of tenders recorded by this receipt.
Set Method:
setTenders(self, value)

Transactions

All transactions recorded for this receipted payment.

Get Method:
getTransactions(self) - All transactions recorded for this receipted payment.
Set Method:
setTransactions(self, value)

VendorShift

Vendor shift during which this receipt was recorded.

Get Method:
getVendorShift(self) - Vendor shift during which this receipt was recorded.
Set Method:
setVendorShift(self, value)