แนวคิดหลักและคำศัพท์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ผู้ออกบัตร
ผู้ออกบัตรคือบุคคลที่เป็นเจ้าของบัตรและมีหน้าที่รับผิดชอบในการออกบัตรให้แก่ลูกค้า ซึ่งอาจเป็นคุณ นักพัฒนาแอป หรือองค์กรที่คุณเป็นตัวแทน
คุณต้องลงทะเบียนเป็นผู้ออกบัตรก่อนจึงจะเป็นผู้ออกบัตรได้
ประเภทตั๋วเข้างาน
EventClass
อาจถือเป็นกิจกรรมที่กำหนดเวลาไว้ ผู้ออกบัตรสามารถสร้างกิจกรรมที่กำหนดเวลาหลายรายการโดยเปลี่ยนชื่อและเวลาของเหตุการณ์ได้
EventClass
แต่ละรายการที่แสดงถึงกิจกรรมที่กำหนดเวลาไว้อาจมีลักษณะที่ปรากฏและช่องข้อมูลของตนเองเพื่อให้เป็นไปตามข้อกําหนดเฉพาะสถานที่
นอกจากนี้ คุณยังใช้ EventClass
เพื่อเปิดใช้ฟีเจอร์เพิ่มเติม เช่น การแตะอัจฉริยะได้ด้วย
ออบเจ็กต์ตั๋วเข้างาน
ออบเจ็กต์ตั๋วเข้างานเป็นอินสแตนซ์ของ EventClass
คุณควรสร้างอินสแตนซ์ EventObject
ใหม่สำหรับลูกค้าแต่ละรายที่แจกจ่ายให้ตั๋วกิจกรรม
คลาสบัตร
EventClass
เป็นคลาสการใช้บัตรประเภทหนึ่ง Pass Class จะอธิบายข้อมูลทั่วไปเกี่ยวกับ Pass Object ที่เกี่ยวข้อง (เช่น สไตล์และลักษณะที่ปรากฏ) และไม่ระบุรายละเอียดของลูกค้า
ออบเจ็กต์การส่ง
EventObject
เป็นออบเจ็กต์ Pass ประเภทหนึ่ง ออบเจ็กต์ Pass เป็นอินสแตนซ์ของ Pass Class ที่เกี่ยวข้องเช่นเดียวกับ EventObjects
ควรสร้างออบเจ็กต์บัตรสำหรับลูกค้าแต่ละรายที่ออกตั๋วเข้างาน
Pass Object มีข้อมูลเฉพาะของลูกค้า เช่น สามารถใช้เพื่อระบุว่าลูกค้ามีเพียงตั๋วเข้างานเท่านั้น แต่ยังต้องระบุที่นั่งในกิจกรรมที่ลูกค้าได้รับการจัดสรรด้วย
บัญชีบริการ
บัญชีบริการเป็นข้อมูลประจำตัวที่ใช้เรียก Google Wallet API บัญชีบริการนี้ควรมีสิทธิ์เข้าถึง Passes API
คีย์บัญชีบริการ
คีย์บัญชีบริการคือข้อมูลเข้าสู่ระบบที่ใช้ในการตรวจสอบสิทธิ์แอปพลิเคชันของคุณว่าเป็นบัญชีบริการ คีย์บัญชีบริการควรถือว่ามีความละเอียดอ่อนสูงและเก็บรักษาไว้เป็นส่วนตัว หากบุคคลที่สามมีสิทธิ์เข้าถึงคีย์บัญชีบริการ ก็จะระบุตนเองว่าเป็นบัญชีบริการและดำเนินการต่างๆ ที่บัญชีบริการได้รับอนุญาตได้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eThe Passes issuer is the entity responsible for creating and distributing passes to customers, requiring prior registration.\u003c/p\u003e\n"],["\u003cp\u003eEvent Ticket Classes represent scheduled events, enabling customization for venue needs and features like Smart Tap.\u003c/p\u003e\n"],["\u003cp\u003eEvent Ticket Objects are individual instances of Event Ticket Classes, issued to each customer with specific ticket details.\u003c/p\u003e\n"],["\u003cp\u003ePass Objects and Classes function similarly, with Objects storing customer-specific information like seat assignments.\u003c/p\u003e\n"],["\u003cp\u003eA Service Account and its Key are essential for authenticating your application with the Google Wallet API and should be kept secure.\u003c/p\u003e\n"]]],["An Issuer, after registering, creates `EventClass` instances for scheduled events, defining their appearance and data. For each customer, an `EventObject` is generated as an instance of the `EventClass`, containing customer-specific details like seat allocation. `EventClass` is a type of Pass Class, and `EventObject` a Pass Object. A service account, granted access to the Passes API, is used to call the API, and a sensitive service account key authenticates applications as the service account.\n"],null,["# Key concepts and terminology\n\nPass Issuer\n-----------\n\nThe Passes issuer is the entity that owns the pass and is responsible for issuing passes to their customers. This could\nbe you, the developer, or the organization that you represent.\n\nIn order to become a Passes Issuer, you must first register as an Issuer.\n\nevent ticket class\n------------------\n\nA `EventClass` can be thought of as scheduled event. An issuer may create multiple scheduled events with permutation of event names and timings.\nEach `EventClass` representing a scheduled event may contain its own appearance and data fields to meet the venue-specific requirements.\n\nIn addition, `EventClass` can also be used to enable additional features like Smart Tap.\n\nevent ticket object\n-------------------\n\nA event ticket object is an instance of a `EventClass`. A new `EventObject` instance should be created for each customer\nthat is distributed with a event ticket.\n\nPass Class\n----------\n\nA `EventClass` is a type of Pass Class. Pass Classes describe general information for related Pass Objects (such as\nstyle and appearance), and do not include customer details.\n\nPass Object\n-----------\n\nA `EventObject` is a type of Pass Object. Like `EventObjects`, a Pass Object is an instance of a corresponding Pass\nClass. A Pass Object should be created for each customer that is issued a event ticket.\n\nPass Objects contains customer-specific information. For example, it can be used to identify that a customer not only\nhas a ticket for a event, but also identify which seat on the event they've been allotted.\n\nService account\n---------------\n\nThe service account is the identity that is used to call the Google Wallet API. Permission to access the Passes API should be\ngranted to this service account.\n\nService account key\n-------------------\n\nThe service account key is the credential used to authenticate your application as the service account. The service\naccount key should be considered highly sensitive and kept private. If a third party has access to the service account\nkey, they will be able to identify themselves as the service account and perform actions that the service account is\npermitted to perform."]]