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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年02月27日 UTC.