[EN]PurchaseFlowParams

public class PurchaseFlowParams extends Object java.lang.Object ↳ com.gaa.sdk.iap.PurchaseFlowParams

A parameter to purchase the in-app products.

See Also: PurchaseClient.launchPurchaseFlow(Activity, PurchaseFlowParams)

Summary


Nested classes

class

Public methods


getProductId

String getProductId() ID of the in-app products to purchase.

Returns:

String

getProductType

String getProductType() Type of the in-app products to purchase.

Returns:

String

getProductName

String getProductName() The name of products that will be exposed at the time of purchase (not the name of the registered products). If it is null, the registered products' name will be exposed on the purchase page.

Returns:

String

getGameUserId

String getGameUserId() User's ID that is able to be verified by the developer.

Returns:

String

isPromotionApplicable

boolean isPromotionApplicable() Indicates whether the promotion is applicable or not.

Returns:

boolean

getDeveloperPayload

String getDeveloperPayload() Restores the payload that is specified by the developer.

Returns:

String

getOldPurchaseToken

String getOldPurchaseToken() Purchase token of subscription products to be changed.

Returns:

String

getProrationMode()

int getProrationMode() Proration mode for upgrade or downgrade.

Returns:

int

PurchaseFlowParams.ProrationMode

getQuantity()

int getQuantity() Indicates the quantity of the products.

Returns:

int

newBuilder

PurchaseFlowParams.Builder newBuilder() Generates the builder to create a PurchaseFlowParams instance.

Returns:

Last updated