Transaction constructor

Transaction({
  1. String? result,
  2. String? resultDetails,
  3. String? amount,
  4. String? callerId,
  5. String? nsu,
  6. String? nsuLastSuccesfullMessage,
  7. String? cvNumber,
  8. bool? receiptAlreadyPrinted,
  9. String? type,
  10. String? brand,
  11. String? inputType,
  12. String? installments,
  13. String? gmtDateTime,
  14. String? nsuLocal,
  15. String? authorizationCode,
  16. String? cardBin,
  17. String? cardLastDigits,
  18. String? extraScreensResult,
  19. String? splitPayloadResponse,
  20. String? cardholderName,
  21. AutomationSlip? automationSlip,
  22. bool? printMerchantPreference,
  23. String? orderId,
  24. String? pixPayloadResponse,
  25. String? refundTransactionDate,
  26. String? refundCvNumber,
  27. String? refundOriginTerminal,
})

Constructor for creating a Transaction instance.

Implementation

Transaction({
  this.result,
  this.resultDetails,
  this.amount,
  this.callerId,
  this.nsu,
  this.nsuLastSuccesfullMessage,
  this.cvNumber,
  this.receiptAlreadyPrinted,
  this.type,
  this.brand,
  this.inputType,
  this.installments,
  this.gmtDateTime,
  this.nsuLocal,
  this.authorizationCode,
  this.cardBin,
  this.cardLastDigits,
  this.extraScreensResult,
  this.splitPayloadResponse,
  this.cardholderName,
  this.automationSlip,
  this.printMerchantPreference,
  this.orderId,
  this.pixPayloadResponse,
  this.refundTransactionDate,
  this.refundCvNumber,
  this.refundOriginTerminal,
});