from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_capped_discount_right_ref_structure_type import NameOfClassCappedDiscountRightRefStructureType
from .sale_discount_right_ref_structure import SaleDiscountRightRefStructure

__NAMESPACE__ = "http://www.netex.org.uk/netex"


@dataclass(slots=True, kw_only=True)
class CappedDiscountRightRefStructure(SaleDiscountRightRefStructure):
    name_of_ref_class: NameOfClassCappedDiscountRightRefStructureType = field(
        default=NameOfClassCappedDiscountRightRefStructureType.CAPPED_DISCOUNT_RIGHT,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )