byProvider method

double byProvider(
  1. PaygateProvider provider
)

Implementation

double byProvider(PaygateProvider provider) {
  switch (provider) {
    case PaygateProvider.tmoney:
      return tmoney;

    case PaygateProvider.moovMoney:
      return moovMoney;

    default:
      return 0;
  }
}