交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
Ticket
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
欄位 |
ticketedSeat |
object (Seat )
座位資訊,例如:專區、列或座位編號。
|
ticketToken |
object (TicketToken )
票券符記,例如電子票券號碼、條碼或 QR code。
|
priceAttributes[] |
object (PriceAttribute )
單張票券價格、每張票券的小計等
|
TicketToken
JSON 表示法 |
{
"eTicketNumber": string,
"barCodeUrl": string
} |
欄位 |
eTicketNumber |
string
電子票券號碼。
|
barCodeUrl |
string
活動票券的條碼/QR code 網址。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]