资源:VoidedPurchase
VoidedPurchase 资源表示购买交易已取消/退款/退款。
JSON 表示法 |
---|
{ "kind": string, "purchaseToken": string, "purchaseTimeMillis": string, "voidedTimeMillis": string, "orderId": string, "voidedSource": integer, "voidedReason": integer } |
字段 | |
---|---|
kind |
此类型表示 androidpublisherservice 中的取消购买对象。 |
purchaseToken |
用于唯一标识一次性购买或订阅的令牌。如需对订阅续订进行唯一标识,请使用 orderId(从 API 第 3 版开始提供)。 |
purchaseTimeMillis |
购买时间,以从公元纪年(1970 年 1 月 1 日)开始计算的毫秒数表示。 |
voidedTimeMillis |
购买取消/退款/退款的时间,以从公元纪年(1970 年 1 月 1 日)开始计算的毫秒数表示。 |
orderId |
订单 ID,用于唯一标识一次性购买、订阅购买或续订。 |
voidedSource |
发起作废购买交易的发起者(可能的值:0)。用户 1. 开发者 2. Google |
voidedReason |
购买作废的原因可能为:0。其他 1. 反悔 2。未收到: 3. 有缺陷 4. Accidental_purchase 5. 欺诈 6. Friendly_fraud 7. 退款 |
方法 |
|
---|---|
|
列出已取消、已退款或已退款的购买交易。 |