[EN]PurchaseFlowParams.Builder

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

A builder that helps create a PurchaseFlowParams instance easily.

Public methods


setProductId

PurchaseFlowParams.Builder setProductId(String productId)

setProductType

PurchaseFlowParams.Builder setProductType(String productType)

setProductName

PurchaseFlowParams.Builder setProductType(String productName)

setDeveloperPayload

PurchaseFlowParams.Builder setDeveloperPayload(String developerPayload)

setGameUserId

PurchaseFlowParams.Builder setGameUserId(String gameUserId)

setPromotionApplicable

PurchaseFlowParams.Builder setPromotionApplicable(boolean promotion)

setQuantity

PurchaseFlowParams.Builder setQuantity(int quantity)

setSubscriptionUpdateParams

PurchaseFlowParams.Builder setSubscriptionUpdateParams(SubscriptionUpdateParams params)

build

PurchaseFlowParams build() Creates a PurchaseFlowParams instance.

Last updated