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

AcknowledgePurchaseParams.Builder

public static final class AcknowledgePurchaseParams.Builder
extends Object

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


Helps construct AcknowledgePurchaseParams that are used to acknowledge a purchase.

Summary

Public methods

AcknowledgePurchaseParams build()

Returns AcknowledgePurchaseParams reference to initiate acknowledge action.

AcknowledgePurchaseParams.Builder setPurchaseToken(String purchaseToken)

Specify the token that identifies the purchase to be acknowledged.

Inherited methods

From class java.lang.Object

Public methods

build

AcknowledgePurchaseParams build ()

Returns AcknowledgePurchaseParams reference to initiate acknowledge action.

Returns
AcknowledgePurchaseParams

setPurchaseToken

AcknowledgePurchaseParams.Builder setPurchaseToken (String purchaseToken)

Specify the token that identifies the purchase to be acknowledged.

Mandatory.

Parameters
purchaseToken String

Returns
AcknowledgePurchaseParams.Builder