Last updated
Last updated
public class PurchaseFlowParams extends Object java.lang.Object ↳ com.gaa.sdk.iap.PurchaseFlowParams
A parameter to purchase the in-app products.
See Also: (Activity, )
String getProductId() ID of the in-app products to purchase.
String getProductType() Type of the in-app products to purchase.
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.
String getGameUserId() User's ID that is able to be verified by the developer.
boolean isPromotionApplicable() Indicates whether the promotion is applicable or not.
String getDeveloperPayload() Restores the payload that is specified by the developer.
String getOldPurchaseToken() Purchase token of subscription products to be changed.
int getProrationMode() Proration mode for upgrade or downgrade.
int getQuantity() Indicates the quantity of the products.
PurchaseFlowParams.Builder newBuilder() Generates the builder to create a PurchaseFlowParams instance.
Returns:
String
Returns:
String
Returns:
String
Returns:
boolean
Returns:
String
Returns:
String
Returns:
int
PurchaseFlowParams.ProrationMode
Returns:
int
Returns:
Nested classes
class
PurchaseFlowParams.Builder A builder that helps create a PurchaseFlowParams instance easily.
Returns:
String