ConsumeParams.Builder

public final class ConsumeParams.Builder


Helps construct ConsumeParams that are used to consume a purchase.

Summary

Public methods

ConsumeParams

Returns ConsumeParams reference to initiate a consume action.

ConsumeParams.Builder
setPurchaseToken(String purchaseToken)

Specifies the token that identifies the purchase to be consumed.

Public methods

build

public ConsumeParams build()

Returns ConsumeParams reference to initiate a consume action.

setPurchaseToken

public ConsumeParams.Builder setPurchaseToken(String purchaseToken)

Specifies the token that identifies the purchase to be consumed.

Mandatory.