主なコンセプトと用語
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
パス発行者
パス発行者とは、パスを所有し、
乗客にパスを発行していましたあなた、開発者、または
1 つだけです
パスの発行者になるには、まず発行者として登録する必要があります。
搭乗券クラス
FlightClass
は、スケジュールされたフライトと考えることができます。カード発行会社は
ルートと時間順を入れ替えて、複数のスケジュールされたフライトを作成する。各
スケジュールされたフライトを表す FlightClass
には、独自のフライトを指定できます。
空港固有の要件を満たすように変更します。
また、FlightClass
を使用して、追加の
スマートタップなどの機能を利用できます。
搭乗券オブジェクト
搭乗券オブジェクトは、搭乗券クラスのインスタンスです。新しい
同乗者ごとに FlightObject
インスタンスを作成する必要があります。
搭乗券と一緒に配布されます
パスクラス
搭乗券クラスはパスクラスの一種です。パスクラスでは、一般的な
関連するパス オブジェクトの情報(スタイルや外観など)が保持されます。
乗客の詳細を含める
他の種類のパスクラスには、次のようなものがあります。
- ポイントカード
- イベント チケット
- ギフトカード
- オファー
- 交通機関のパス
- COVID Card
パス オブジェクト
FlightObject
はパス オブジェクトの一種です。たとえば、
FlightObject
: パス オブジェクトは、対応するパスのインスタンスです。
クラス。パス オブジェクトは、搭乗者ごとに
搭乗券。
パス オブジェクトには乗客固有の情報が含まれています。たとえば、
乗客がフライトのチケットを持っていることだけでなく、
割り当てられたフライトの座席を確認します
サービス アカウント
サービス アカウントは、Google Wallet API の呼び出しに使用される ID です。
このサービスには、Google Wallet API へのアクセス権限を付与する必要があります
あります。
サービス アカウント キー
サービス アカウント キーは、サービス アカウントの
サービス アカウントとして使用します。サービス アカウント キーは非常に機密性が高い
非公開にする必要があります。サードパーティがサービス アカウントにアクセスできる場合
サービス アカウントとして識別され、アクションを実行できます。
許可する権限を制限できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[null,null,["最終更新日 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."]]