Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
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
指向退货政策的链接。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-28。
[null,null,["最后更新时间 (UTC):2025-07-28。"],[[["\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. |"]]