Source code for bo4e.com.tarifpreis

"""
Contains Tarifpreis class
and corresponding marshmallow schema for de-/serialization
"""
from typing import Optional

from bo4e.com.preis import Preis
from bo4e.enum.preistyp import Preistyp

# pylint: disable=too-few-public-methods


[docs]class Tarifpreis(Preis): """ Abbildung eines Tarifpreises mit Preistyp und Beschreibung abgeleitet von COM Preis. .. raw:: html <object data="../_static/images/bo4e/com/Tarifpreis.svg" type="image/svg+xml"></object> .. HINT:: `Tarifpreis JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Tarifpreis.json>`_ """ # required attributes #: Angabe des Preistypes (z.B. Grundpreis) preistyp: Preistyp # optional attributes #: Beschreibung des Preises. Hier können z.B. Preisdetails angegeben sein, beispielsweise "Drehstromzähler". beschreibung: Optional[str] = None