如需在 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):2024-09-05。"],[[["The Google Wallet API enables easy addition and access to offers within Google Wallet on users' phones, streamlining redemption and organization."],["Users can readily view and access saved offers in Google Wallet by opening the app, swiping up, and selecting the desired offer."],["Businesses can leverage the API to send timely notifications, such as offer expiration reminders, enhancing user engagement and redemption rates."],["Google provides REST API and Android SDK options for seamless integration and management of offers within various platforms like Android apps, websites, email, and SMS."],["To get started, developers need a Google Wallet API Issuer account, and either a Google Cloud account (non-Android) or Google Play services setup (Android)."]]],["The Google Wallet API enables users to save and access offers directly in Google Wallet across multiple platforms. Developers can leverage a REST API or Android SDK to issue and manage these passes. Key actions include creating a Google Wallet API Issuer and/or Google Cloud account, and setting up Google Play services for Android. Developers can create passes by combining Passes Classes with Passes Objects. Users can receive notifications about expiring offers, and tools such as codelabs, a pass builder, and the Google Wallet GitHub provide support.\n"]]