Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

ConsumeParams.Builder

public static final class ConsumeParams.Builder
extends Object

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


Helps construct ConsumeParams that are used to consume a purchase.

Summary

Public methods

ConsumeParams build()

Returns ConsumeParams reference to initiate consume action.

ConsumeParams.Builder setPurchaseToken(String purchaseToken)

Specify the token that identifies the purchase to be consumed.

Inherited methods

From class java.lang.Object

Public methods

build

ConsumeParams build ()

Returns ConsumeParams reference to initiate consume action.

Returns
ConsumeParams

setPurchaseToken

ConsumeParams.Builder setPurchaseToken (String purchaseToken)

Specify the token that identifies the purchase to be consumed.

Mandatory.

Parameters
purchaseToken String

Returns
ConsumeParams.Builder