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

No applicable sub response code.

static final int

Sub response code when the payment was declined due to insufficient funds.

static final int

Sub response code indicating the user does not currently meet offer eligibility requirements.

Constants

NO_APPLICABLE_SUB_RESPONSE_CODE

public static final int NO_APPLICABLE_SUB_RESPONSE_CODE = 0

No applicable sub response code.

PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS

public static final int PAYMENT_DECLINED_DUE_TO_INSUFFICIENT_FUNDS = 1

Sub response code when the payment was declined due to insufficient funds. The user must either add funds/increase limits or retry the transaction with a different payment method

USER_INELIGIBLE

public static final int USER_INELIGIBLE = 2

Sub response code indicating the user does not currently meet offer eligibility requirements.