PurchaseFlowParams

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

It is a parameter for purchasing in-app products.

See Also:

(Activity, )

Summary


Nested classes

class

PurchaseFlowParams.Builder

It is a builder for easy creation of the PurchaseFlowParams instances.

Public methods


getProductId

String getProductId()

It is the ID of in-app products to be purchased.

Returns:

String

getProductType

String getProductType()

It is the type of in-app products to be purchased.

getProductName

String getProductName()

It is not the name of registered in-app product but the name of in-app product to be exposed at the time of purchase.

If it is null, the name of registered in-app product will be exposed on the purchase page.

Returns:

String

getGameUserId

String getGameUserId()

It is the user’s ID that can be confirmed by developers.

Returns:

String

isPromotionApplicable

boolean isPromotionApplicable()

It shows whether promotion is available or not.

Returns:

boolean

getDeveloperPayload

String getDeveloperPayload()

It returns the payload specified by developers.

Returns:

String

newBuilder

 newBuilder()

It generates a builder for creating the PurchaseFlowParams instances.

Last updated