name property

String get name

Implementation

String get name {
  switch (this) {
    case PaymentOptions.creditCard:
    case PaymentOptions.tokenizedCreditCard:
      return 'creditCard';
    case PaymentOptions.fawryPay:
      return 'fawry';
    case PaymentOptions.fawryB2B:
      return 'Fawry B2B';
    case PaymentOptions.meezaCard:
      return 'Meeza Card';
    case PaymentOptions.meezaPay:
      return 'Meeza Pay';
    case PaymentOptions.bosta:
      return 'Bosta';
    case PaymentOptions.valu:
      return 'Valu';
    default:
      return '';
  }
}