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

Class CashierShift

                                  object --+            
                                           |            
                            Element'.Element --+        
                                               |        
IEC61970.Core.IdentifiedObject'.IdentifiedObject --+    
                                                   |    
                                        Shift'.Shift --+
                                                       |
                                                      CashierShift

The operating shift for a cashier, during which he may transact against the CashierShift, subject to VendorShift being open.

Instance Methods [hide private]
 
__init__(self, cashFloat=0.0, Receipts=None, Transactions=None, Cashier=None, PointOfSale=None, *args, **kw_args)
Initialises a new 'CashierShift' instance.
 
addReceipts(self, *Receipts)
 
addTransactions(self, *Transactions)
 
getCashier(self)
Cashier operating this shift.
 
getPointOfSale(self)
Point of sale that is in operation during this shift.
 
getReceipts(self)
All Receipts recorded for this Shift.
 
getTransactions(self)
 
removeReceipts(self, *Receipts)
 
removeTransactions(self, *Transactions)
 
setCashier(self, value)
 
setPointOfSale(self, value)
 
setReceipts(self, value)
 
setTransactions(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 = {'cashFloat': <type 'float'>}
  _attrs = ['cashFloat']
  _defaults = {'cashFloat': 0.0}
  _many_refs = ['Receipts', 'Transactions']
  _refs = ['Receipts', 'Transactions', 'Cashier', 'PointOfSale']

Inherited from Shift'.Shift: activityInterval

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Cashier
Cashier operating this shift.
  PointOfSale
Point of sale that is in operation during this shift.
  Receipts
All Receipts recorded for this Shift.
  Transactions

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, cashFloat=0.0, Receipts=None, Transactions=None, Cashier=None, PointOfSale=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'CashierShift' instance.

Parameters:
  • cashFloat - The amount of cash that the cashier brings with him to start his shift and that he will take away at the end of his shift; i.e. the cash float does not get banked.
  • Receipts - All Receipts recorded for this Shift.
  • Transactions
  • Cashier - Cashier operating this shift.
  • PointOfSale - Point of sale that is in operation during this shift.
Overrides: object.__init__

Property Details [hide private]

Cashier

Cashier operating this shift.

Get Method:
getCashier(self) - Cashier operating this shift.
Set Method:
setCashier(self, value)

PointOfSale

Point of sale that is in operation during this shift.

Get Method:
getPointOfSale(self) - Point of sale that is in operation during this shift.
Set Method:
setPointOfSale(self, value)

Receipts

All Receipts recorded for this Shift.

Get Method:
getReceipts(self) - All Receipts recorded for this Shift.
Set Method:
setReceipts(self, value)

Transactions

Get Method:
getTransactions(self)
Set Method:
setTransactions(self, value)