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: object

Represents 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_context

billing_context

contract_id

created

id

price_data

supplypoint_id

price_component

valid_range