如需在 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-27。"],[[["The Google Wallet API enables easy integration of loyalty cards into Google Wallet, improving customer access and redemption of rewards."],["Users benefit from reduced clutter and faster access to their loyalty cards through the Google Wallet app."],["Businesses can use the Google Wallet API to issue passes across multiple platforms, including Android, web, email, and SMS, via REST API and Android SDK."],["Developers need to create necessary accounts and familiarize themselves with key concepts, pass creation, and the overall Google Wallet pass development flow to get started."],["Resources like codelabs, pass builder, and the Google Wallet Github provide tools and support for implementing Google Wallet API functionality."]]],["The Google Wallet API allows customers to save loyalty cards to their Google Wallet for convenient access and efficient point redemption. This API supports Android apps, websites, email, and SMS. Developers can use the REST API for web, email, or SMS, or the Android SDK for Android apps to create and manage passes. To get started, developers need a Google Wallet API Issuer account and a Google Cloud account (non-Android) or Google Play services (Android). Resources such as codelabs, pass builder, and Github are available to facilitate the implementation.\n"]]