Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ConsumeParams

public final class ConsumeParams
extends Object

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


Parameters to consume a purchase. (See consumeAsync(ConsumeParams, ConsumeResponseListener)

Summary

Nested classes

class ConsumeParams.Builder

Helps construct ConsumeParams that are used to consume a purchase. 

Public methods

String getDeveloperPayload()

Returns developer data associated with the purchase to be consumed

String getPurchaseToken()

Returns token that identifies the purchase to be consumed

static ConsumeParams.Builder newBuilder()

Inherited methods

From class java.lang.Object

Public methods

getDeveloperPayload

String getDeveloperPayload ()

Returns developer data associated with the purchase to be consumed

Returns
String

getPurchaseToken

String getPurchaseToken ()

Returns token that identifies the purchase to be consumed

Returns
String

newBuilder

ConsumeParams.Builder newBuilder ()

Returns
ConsumeParams.Builder