Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

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 a consume action.

ConsumeParams.Builder setPurchaseToken(String purchaseToken)

Specifies 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 a consume action.

Returns
ConsumeParams

setPurchaseToken

ConsumeParams.Builder setPurchaseToken (String purchaseToken)

Specifies the token that identifies the purchase to be consumed.

Mandatory.

Parameters
purchaseToken String

Returns
ConsumeParams.Builder