ב-3 במאי 2023 נוציא משימוש את Transactions API, לפני ההוצאה משימוש של Conversations Actions ב-13 ביוני 2023.
כאן תוכלו לקרוא מידע נוסף על ההוצאה משימוש של 'פעולות שיחה'.
TicketItemExtension
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תוכן הפריטים בהזמנות כרטיסים כמו סרט, ספורט וכו'
שדות |
ticketEvent |
object (TicketEvent )
חובה: האירוע שמקושר לכרטיס הזה.
|
quantity |
number
מספר הכרטיסים.
|
tickets[] |
object (Ticket )
מידע על הכרטיס
|
fulfillmentInfo |
object (TicketFulfillmentInfo )
שיטת מילוי ההזמנות, למשל שיטת משלוח, מוצרים להחזרה וכו'.
|
returnInfo |
object (TicketReturnInfo )
פרטי ההחזרה של הכרטיסים.
|
ticketType |
string
סוג הכרטיס לכל הכרטיסים בפריט הזה, לדוגמה: רגיל, סטודנט. הנתון הזה שונה מסוגי העמדות, כי לדוגמה, בדרך כלל אין הבדל בין מושבי סטודנטים למושבים של סטודנטים.
|
TicketReturnInfo
ייצוג JSON |
{
"isReturnable": boolean,
"policyUrl": string
} |
שדות |
isReturnable |
boolean
האם אפשר להחזיר את הכרטיסים.
|
policyUrl |
string
קישור למדיניות החזרת המוצרים.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-28 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]