BillingFlowParams

public class BillingFlowParams 


Parameters to initiate a purchase flow. See BillingClient#launchBillingFlow .

Summary

Nested types

Helps to construct BillingFlowParams that are used to initiate a purchase flow.

Params that describe the product to be purchased and the offer to purchase with.

Helps to construct a ProductDetailsParams .

Params that describe a subscription product replacement behavior.

Helps to construct ReplacementParams.

@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams.ReplacementMode

Supported replacement modes to replace an existing product with a new one.

Params that describe a subscription update.

Helps to construct SubscriptionUpdateParams .

@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation BillingFlowParams.SubscriptionUpdateParams.ReplacementMode

Supported replacement modes to replace an existing subscription with a new one.

Public methods

getDeveloperBillingOptionParams

public DeveloperBillingOptionParams getDeveloperBillingOptionParams()

Returns the DeveloperBillingOptionParams .

newBuilder

public static BillingFlowParams.Builder newBuilder()

Constructs a new Builder instance.

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年12月23日 UTC.