toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'result': result,
'resultDetails': resultDetails,
'amount': (amount * 100).round().toString().padLeft(12, '0'),
'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,
'printMerchantPreference': printMerchantPreference,
'orderId': orderId,
'pixPayloadResponse': pixPayloadResponse,
};
}