gpt4 book ai didi

google-pay - Google PAY API - LoyalityObject 与 LoyalityClass

转载 作者:行者123 更新时间:2023-12-03 03:38:17 28 4
gpt4 key购买 nike

我开始关注 Google Pay API (.Net)。我不清楚 LoyalityObject 和 LoyalityClass 之间的区别。哪个用于哪个?哪张是忠诚卡?提前致谢

 public static LoyaltyClass generateLoyaltyClass(string issuerId, string classId)

对比

 public static LoyaltyObject generateLoyaltyObject(string issuerId, string classId, string objectId)

最佳答案

来自here :

The Google Pay API for Passes uses the concept of an Object to digitally represent a single user's physical loyalty cards, gift cards, offers, event tickets, and boarding passes for flights. The API uses the concept of a Class to allow management of data common across all users. To cover specific use cases, each vertical has its own respective Object and Class.

因此,LoyalityObject 是每个用户的忠诚卡,而 LoyaltyClass 则允许管理所有用户的公共(public)数据。

关于google-pay - Google PAY API - LoyalityObject 与 LoyalityClass,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52245036/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com