如要在 Android 應用程式中核發票證,建議使用 Google 錢包 Android SDK。SDK 提供多種便利的方法,方便您使用原生程式碼將 Google Wallet API 整合至行動應用程式。
注意:透過 Google Wallet API 核發票證不需要使用 Google Wallet REST API 或 Google Wallet Android SDK,但強烈建議使用。如要進一步瞭解如何在不使用 REST API 或 Android SDK 的情況下核發票證,請參閱在 JWT 中建立票證物件和票證類別一文。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-03-11 (世界標準時間)。"],[[["The Generic Pass is a versatile pass type in Google Wallet, suitable for various use cases beyond standard tickets or loyalty cards, allowing custom data through defined labels and values."],["Sensitive information like PII should be handled using the Generic Private pass type, with pre-approval needed for specific use cases."],["Google Wallet API enables pass creation and management across Android, web, and messaging platforms through REST API and Android SDK."],["Developers need a Google Wallet API Issuer Account, along with a Google Cloud Account (non-Android) or Google Play Services setup (Android)."],["Google offers resources like codelabs, a pass builder tool, and GitHub repositories to help developers integrate and utilize the Google Wallet API effectively."]]],["The Generic Pass in Google Wallet supports diverse purposes with custom labels and values, such as parking, library, or membership cards. For sensitive data, there's a Generic Private pass option. Passes can be issued across platforms, using the REST API for web, email, or SMS, and the Android SDK for Android apps. Issuers need a Google Wallet API account; non-Android developers also need a Google Cloud account. Key resources include codelabs, a pass builder, and the Google Wallet GitHub.\n"]]