id property

int get id

Implementation

int get id {
  switch (this) {
    case PaymentOptions.creditCard:
    case PaymentOptions.tokenizedCreditCard:
      return 1;
    case PaymentOptions.fawryPay:
      return 2;
    case PaymentOptions.fawryB2B:
      return 3;
    case PaymentOptions.meezaCard:
      return 4;
    case PaymentOptions.meezaPay:
      return 5;
    case PaymentOptions.bosta:
      return 6;
    case PaymentOptions.valu:
      return 7;
    default:
      return 0;
  }
}