Stay organized with collections Save and categorize content based on your preferences.

PriceChangeFlowParams.Builder

public static class PriceChangeFlowParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.PriceChangeFlowParams.Builder
Included in documentation by the annotations: @Annotations.PriceChangeConfirmation

This class is deprecated.
This class has been marked as deprecated and will be removed in a future release. To learn more about alternatives, see https://developer.android.com/google/play/billing/subscriptions#price-change.

Helps construct PriceChangeFlowParams that are used to launch a price change confirmation flow.

Summary

Public constructors

Builder()

Public methods

PriceChangeFlowParams build()

Returns the PriceChangeFlowParams to initiate price change confirmation flow.

PriceChangeFlowParams.Builder setSkuDetails(SkuDetails skuDetails)

Specifies the SKU that has the pending price change.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

build

public PriceChangeFlowParams build ()

Returns the PriceChangeFlowParams to initiate price change confirmation flow.

Returns
PriceChangeFlowParams

setSkuDetails

public PriceChangeFlowParams.Builder setSkuDetails (SkuDetails skuDetails)

Specifies the SKU that has the pending price change.

Parameters
skuDetails SkuDetails: Required, the SKU details object from BillingClient.querySkuDetailsAsync(SkuDetailsParams, SkuDetailsResponseListener).

Returns
PriceChangeFlowParams.Builder