RequestSubscriptionIosProps class

Constructors

RequestSubscriptionIosProps({String? advancedCommerceData, bool? andDangerouslyFinishTransactionAutomatically, String? appAccountToken, bool? introductoryOfferEligibility, PromotionalOfferJWSInputIOS? promotionalOfferJWS, int? quantity, required String sku, WinBackOfferInputIOS? winBackOffer, DiscountOfferInputIOS? withOffer})
const
RequestSubscriptionIosProps.fromJson(Map<String, dynamic> json)
factory

Properties

advancedCommerceData String?
Advanced commerce data token (iOS 15+). Used with StoreKit 2's Product.PurchaseOption.custom API for passing campaign tokens, affiliate IDs, or other attribution data. The data is formatted as JSON: {"signatureInfo": {"token": "
final
andDangerouslyFinishTransactionAutomatically bool?
final
appAccountToken String?
final
hashCode int
The hash code for this object.
no setterinherited
introductoryOfferEligibility bool?
Override introductory offer eligibility (iOS 15+, WWDC 2025). Set to true to indicate the user is eligible for introductory offer, or false to indicate they are not. When nil, the system determines eligibility. Back-deployed to iOS 15.
final
promotionalOfferJWS PromotionalOfferJWSInputIOS?
JWS promotional offer (iOS 15+, WWDC 2025). New signature format using compact JWS string for promotional offers. Back-deployed to iOS 15.
final
quantity int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String
final
winBackOffer WinBackOfferInputIOS?
Win-back offer to apply (iOS 18+) Used to re-engage churned subscribers with a discount or free trial. The offer is available when the customer is eligible and can be discovered via StoreKit Message (automatic) or subscription offer APIs.
final
withOffer DiscountOfferInputIOS?
Promotional offer to apply for subscription purchases. Requires server-signed offer with nonce, timestamp, keyId, and signature.
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