toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'terminalId': terminalId,
'message': message,
'transactionId': transactionId,
'transactionTypeId': transactionTypeId,
'transactionTypeDisplayName': transactionTypeDisplayName,
'merchantId': merchantId,
'currency': currency,
'amount': amount,
'currencyId': currencyId,
'transactionDate': transactionDate,
'merchantName': merchantName,
'isOtpRequired': isOtpRequired,
'customerId': customerId,
'gatewayTransactionReference': gatewayTransactionReference,
'customerTokenId': customerTokenId,
'hostResponseData': hostResponseData.toMap(),
};
}