interface ProductPurchaseExt {
    acknowledgementState?: null | number;
    consumptionState?: null | number;
    developerPayload?: null | string;
    kind: "androidpublisher#productPurchase";
    obfuscatedExternalAccountId?: null | string;
    obfuscatedExternalProfileId?: null | string;
    orderId?: null | string;
    productId?: string;
    purchaseState?: null | number;
    purchaseTimeMillis?: null | string;
    purchaseToken?: null | string;
    purchaseType?: null | number;
    quantity?: null | number;
    regionCode?: null | string;
}

Hierarchy

  • ProductPurchase_API
    • ProductPurchaseExt

Properties

acknowledgementState?: null | number

The acknowledgement state of the inapp product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged

consumptionState?: null | number

The consumption state of the inapp product. Possible values are: 0. Yet to be consumed 1. Consumed

developerPayload?: null | string

A developer-specified string that contains supplemental information about an order.

kind: "androidpublisher#productPurchase"
obfuscatedExternalAccountId?: null | string

An obfuscated version of the id that is uniquely associated with the user's account in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.

obfuscatedExternalProfileId?: null | string

An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.

orderId?: null | string

The order id associated with the purchase of the inapp product.

productId?: string
purchaseState?: null | number

The purchase state of the order. Possible values are: 0. Purchased 1. Canceled 2. Pending

purchaseTimeMillis?: null | string

The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).

purchaseToken?: null | string

The purchase token generated to identify this purchase.

purchaseType?: null | number

The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code) 2. Rewarded (i.e. from watching a video ad instead of paying)

quantity?: null | number

The quantity associated with the purchase of the inapp product.

regionCode?: null | string

ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.