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

Class Vendor

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

The entity that owns PointOfSale and contracts with Cashier to receipt payments and vend tokens using the payment system. Vendor has a private contract with and is managed by Merchant who is a type of Organisation. Vendor is accountable to Merchant for revenue collected, who is in turn accountable to Supplier.

Instance Methods [hide private]
 
__init__(self, PointOfSales=None, MerchantAccount=None, Cashiers=None, VendorShifts=None, *args, **kw_args)
Initialises a new 'Vendor' instance.
 
addCashiers(self, *Cashiers)
 
addPointOfSales(self, *PointOfSales)
 
addVendorShifts(self, *VendorShifts)
 
getCashiers(self)
All Cachiers managed by this Vendor.
 
getMerchantAccount(self)
Merchant account against which this vendor sells tokens or recept payments.
 
getPointOfSales(self)
All points of sale this Vendor controls.
 
getVendorShifts(self)
All vendor shifts opened and owned by this vendor.
 
removeCashiers(self, *Cashiers)
 
removePointOfSales(self, *PointOfSales)
 
removeVendorShifts(self, *VendorShifts)
 
setCashiers(self, value)
 
setMerchantAccount(self, value)
 
setPointOfSales(self, value)
 
setVendorShifts(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 = {}
  _attrs = []
  _defaults = {}
  _many_refs = ['PointOfSales', 'Cashiers', 'VendorShifts']
  _refs = ['PointOfSales', 'MerchantAccount', 'Cashiers', 'Vendo...

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Cashiers
All Cachiers managed by this Vendor.
  MerchantAccount
Merchant account against which this vendor sells tokens or recept payments.
  PointOfSales
All points of sale this Vendor controls.
  VendorShifts
All vendor shifts opened and owned by this vendor.

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, PointOfSales=None, MerchantAccount=None, Cashiers=None, VendorShifts=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Vendor' instance.

Parameters:
  • PointOfSales - All points of sale this Vendor controls.
  • MerchantAccount - Merchant account against which this vendor sells tokens or recept payments.
  • Cashiers - All Cachiers managed by this Vendor.
  • VendorShifts - All vendor shifts opened and owned by this vendor.
Overrides: object.__init__

Class Variable Details [hide private]

_refs

Value:
['PointOfSales', 'MerchantAccount', 'Cashiers', 'VendorShifts']

Property Details [hide private]

Cashiers

All Cachiers managed by this Vendor.

Get Method:
getCashiers(self) - All Cachiers managed by this Vendor.
Set Method:
setCashiers(self, value)

MerchantAccount

Merchant account against which this vendor sells tokens or recept payments.

Get Method:
getMerchantAccount(self) - Merchant account against which this vendor sells tokens or recept payments.
Set Method:
setMerchantAccount(self, value)

PointOfSales

All points of sale this Vendor controls.

Get Method:
getPointOfSales(self) - All points of sale this Vendor controls.
Set Method:
setPointOfSales(self, value)

VendorShifts

All vendor shifts opened and owned by this vendor.

Get Method:
getVendorShifts(self) - All vendor shifts opened and owned by this vendor.
Set Method:
setVendorShifts(self, value)