gatewayTargetMethod property

String get gatewayTargetMethod

Implementation

String get gatewayTargetMethod {
  switch (this) {
    case PaymentOptions.tokenizedCreditCard:
    case PaymentOptions.creditCard:
      return 'CreditCard';
    case PaymentOptions.fawryPay:
      return 'PayAtFawry';
    case PaymentOptions.bosta:
      return 'BostaCashCollection';
    case PaymentOptions.valu:
      return 'ValuPurchase';
    default:
      return "";
  }
}