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

Class Due

      object --+    
               |    
Element'.Element --+
                   |
                  Due

Details on amounts due for an account.

Instance Methods [hide private]
 
__init__(self, interest=0.0, principle=0.0, arrears=0.0, current=0.0, charges=0.0, *args, **kw_args)
Initialises a new 'Due' instance.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'arrears': <type 'float'>, 'charges': <type 'fl...
  _attrs = ['interest', 'principle', 'arrears', 'current', 'char...
  _defaults = {'arrears': 0.0, 'charges': 0.0, 'current': 0.0, '...

Inherited from Element'.Element (private): _enums, _many_refs, _refs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, interest=0.0, principle=0.0, arrears=0.0, current=0.0, charges=0.0, *args, **kw_args)
(Constructor)

 

Initialises a new 'Due' instance.

Parameters:
  • interest - Part of 'current' that constitutes the interest portion.
  • principle - Part of 'current' that constitutes the portion of the principle amount currently due.
  • arrears - Part of 'current' that constitutes the arrears portion.
  • current - Current total amount now due: current = principle + arrears + interest + charges. Typically the rule for settlement priority is: interest dues, then arrears dues, then current dues, then charge dues.
  • charges - Part of 'current' that constitutes the charge portion: 'charges' = 'Charge.fixedPortion' + 'Charge.variablePortion'.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'arrears': <type 'float'>,
 'charges': <type 'float'>,
 'current': <type 'float'>,
 'interest': <type 'float'>,
 'principle': <type 'float'>}

_attrs

Value:
['interest', 'principle', 'arrears', 'current', 'charges']

_defaults

Value:
{'arrears': 0.0,
 'charges': 0.0,
 'current': 0.0,
 'interest': 0.0,
 'principle': 0.0}