TicketItemExtension
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Содержимое позиции для заказов билетов, таких как кино, спорт и т. д.
Поля |
---|
ticketEvent | object ( TicketEvent ) Обязательно: событие, связанное с этим билетом. |
quantity | number Количество билетов. |
tickets[] | object ( Ticket ) Информация о билетах. |
fulfillmentInfo | object ( TicketFulfillmentInfo ) Метод выполнения, например, метод доставки, возврат и т. д. |
returnInfo | object ( TicketReturnInfo ) Обратная информация о билетах. |
ticketType | string Тип билета для всех билетов в этой строке, например, обычный, студенческий. Это отличается от типов мест, поскольку, например, обычно нет разницы между студенческими и нестуденческими местами. |
Информация о возврате билета
Информация о том, как вернуть билеты.
JSON-представление |
---|
{
"isReturnable": boolean,
"policyUrl": string
} |
Поля |
---|
isReturnable | boolean Возвратны ли билеты. |
policyUrl | string Ссылка на политику возврата. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[null,null,["Последнее обновление: 2025-07-29 UTC."],[[["\u003cp\u003e\u003ccode\u003eTicketReturnInfo\u003c/code\u003e provides details on the return policy and whether tickets are returnable.\u003c/p\u003e\n"],["\u003cp\u003eTickets are represented as line items containing information about the event, quantity, type, fulfillment, and return details.\u003c/p\u003e\n"],["\u003cp\u003eThe schema includes fields for event details, ticket quantity, individual ticket information, fulfillment information, return information, and ticket type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTicketReturnInfo\u003c/code\u003e includes a boolean indicating if the ticket is returnable and a URL linking to the return policy.\u003c/p\u003e\n"]]],[],null,["# TicketItemExtension\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TicketReturnInfo](#TicketReturnInfo)\n - [JSON representation](#TicketReturnInfo.SCHEMA_REPRESENTATION)\n\nLine item contents for ticket orders like movie, sports etc.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"ticketEvent\": { object (/assistant/transactions/reference/physical/rest/v3/Order#TicketEvent) }, \"quantity\": number, \"tickets\": [ { object (/assistant/transactions/reference/physical/rest/v3/Ticket) } ], \"fulfillmentInfo\": { object (/assistant/transactions/reference/physical/rest/v3/TicketFulfillmentInfo) }, \"returnInfo\": { object (/assistant/transactions/reference/physical/rest/v3/TicketItemExtension#TicketReturnInfo) }, \"ticketType\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ticketEvent` | `object (`[TicketEvent](/assistant/transactions/reference/physical/rest/v3/Order#TicketEvent)`)` Required: The event connected to this ticket. |\n| `quantity` | `number` Number of tickets. |\n| `tickets[]` | `object (`[Ticket](/assistant/transactions/reference/physical/rest/v3/Ticket)`)` Ticket info. |\n| `fulfillmentInfo` | `object (`[TicketFulfillmentInfo](/assistant/transactions/reference/physical/rest/v3/TicketFulfillmentInfo)`)` Fulfillment method, e.g. delivery method, returnable etc. |\n| `returnInfo` | `object (`[TicketReturnInfo](/assistant/transactions/reference/physical/rest/v3/TicketItemExtension#TicketReturnInfo)`)` The return information of the tickets. |\n| `ticketType` | `string` Ticket type for all tickets in this lineitem, e.g. regular, student. This is different from seat types because for example, there's usually no difference between student and non-student seats. |\n\nTicketReturnInfo\n----------------\n\nInformation about how to return tickets.\n\n| JSON representation ||\n|----------------------------------------------------------|---|\n| ``` { \"isReturnable\": boolean, \"policyUrl\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------|\n| `isReturnable` | `boolean` Whether tickets are returnable. |\n| `policyUrl` | `string` Link to the return policy. |"]]