RequestSubscriptionAndroidProps class

Constructors

RequestSubscriptionAndroidProps({DeveloperBillingOptionParamsAndroid? developerBillingOption, bool? isOfferPersonalized, String? obfuscatedAccountId, String? obfuscatedProfileId, String? originalExternalTransactionId, String? purchaseToken, int? replacementMode, required List<String> skus, List<AndroidSubscriptionOfferInput>? subscriptionOffers, SubscriptionProductReplacementParamsAndroid? subscriptionProductReplacementParams})
const
RequestSubscriptionAndroidProps.fromJson(Map<String, dynamic> json)
factory

Properties

developerBillingOption DeveloperBillingOptionParamsAndroid?
Developer billing option parameters for external payments and Billing Choice. Billing Choice is available in OpenIAP Spec 2.1.0 / openiap-google 2.3.0 (requires Play Billing 9.1.0+).
final
hashCode int
The hash code for this object.
no setterinherited
isOfferPersonalized bool?
Personalized offer flag. When true, indicates the price was customized for this user.
final
obfuscatedAccountId String?
Obfuscated account ID
final
obfuscatedProfileId String?
Obfuscated profile ID
final
originalExternalTransactionId String?
Original external transaction ID for replacing a subscription that was purchased through developer billing. Available in OpenIAP Spec 2.1.0 / openiap-google 2.3.0 (requires Play Billing 9.1.0+).
final
purchaseToken String?
Purchase token for upgrades/downgrades
final
replacementMode int?
Replacement mode for subscription changes @deprecated Use subscriptionProductReplacementParams instead for item-level replacement (8.1.0+)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skus List<String>
List of subscription SKUs
final
subscriptionOffers List<AndroidSubscriptionOfferInput>?
Subscription offers
final
subscriptionProductReplacementParams SubscriptionProductReplacementParamsAndroid?
Product-level replacement parameters (8.1.0+) Use this instead of replacementMode for item-level replacement This singular form requires skus to contain exactly one target product. Multi-item subscription changes need a per-target replacement mapping and are rejected rather than applying one oldProductId to multiple products.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited