이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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