BillingFlowParams.SubscriptionUpdateParams.Builder

public class BillingFlowParams.SubscriptionUpdateParams.Builder 


Helps to construct SubscriptionUpdateParams .

Summary

Public methods

BillingFlowParams.SubscriptionUpdateParams
BillingFlowParams.SubscriptionUpdateParams.Builder

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)

This method is deprecated.

Use SubscriptionProductReplacementParams#setReplacementMode instead.

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.