preheat_open.supplypoint.AppliedPriceComponent
- class preheat_open.supplypoint.AppliedPriceComponent(id=None, supplypoint_id=None, price_component=<factory>, contract_id=None, created=None, valid_range=<factory>, billing_context='', application_context='', price_data=None)
Bases:
objectRepresents an applied price component.
- Variables:
id (int) – The unique identifier of the applied price component.
supplypoint_id (int) – The ID of the associated supply point.
price_component (PriceComponent) – The price component.
contract_id (int) – The ID of the associated contract.
created (datetime) – The creation datetime of the applied price component.
valid_range (DateRange) – The valid date range of the applied price component.
billing_context (str) – The billing context.
application_context (str) – The application context.
price_data (PriceData) – The price data.
- __init__(id=None, supplypoint_id=None, price_component=<factory>, contract_id=None, created=None, valid_range=<factory>, billing_context='', application_context='', price_data=None)
Methods
__init__([id, supplypoint_id, ...])Attributes
application_contextbilling_contextcontract_idcreatedidprice_datasupplypoint_idprice_componentvalid_range