toMap method
Converts the instance to a Map.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'result': result,
'resultDetails': resultDetails,
'amount': amount,
'callerId': callerId,
'nsu': nsu,
'nsuLastSuccesfullMessage': nsuLastSuccesfullMessage,
'cvNumber': cvNumber,
'receiptAlreadyPrinted': receiptAlreadyPrinted,
'type': type,
'brand': brand,
'inputType': inputType,
'installments': installments,
'gmtDateTime': gmtDateTime,
'nsuLocal': nsuLocal,
'authorizationCode': authorizationCode,
'cardBin': cardBin,
'cardLastDigits': cardLastDigits,
'extraScreensResult': extraScreensResult,
'splitPayloadResponse': splitPayloadResponse,
'cardholderName': cardholderName,
'automationSlip': automationSlip?.toMap(),
'printMerchantPreference': printMerchantPreference,
'orderId': orderId,
'pixPayloadResponse': pixPayloadResponse,
'refundTransactionDate': refundTransactionDate,
'refundCvNumber': refundCvNumber,
'refundOriginTerminal': refundOriginTerminal,
};
}