Google 致力于为黑人社区推动种族平等。查看具体举措

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)

Specifies 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)

Specifies the SKU that has the pending price change.

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

Returns
PriceChangeFlowParams.Builder