如需在 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"]],["最后更新时间 (UTC):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"]]