PurchaseInfo constructor

PurchaseInfo({
  1. int? id,
  2. int? type,
  3. String? userUniqueId,
  4. String? proUniqueId,
  5. String? qrCode,
  6. String? paymentMethod,
  7. PaymentMethodInfo? paymentMethodInfo,
  8. String? countryCode,
  9. String? currency,
  10. double? amount,
  11. int? commissionId,
  12. String? status,
  13. String? error,
  14. int? timestamp,
  15. int? purchasedAt,
  16. int? deliveryLocationId,
  17. String? transactionFriendlyId,
  18. int? fromShop,
  19. String? gateway,
  20. String? orderId,
  21. String? eventUniqueId,
})

Implementation

PurchaseInfo(
    {this.id,
    this.type,
    this.userUniqueId,
    this.proUniqueId,
    this.qrCode,
    this.paymentMethod,
    this.paymentMethodInfo,
    this.countryCode,
    this.currency,
    this.amount,
    this.commissionId,
    this.status,
    this.error,
    this.timestamp,
    this.purchasedAt,
    this.deliveryLocationId,
    this.transactionFriendlyId,
    this.fromShop,
    this.gateway,
    this.orderId,
    this.eventUniqueId});