主なコンセプトと用語
パス発行者
パス発行者とは、パスを所有し、
乗客にパスを発行していましたあなた、開発者、または
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-03-11 UTC。
[null,null,["最終更新日 2025-03-11 UTC。"],[[["Boarding 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."],["Issuers 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."],["A 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."],["Google Wallet API integration requires a Service Account, an identity with granted access to the API, and a secure Service Account Key for authentication."],["Boarding 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."]]],["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"]]