Source code for bo4e.com.preisgarantie

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

from bo4e.com.com import COM
from bo4e.com.zeitraum import Zeitraum
from bo4e.enum.preisgarantietyp import Preisgarantietyp

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


[docs]class Preisgarantie(COM): """ Definition für eine Preisgarantie mit der Möglichkeit verschiedener Ausprägungen. .. raw:: html <object data="../_static/images/bo4e/com/Preisgarantie.svg" type="image/svg+xml"></object> .. HINT:: `Preisgarantie JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Preisgarantie.json>`_ """ # required attributes #: Festlegung, auf welche Preisbestandteile die Garantie gewährt wird. preisgarantietyp: Preisgarantietyp zeitliche_gueltigkeit: Zeitraum """ Zeitraum, bis zu dem die Preisgarantie gilt, z.B. bis zu einem absolutem / fixem Datum oder als Laufzeit in Monaten. """ # optionale attributes #: Freitext zur Beschreibung der Preisgarantie. beschreibung: Optional[str] = None