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

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