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 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.

Constants

static final String

Public methods

static BillingFlowParams.Builder

Constructs a new Builder instance.

Constants

EXTRA_PARAM_KEY_ACCOUNT_ID

public static final String EXTRA_PARAM_KEY_ACCOUNT_ID = "accountId"

Public methods

newBuilder

public static BillingFlowParams.Builder newBuilder()

Constructs a new Builder instance.