The Android Developer Challenge is back! Submit your idea before December 2.

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 setDeveloperPayload(String developerPayload)

Specify developer payload be sent back with the purchase information.

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

setDeveloperPayload

AcknowledgePurchaseParams.Builder setDeveloperPayload (String developerPayload)

Specify developer payload be sent back with the purchase information.

Optional.

Parameters
developerPayload String

Returns
AcknowledgePurchaseParams.Builder

setPurchaseToken

AcknowledgePurchaseParams.Builder setPurchaseToken (String purchaseToken)

Specify the token that identifies the purchase to be acknowledged.

Mandatory.

Parameters
purchaseToken String

Returns
AcknowledgePurchaseParams.Builder