[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


Public methods


getProductId

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

getProductType

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

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.

getGameUserId

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

isPromotionApplicable

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

getDeveloperPayload

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

getOldPurchaseToken

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

getProrationMode()

int getProrationMode() Proration mode for upgrade or downgrade.

getQuantity()

int getQuantity() Indicates the quantity of the products.

newBuilder

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

Last updated