SK2TransactionMessage class

Constructors

SK2TransactionMessage({required int id, required int originalId, required String productId, double? purchaseDate, double? expirationDate, int purchasedQuantity = 1, String? appAccountToken, String? receiptData, SK2ErrorMessage? error, String? jsonRepresentation, required SK2PurchaseStatusMessage status})

Properties

appAccountToken ↔ String?
getter/setter pair
error ↔ SK2ErrorMessage?
getter/setter pair
expirationDate ↔ double?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ int
getter/setter pair
jsonRepresentation ↔ String?
getter/setter pair
originalId ↔ int
getter/setter pair
productId ↔ String
getter/setter pair
purchaseDate ↔ double?
getter/setter pair
purchasedQuantity ↔ int
getter/setter pair
receiptData ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ SK2PurchaseStatusMessage
The status of this purchase transaction. Set by native side to communicate the result state to Dart layer.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → SK2TransactionMessage