SkuType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
SKU_TYPE_UNSPECIFIED |
未指定类型。 |
SKU_TYPE_IN_APP |
应用内购买 |
SKU_TYPE_SUBSCRIPTION |
订阅 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eSKU_TYPE\u003c/code\u003e is an enum used to define the type of SKU, such as "inapp" for in-app purchases or "subscription" for subscription products.\u003c/p\u003e\n"],["\u003cp\u003eThis enum includes three values: \u003ccode\u003eSKU_TYPE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eSKU_TYPE_IN_APP\u003c/code\u003e, and \u003ccode\u003eSKU_TYPE_SUBSCRIPTION\u003c/code\u003e, with \u003ccode\u003eSKU_TYPE_UNSPECIFIED\u003c/code\u003e being the default for unknown or unspecified types.\u003c/p\u003e\n"]]],["The core content defines different SKU types used for digital purchases. There are three SKU types: `SKU_TYPE_UNSPECIFIED`, which indicates an unspecified type; `SKU_TYPE_IN_APP`, representing in-app purchases; and `SKU_TYPE_SUBSCRIPTION`, signifying subscriptions. These enums categorize the various kinds of digital goods and services available for purchase within an application, providing a clear way to distinguish between one-time and recurring purchase models.\n"],null,["# SkuType\n\nThe type of SKU, like \"inapp\" or \"subscription\".\n\n| Enums ||\n|-------------------------|-------------------|\n| `SKU_TYPE_UNSPECIFIED` | Unspecified type. |\n| `SKU_TYPE_IN_APP` | In-app purchase |\n| `SKU_TYPE_SUBSCRIPTION` | Subscriptions |"]]