-
public final class RequestPurchaseAndroidProps
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRequestPurchaseAndroidProps.Companion
-
Field Summary
Fields Modifier and Type Field Description private final DeveloperBillingOptionParamsAndroiddeveloperBillingOptionprivate final BooleanisOfferPersonalizedprivate final StringobfuscatedAccountIdprivate final StringobfuscatedProfileIdprivate final StringofferTokenprivate final List<String>skus
-
Constructor Summary
Constructors Constructor Description RequestPurchaseAndroidProps(DeveloperBillingOptionParamsAndroid developerBillingOption, Boolean isOfferPersonalized, String obfuscatedAccountId, String obfuscatedProfileId, String offerToken, List<String> skus)
-
Method Summary
Modifier and Type Method Description final DeveloperBillingOptionParamsAndroidgetDeveloperBillingOption()Developer billing option parameters for external payments flow (8.3.0+). final BooleangetIsOfferPersonalized()Personalized offer flag. final StringgetObfuscatedAccountId()Obfuscated account ID final StringgetObfuscatedProfileId()Obfuscated profile ID final StringgetOfferToken()Offer token for one-time purchase discounts (7.0+). final List<String>getSkus()List of product SKUs final Map<String, Object>toJson()-
-
Method Detail
-
getDeveloperBillingOption
final DeveloperBillingOptionParamsAndroid getDeveloperBillingOption()
Developer billing option parameters for external payments flow (8.3.0+). When provided, the purchase flow will show a side-by-side choice between Google Play Billing and the developer's external payment option.
-
getIsOfferPersonalized
final Boolean getIsOfferPersonalized()
Personalized offer flag. When true, indicates the price was customized for this user.
-
getObfuscatedAccountId
final String getObfuscatedAccountId()
Obfuscated account ID
-
getObfuscatedProfileId
final String getObfuscatedProfileId()
Obfuscated profile ID
-
getOfferToken
final String getOfferToken()
Offer token for one-time purchase discounts (7.0+). Pass the offerToken from oneTimePurchaseOfferDetailsAndroid or discountOffers to apply a discount offer to the purchase.
-
-
-
-