toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'memberId': memberId,
'checksum': checksum,
'terminalId': terminalId,
'merchantTransactionId': merchantTransactionId,
'amount': amount,
'currency': currency,
'toType': toType,
'version': version,
'email': email,
'phone': phone,
'birthDate': birthDate,
'givenName': givenName,
'surName': surName,
'postCode': postCode,
'street': street,
'city': city,
'state': state,
'country': country,
'telnocc': telnocc,
'memberKey': memberKey,
'orderDescription': orderDescription,
'countryCode': countryCode,
'ipAddress': ipAddress,
'reserveField': reserveField,
'notificationUrl': notificationUrl,
'hostUrl': hostUrl,
'customerId': customerId,
'paymentMode': paymentMode,
'paymentBrand': paymentBrand,
'device':device,
};
}