getMobileMoneyUrl static method

String getMobileMoneyUrl(
  1. String currency
)

Retturns Mobile Money Urls depending on currency

Implementation

static String getMobileMoneyUrl(final String currency) {
  switch (currency) {
    case FlutterwaveCurrency.UGX:
      return UGANDA_MOBILE_MONEY;
    case FlutterwaveCurrency.RWF:
      return RWANDA_MOBILE_MONEY;
    case FlutterwaveCurrency.ZMW:
      return ZAMBIA_MOBILE_MONEY;
    case FlutterwaveCurrency.GHS:
      return GHANA_MOBILE_MONEY;
    case FlutterwaveCurrency.XAF:
      return FRANCOPHONE_MOBILE_MONEY;
    case FlutterwaveCurrency.XOF:
      return FRANCOPHONE_MOBILE_MONEY;
  }
  return "";
}