PurchaseData constructor

PurchaseData({
  1. required int terminalId,
  2. required String message,
  3. required String transactionId,
  4. required HostResponseData hostResponseData,
  5. required bool isOtpRequired,
  6. String? customerId,
  7. String? customerTokenId,
  8. String? transactionTypeId,
  9. String? transactionTypeDisplayName,
  10. String? merchantId,
  11. String? currency,
  12. String? amount,
  13. String? currencyId,
  14. String? merchantName,
  15. String? gatewayTransactionReference,
  16. String? transactionDate,
})

Implementation

PurchaseData({
  required this.terminalId,
  required this.message,
  required this.transactionId,
  required this.hostResponseData,
  required this.isOtpRequired,
  this.customerId,
  this.customerTokenId,
  this.transactionTypeId,
  this.transactionTypeDisplayName,
  this.merchantId,
  this.currency,
  this.amount,
  this.currencyId,
  this.merchantName,
  this.gatewayTransactionReference,
  this.transactionDate,
});