# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional

from pydantic import Field as FieldInfo

from ...._models import BaseModel
from .carts.currency_object import CurrencyObject

__all__ = ["TicketProtectionSummary"]


class TicketProtectionSummary(BaseModel):
    api_type: Optional[str] = FieldInfo(alias="_type", default=None)
    """object name (non-null, const)"""

    description: Optional[str] = None
    """TicketProtectionPlan description"""

    eligibility_expiration: Optional[str] = FieldInfo(alias="eligibilityExpiration", default=None)
    """DateTime when the Ticket Protection is still eligible for redemption"""

    name: Optional[str] = None
    """Ticket Protection"""

    price: Optional[CurrencyObject] = None

    promotional_label: Optional[str] = FieldInfo(alias="promotionalLabel", default=None)
    """
    The promotional label of the TicketProtectionPlan Used to promote something
    unique about this plan (e.g. Rewards or a limited-time campaign).
    """

    short_description: Optional[str] = FieldInfo(alias="shortDescription", default=None)
    """TicketProtectionPlan shortDescription"""
