AdvancedCommerceInfoIOS class
Advanced Commerce metadata from a transaction (iOS 18.4+). Contains item details, tax information, and refund data for purchases made through the Advanced Commerce API using generic SKUs. Only present for transactions that use the Advanced Commerce API.
Constructors
-
AdvancedCommerceInfoIOS({String? description, String? displayName, String? estimatedTax, required List<
AdvancedCommerceItemIOS> items, String? requestReferenceId, String? taxCode, String? taxExclusivePrice, String? taxRate}) -
const
-
AdvancedCommerceInfoIOS.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String?
-
Optional description
final
- displayName → String?
-
Optional display name
final
- estimatedTax → String?
-
Estimated tax amount (decimal string)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
AdvancedCommerceItemIOS> -
The items purchased as part of this transaction
final
- requestReferenceId → String?
-
Request reference identifier for tracking
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxCode → String?
-
Tax code for the transaction
final
- taxExclusivePrice → String?
-
Price excluding tax (decimal string)
final
- taxRate → String?
-
Tax rate applied (decimal string)
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