Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tổ chức phát hành thẻ và vé
Công ty phát hành thẻ và vé là pháp nhân sở hữu thẻ và vé và chịu trách nhiệm cấp thẻ và vé cho hành khách của mình. Đó có thể là bạn, nhà phát triển hoặc
tổ chức mà bạn đại diện.
Để trở thành công ty phát hành thẻ và vé, trước tiên, bạn phải đăng ký làm Công ty phát hành thẻ.
Lớp thẻ lên máy bay
FlightClass có thể được coi là chuyến bay theo lịch. Nhà phát hành có thể tạo nhiều chuyến bay theo lịch với sự hoán vị của các tuyến đường và thời gian. Mỗi FlightClass đại diện cho một chuyến bay theo lịch có thể chứa giao diện và các trường dữ liệu riêng để đáp ứng các yêu cầu riêng cho từng sân bay.
Ngoài ra, bạn cũng có thể sử dụng FlightClass để bật các tính năng bổ sung như Chạm thông minh.
Đối tượng Thẻ lên máy bay
Đối tượng Thẻ lên máy bay là một thực thể của lớp Thẻ lên máy bay. Bạn cần tạo một thực thể FlightObject mới cho từng hành khách được phân phối cùng Thẻ lên máy bay.
Lớp vượt qua
Hạng Thẻ lên máy bay là một loại thẻ và vé. Lớp thẻ và vé mô tả thông tin chung cho các đối tượng thẻ và vé liên quan (chẳng hạn như kiểu và hình thức) và không cung cấp thông tin chi tiết về hành khách.
Sau đây là các loại thẻ và vé khác:
Thẻ khách hàng thân thiết
Vé xem sự kiện
Thẻ quà tặng
Ưu đãi
Thẻ đi phương tiện công cộng
Thẻ COVID
Truyền đối tượng
FlightObject là một loại đối tượng truyền. Giống như FlightObject, Đối tượng truyền là một thực thể của Lớp truyền tương ứng. Bạn cần tạo một đối tượng thẻ và vé cho từng hành khách được cấp Thẻ lên máy bay.
Đối tượng truyền dẫn chứa thông tin cụ thể về hành khách. Ví dụ: có thể dùng các đối tượng này để xác định rằng hành khách không chỉ có vé máy bay mà còn xác định chỗ ngồi trên chuyến bay họ đã được phân bổ.
Tài khoản dịch vụ
Tài khoản dịch vụ là danh tính dùng để gọi API Google Wallet.
Tài khoản dịch vụ này cần được cấp quyền truy cập vào API Google Wallet.
Khoá tài khoản dịch vụ
Khoá tài khoản dịch vụ là thông tin xác thực dùng để xác thực ứng dụng của bạn dưới dạng tài khoản dịch vụ. Khoá tài khoản dịch vụ có mức độ nhạy cảm cao và cần được giữ riêng tư. Nếu một bên thứ ba có quyền truy cập vào khoá tài khoản dịch vụ, thì bên đó có thể tự xác định mình là tài khoản dịch vụ và thực hiện các hành động mà tài khoản dịch vụ được phép thực hiện.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-09-04 UTC."],[[["\u003cp\u003eBoarding Passes are digital representations of flight tickets, containing passenger and flight-specific information like seat assignments and flight details, issued by registered entities called Issuers.\u003c/p\u003e\n"],["\u003cp\u003eIssuers create Boarding Pass Classes to define the general style, appearance, and data fields for a specific flight or route, like a template for individual Boarding Passes.\u003c/p\u003e\n"],["\u003cp\u003eA new Boarding Pass Object (an instance of a Boarding Pass Class) is generated for each passenger, holding their unique information within the framework of the Boarding Pass Class.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Wallet API integration requires a Service Account, an identity with granted access to the API, and a secure Service Account Key for authentication.\u003c/p\u003e\n"],["\u003cp\u003eBoarding Passes are part of a broader system of digital passes within Google Wallet, encompassing other types such as loyalty cards, event tickets, and gift cards.\u003c/p\u003e\n"]]],["A Pass Issuer, which could be a developer or organization, must register to issue passes. They create `FlightClasses` (scheduled flights) that define appearance and data. For each passenger, a `FlightObject` (instance of the `FlightClass`) is created, containing passenger-specific information. A `Pass Class` defines general pass details, while other pass types include loyalty cards and gift cards. A service account and its key are required for accessing the Google Wallet API. The key must be kept private.\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\nissuing passes to their passengers. This could be you, the developer, or the\norganization that you represent.\n\nIn order to become a passes issuer, you must first register as an Issuer.\n\nBoarding Pass class\n-------------------\n\nA `FlightClass` can be thought of as scheduled flight. An issuer can\ncreate multiple scheduled flights with permutation of routes and timings. Each\n`FlightClass` representing a scheduled flight can contain its own\nappearance and data fields to meet the airport-specific requirements.\n\nIn addition, a `FlightClass` can also be used to enable additional\nfeatures like Smart Tap.\n\nBoarding Pass object\n--------------------\n\nA Boarding Pass object is an instance of a Boarding Pass class. A new\n`FlightObject` instance needs to be created for each passenger that's\ndistributed with a Boarding Pass.\n\nPass Class\n----------\n\nA Boarding Pass class is a type of pass class. Pass classes describe general\ninformation for related pass objects (such as style and appearance), and don't\ninclude passenger details.\n\nOther types of pass classes include the following:\n\n- Loyalty cards\n- Event tickets\n- Gift cards\n- Offers\n- Transit passes\n- COVID cards\n\nPass Object\n-----------\n\nA `FlightObject` is a type of pass object. Like a\n`FlightObject`, a Pass Object is an instance of a corresponding pass\nClass. A pass object needs to be created for each passenger that's issued a\nBoarding Pass.\n\nPass objects contain passenger-specific information. For example, they can be\nused to identify that a passenger not only has a ticket for a flight, but also\nidentify which seat on the flight they've been allotted.\n\nService account\n---------------\n\nThe service account is the identity that's used to call the Google Wallet API.\nPermission to access the Google Wallet API needs to be granted to this service\naccount.\n\nService account key\n-------------------\n\nThe service account key is the credential used to authenticate your\napplication as the service account. The service account key is highly sensitive\nand needs to be kept private. If a third party has access to the service account\nkey, they can identify themselves as the service account and perform actions\nthat the service account is permitted to perform."]]