BillingFlowParams.SubscriptionUpdateParams.Builder

public class BillingFlowParams.SubscriptionUpdateParams.Builder


Helps to construct SubscriptionUpdateParams.

Summary

Public methods

BillingFlowParams.SubscriptionUpdateParams
BillingFlowParams.SubscriptionUpdateParams.Builder
setOldPurchaseToken(String purchaseToken)

Specifies the Google Play Billing purchase token that the user is upgrading or downgrading from.

BillingFlowParams.SubscriptionUpdateParams.Builder

If the originating transaction for the suscription that the user is upgrading or downgrading from was processed via alternative billing, specifies the external transaction id of the originating subscription.

BillingFlowParams.SubscriptionUpdateParams.Builder
setSubscriptionReplacementMode(int subscriptionReplacementMode)

Specifies the ReplacementMode for replacement.

Public methods

setOldPurchaseToken

public BillingFlowParams.SubscriptionUpdateParams.Builder setOldPurchaseToken(String purchaseToken)

Specifies the Google Play Billing purchase token that the user is upgrading or downgrading from.

setOriginalExternalTransactionId

public BillingFlowParams.SubscriptionUpdateParams.Builder setOriginalExternalTransactionId(String externalTransactionId)

If the originating transaction for the suscription that the user is upgrading or downgrading from was processed via alternative billing, specifies the external transaction id of the originating subscription.

setSubscriptionReplacementMode

public BillingFlowParams.SubscriptionUpdateParams.Builder setSubscriptionReplacementMode(int subscriptionReplacementMode)

Specifies the ReplacementMode for replacement.