getPayChannel function
Implementation
String getPayChannel(PayChannel channel) {
switch (channel) {
case PayChannel.account:
return "account";
case PayChannel.card:
return "card";
case PayChannel.transfer:
return "transfer";
case PayChannel.momo:
return "wallet";
case PayChannel.ussd:
return "ussd";
default:
return "card";
}
}