La Vista previa para desarrolladores de Android 11 ya está disponible. Pruébala y comparte tus comentarios.

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)

This method is deprecated. Developer payload has been deprecated. See https://developer.android.com/google/play/billing/billing_overview for recommended alternatives.

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)

This method is deprecated.
Developer payload has been deprecated. See https://developer.android.com/google/play/billing/billing_overview for recommended alternatives.

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