3 maja 2023 roku wycofamy interfejs Transakcje (przed 13 czerwca 2023 r. wycofujemy funkcje Conversational Actions). Więcej informacji znajdziesz w artykule
Wycofanie czynności konwersacyjnych.
TicketItemExtension
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Treść elementów zamówienia dla zamówień biletów, np. na filmy, wydarzenia sportowe itp.
Pola |
ticketEvent |
object (TicketEvent )
Wymagane: wydarzenie powiązane z tym biletem.
|
quantity |
number
Liczba biletów.
|
tickets[] |
object (Ticket )
Informacje o biletach.
|
fulfillmentInfo |
object (TicketFulfillmentInfo )
Metoda realizacji, np. metoda dostawy, możliwość zwrotu itp.
|
returnInfo |
object (TicketReturnInfo )
informacje o zwrotach biletów.
|
ticketType |
string
Typ biletu dla wszystkich biletów w tym elemencie zamówienia, np. zwykła, studentka. Różni się to od typów miejsc na przykład tym, że zwykle nie ma różnicy między liczbą miejsc dla uczniów i studentów.
|
TicketReturnInfo
Informacje o tym, jak zwrócić bilety.
Zapis JSON |
{
"isReturnable": boolean,
"policyUrl": string
} |
Pola |
isReturnable |
boolean
Określa, czy bilety można zwrócić.
|
policyUrl |
string
Link do zasad zwrotów.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-28 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-28 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. |"]]