from __future__ import annotations
from dataclasses import dataclass, field
from .fulfilment_method_prices_rel_structure import FulfilmentMethodPricesRelStructure
from .fulfilment_method_type_enumeration import FulfilmentMethodTypeEnumeration
from .priceable_object_version_structure import PriceableObjectVersionStructure
from .type_of_travel_document_refs_rel_structure import TypeOfTravelDocumentRefsRelStructure

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


@dataclass(slots=True, kw_only=True)
class FulfilmentMethodVersionStructure(PriceableObjectVersionStructure):
    class Meta:
        name = "FulfilmentMethod_VersionStructure"

    fulfilment_method_type: None | FulfilmentMethodTypeEnumeration = field(
        default=None,
        metadata={
            "name": "FulfilmentMethodType",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    requires_card: None | bool = field(
        default=None,
        metadata={
            "name": "RequiresCard",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    requires_booking_reference: None | bool = field(
        default=None,
        metadata={
            "name": "RequiresBookingReference",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    types_of_travel_document: None | TypeOfTravelDocumentRefsRelStructure = field(
        default=None,
        metadata={
            "name": "typesOfTravelDocument",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    prices: None | FulfilmentMethodPricesRelStructure = field(
        default=None,
        metadata={
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )