mapToPayWithToken method
Implementation
Map<String, dynamic> mapToPayWithToken() {
final Map<String, dynamic> data = {
'amount': amount,
'terminalId': terminalId,
'merchantId': merchantId,
'currencyCode': currencyCode,
'transactionId': transactionId,
'clientMail': clientMail,
'customerId': customerId,
'customerTokenId': customerTokenId,
'cvV2': cvV2,
};
if (merchantReference != null) {
data['merchantReference'] = merchantReference;
}
return data;
}