AppStorePurchaseParam class

Apple AppStore specific parameter object for generating a purchase.

Constructors

AppStorePurchaseParam({required ProductDetails productDetails, String? applicationUserName, bool simulatesAskToBuyInSandbox = false})
Creates a new AppStorePurchaseParam object with the given data.

Properties

applicationUserName String?
An opaque id for the user's account that's unique to your app. (Optional)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
productDetails → ProductDetails
The product to create payment for.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simulatesAskToBuyInSandbox bool
Set it to true to produce an "ask to buy" flow for this payment in the sandbox.
final

Methods

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

Operators

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