Transaction class
Constructors
Transaction.new ({required int id , required int originalID , String ? webOrderLineItemID , required String productId , String ? subscriptionGroupID , required String appBundleID , required int purchaseDate , required int originalPurchaseDate , int ? expirationDate , required int purchaseQuantity , bool ? isUpgraded , int ? revocationDate , int ? revocationReason , required String productType , String ? appAccountToken , String ? jwsRepresentation })
Transaction.fromMap (Map map )
factory
Properties
appAccountToken
→ String ?
If an app account token was added as a purchase option when purchasing, this property will
be the token provided. If no token was provided, this will be nil
.
final
appBundleID
→ String
Identifies the application the transaction is for.
final
expirationDate
→ int ?
The date the users access to productID
expires
final
hashCode
→ int
The hash code for this object.
no setter inherited
id
→ int
Unique ID for the transaction.
final
isUpgraded
→ bool ?
If this transaction was upgraded to a subscription with a higher level of service.
final
jwsRepresentation
→ String ?
JWS representation of the transaction for server-side verification
final
originalID
→ int
The ID of the original transaction for productID
orsubscriptionGroupID
if this is a
subscription.
final
originalPurchaseDate
→ int
The date the original transaction for productID
orsubscriptionGroupID
occurred on.
final
productId
→ String
Identifies the product the transaction is for.
final
productType
→ String
The type of productID
.
final
purchaseDate
→ int
The date this transaction occurred on.
final
purchaseQuantity
→ int
Quantity of productID
purchased in the transaction.
final
revocationDate
→ int ?
The date the transaction was revoked, or nil
if it was not revoked.
final
revocationReason
→ int ?
The reason the transaction was revoked, or nil
if it was not revoked.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
subscriptionGroupID
→ String ?
Identifies the subscription group the transaction is for.
final
webOrderLineItemID
→ String ?
Uniquely identifies a subscription purchase.
final