from __future__ import annotations
from dataclasses import dataclass, field
from .fare_product_ref_structure import FareProductRefStructure
from .name_of_class_usage_discount_right_ref_structure_type import NameOfClassUsageDiscountRightRefStructureType

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


@dataclass(slots=True, kw_only=True)
class UsageDiscountRightRefStructure(FareProductRefStructure):
    name_of_ref_class: NameOfClassUsageDiscountRightRefStructureType = field(
        default=NameOfClassUsageDiscountRightRefStructureType.USAGE_DISCOUNT_RIGHT,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )