preheat_open.supplypoint.PriceComponent
- class preheat_open.supplypoint.PriceComponent(id=None, name='', description='', created=None, type=None, unit='', format_type=None, application_type=None, unit_component_type=None, timezone=None, price_area=None, authority=None)
Bases:
objectRepresents a price component.
- Variables:
id (int) – The unique identifier of the price component.
name (str) – The name of the price component.
description (str) – The description of the price component.
created (datetime) – The creation datetime of the price component.
type (PriceComponentType) – The type of the price component.
unit (str) – The unit of the price component.
format_type (FormatType) – The format type of the price component.
application_type (ApplicationType) – The application type of the price component.
unit_component_type (Enum) – The unit component type of the price component.
timezone (tzinfo) – The timezone of the price component.
price_area (PriceArea) – The price area of the price component.
authority (Authority) – The authority of the price component.
- __init__(id=None, name='', description='', created=None, type=None, unit='', format_type=None, application_type=None, unit_component_type=None, timezone=None, price_area=None, authority=None)
Methods
__init__([id, name, description, created, ...])Attributes
application_typeauthoritycreateddescriptionformat_typeidnameprice_areatimezonetypeunitunit_component_type