Register now for Android Dev Summit 2019!

PriceChangeFlowParams.Builder

public static class PriceChangeFlowParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.PriceChangeFlowParams.Builder


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

Summary

Public constructors

PriceChangeFlowParams.Builder()

Public methods

PriceChangeFlowParams build()

Returns the PriceChangeFlowParams to initiate price change confirmation flow.

PriceChangeFlowParams.Builder setSkuDetails(SkuDetails skuDetails)

Specify the SKU that has the pending price change.

Inherited methods

From class java.lang.Object

Public constructors

PriceChangeFlowParams.Builder

PriceChangeFlowParams.Builder ()

Public methods

build

PriceChangeFlowParams build ()

Returns the PriceChangeFlowParams to initiate price change confirmation flow.

Returns
PriceChangeFlowParams

setSkuDetails

PriceChangeFlowParams.Builder setSkuDetails (SkuDetails skuDetails)

Specify the SKU that has the pending price change.

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

Returns
PriceChangeFlowParams.Builder this to continue construction.