SK2Transaction constructor

SK2Transaction({
  1. required String id,
  2. required String originalId,
  3. required String productId,
  4. required String purchaseDate,
  5. String? expirationDate,
  6. int quantity = 1,
  7. required String? appAccountToken,
  8. String? subscriptionGroupID,
  9. double? price,
  10. SKError? error,
})

Creates a new instance of SK2Transaction

Implementation

SK2Transaction(
    {required this.id,
    required this.originalId,
    required this.productId,
    required this.purchaseDate,
    this.expirationDate,
    this.quantity = 1,
    required this.appAccountToken,
    this.subscriptionGroupID,
    this.price,
    this.error});