Reminder: By Aug 31, 2025, all new apps and updates to existing apps must use Billing Library version 7 or newer. If you need more time to update your app, you can request an extension until Nov 1, 2025. Learn about
Play Billing Library version deprecation.
一次性商品
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
一次性商品(以前称为应用内商品)是指用户可以通过一次性付费(通过用户的付款方式扣款)购买的数字商品或内容。与涉及定期付款的订阅不同,一次性商品是指一次性交易,可永久或在特定的非可续期使用情形下授予对所购内容的访问权限。
一次性商品主要分为两类:
后续课程
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# One-time products\n\nA one-time product (previously referred as in-app product) refers to a\ndigital item or content that a user can purchase with a single charge to\ntheir payment method. Unlike subscriptions, which involve recurring payments,\na one-time product is a single transaction that grants access to the\npurchased content permanently or for a specific, non-renewable use.\n\nOne-time products are categorized into two main types:\n\n- Consumable products - These are products that a user consumes to receive\n in-app content and can be bought multiple times. Once used, the product\n is \"consumed\" and can be purchased again. Examples include\n in-game currency (like coins or gems), extra lives, or boosts.\n\n- Non-consumable products - These products are purchased once and\n provide a permanent benefit. Once bought, they are permanently associated\n with the user's account, and cannot be purchased again.\n Examples include premium upgrades, unlocking additional game levels,\n or ad-free versions of an app.\n\nWhat's next\n-----------\n\n- [One-time product purchase lifecycle](/google/play/billing/lifecycle/one-time)\n- [Multiple purchase options and offers for one-time products](/google/play/billing/one-time-product-multi-purchase-options-offers)"]]