providerFromPaymentMethod function
Implementation
PaygateProvider? providerFromPaymentMethod(String paymentMethod) {
switch (paymentMethod.toUpperCase()) {
case "FLOOZ":
return PaygateProvider.moovMoney;
case "T-MONEY":
return PaygateProvider.tmoney;
default:
return null;
}
}