PurchaseFlowParams.Builder
public final class PurchaseFlowParams.Builder extends Object
java.lang.Object
↳ com.gaa.sdk.iap.PurchaseFlowParams.Builder
是易于创建PurchaseFlowParams实例(instance)的builder。
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()
生成PurchaseFlowParams的实例(instance)。
Last updated