为什么Google播放应用内帐单购买对象列表skus列表?

发布于 2025-01-23 16:50:55 字数 604 浏览 2 评论 0原文

我在我的Android应用程序中实现了Google Play帐单API。

但是我不明白为什么购买对象没有单个sku,但skus列表?在哪种情况下,购买可以包含多个SKU?

这会使后端网站上的验证有些akward,因为我需要迭代skus列表并查询 Google Play开发人员API 多次使用相同的puphaseToken

是否有任何用例可以在该列表中包含多个SKU,或者我可以假设列表始终只包含一个SKU?

I implemented the Google Play Billing API in my Android app.

But I don't understand why a Purchase object doesn't have a single sku but a list of skus? In which case can a Purchase contain more than one sku?

This makes the validation on backend site a little bit akward because I need to iterate over that list of skus and query the Google Play Developer API multiple times with the same PurchaseToken.

Is there any use case in which a single Purchase can contain more than one sku in that list or can I just assume that the list will always contain only a single sku?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文