BillingClient.OnPurchasesUpdatedSubResponseCode

@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation BillingClient.OnPurchasesUpdatedSubResponseCode


Sub response codes further qualifying errors returned in onPurchasesUpdated.

Summary

Constants

static final int

The default value, returned when no other sub-response code is applicable.

static final int

Returned when the user's funds are less than the price of the item they are attempting to purchase.

static final int

Returned when the user doesn't meet the configured eligibility requirements for a subscription offer.

Constants

NO_APPLICABLE_SUB_RESPONSE_CODE

public static final int NO_APPLICABLE_SUB_RESPONSE_CODE = 0

The default value, returned when no other sub-response code is applicable.

PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS

public static final int PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS = 1

Returned when the user's funds are less than the price of the item they are attempting to purchase.

USER_INELIGIBLE

public static final int USER_INELIGIBLE = 2

Returned when the user doesn't meet the configured eligibility requirements for a subscription offer.