TicketItemExtension
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาบรรทัดรายการสำหรับคำสั่งซื้อตั๋ว เช่น ภาพยนตร์ กีฬา ฯลฯ
ช่อง |
ticketEvent |
object (TicketEvent )
ต้องระบุ: กิจกรรมเชื่อมต่อกับตั๋วนี้
|
quantity |
number
จำนวนตั๋ว
|
tickets[] |
object (Ticket )
ข้อมูลตั๋ว
|
fulfillmentInfo |
object (TicketFulfillmentInfo )
วิธีการดำเนินการตามคำสั่งซื้อ เช่น วิธีการแสดงโฆษณา การคืนสินค้า (returnable) และอื่นๆ
|
returnInfo |
object (TicketReturnInfo )
ข้อมูลการคืนสินค้าของตั๋ว
|
ticketType |
string
ประเภทตั๋วสำหรับตั๋วทั้งหมดในรายการโฆษณานี้ เช่น ปกติ นักเรียน ซึ่งแตกต่างจากประเภทใบอนุญาตที่มี เนื่องจากมักจะไม่มีความแตกต่างระหว่างที่นั่งของนักเรียนกับที่นั่งที่ไม่ใช่นักเรียน เป็นต้น
|
TicketReturnInfo
ข้อมูลเกี่ยวกับวิธีส่งคืนตั๋ว
การแสดง JSON |
{
"isReturnable": boolean,
"policyUrl": string
} |
ช่อง |
isReturnable |
boolean
สามารถคืนตั๋วได้หรือไม่
|
policyUrl |
string
ลิงก์ไปยังนโยบายคืนสินค้า
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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. |"]]