Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
Ticket
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
字段 |
ticketedSeat |
object (Seat )
座位信息,例如区号、排号或座位号。
|
ticketToken |
object (TicketToken )
票券令牌,例如电子票号、条形码或二维码。
|
priceAttributes[] |
object (PriceAttribute )
每张门票的价格、每张门票的小计等。
|
TicketToken
JSON 表示法 |
{
"eTicketNumber": string,
"barCodeUrl": string
} |
字段 |
eTicketNumber |
string
电子票号。
|
barCodeUrl |
string
活动门票的条形码/二维码网址。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe \u003ccode\u003eTicket\u003c/code\u003e object provides comprehensive information about event tickets, including seat details, ticket tokens, and pricing attributes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTicketToken\u003c/code\u003e is a sub-object within \u003ccode\u003eTicket\u003c/code\u003e and contains unique identifiers like e-ticket numbers and bar/QR code URLs for individual tickets.\u003c/p\u003e\n"],["\u003cp\u003eTicket information is structured with \u003ccode\u003eticketedSeat\u003c/code\u003e, \u003ccode\u003eticketToken\u003c/code\u003e, and \u003ccode\u003epriceAttributes\u003c/code\u003e for seat details, unique identifiers, and pricing breakdowns, respectively.\u003c/p\u003e\n"]]],[],null,["# Ticket\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TicketToken](#TicketToken)\n - [JSON representation](#TicketToken.SCHEMA_REPRESENTATION)\n\nInformation about the ticket.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"ticketedSeat\": { object (/assistant/transactions/reference/physical/rest/v3/Seat) }, \"ticketToken\": { object (/assistant/transactions/reference/physical/rest/v3/Ticket#TicketToken) }, \"priceAttributes\": [ { object (/assistant/transactions/reference/physical/rest/v3/Order#PriceAttribute) } ] } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ticketedSeat` | `object (`[Seat](/assistant/transactions/reference/physical/rest/v3/Seat)`)` Seat information, e.g. section, row or seat number. |\n| `ticketToken` | `object (`[TicketToken](/assistant/transactions/reference/physical/rest/v3/Ticket#TicketToken)`)` Ticket tokens, e.g. e-ticket number, bar code or QR code. |\n| `priceAttributes[]` | `object (`[PriceAttribute](/assistant/transactions/reference/physical/rest/v3/Order#PriceAttribute)`)` Price per ticket, subtotal per ticket, etc. |\n\nTicketToken\n-----------\n\nUnique token to identify a ticket.\n\n| JSON representation ||\n|-----------------------------------------------------------|---|\n| ``` { \"eTicketNumber\": string, \"barCodeUrl\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------|\n| `eTicketNumber` | `string` Electronic ticket number. |\n| `barCodeUrl` | `string` URL of the bar/QR code of the event ticket. |"]]