toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'result': result,
'resultDetails': resultDetails,
'amount': (amount * 100).round().toString().padLeft(12, '0'),
'callerId': callerId,
'nsu': nsu,
'type': type,
'brand': brand,
'installments': installments,
'cardholderName': cardholderName,
'automationSlip': automationSlip,
'orderId': orderId,
'receiptAlreadyPrinted': receiptAlreadyPrinted,
'inputType': inputType,
};
}