-
public final class PurchaseOptionsOptions applied to a NativeBillingManager.purchase call.
SPEC-070-A A.28 — mirrors iOS
PurchaseOptions(AppDNA+Modules.swift:454). TheappAccountTokenis forwarded to Google Play as the obfuscated account ID (BillingFlowParams.setObfuscatedAccountId) so Play can correlate the receipt with the app's user identity for fraud / chargeback investigations.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringofferTokenprivate final UUIDappAccountToken
-
Constructor Summary
Constructors Constructor Description PurchaseOptions(String offerToken, UUID appAccountToken)
-
Method Summary
Modifier and Type Method Description final StringgetOfferToken()Optional offer token to select a specific Play subscription offer / trial. final UUIDgetAppAccountToken()Host-supplied UUID that uniquely identifies the buying user. -
-
Method Detail
-
getOfferToken
final String getOfferToken()
Optional offer token to select a specific Play subscription offer / trial.
-
getAppAccountToken
final UUID getAppAccountToken()
Host-supplied UUID that uniquely identifies the buying user. Forwarded to Play as
obfuscatedAccountId. Use the same value you pass on iOS (StoreKitProduct.PurchaseOption.appAccountToken) so receipts line up across stores.
-
-
-
-