Ejemplo n.º 1
0
 static CardTypes()
 {
     VISA            = new CardTypes("visa");
     MASTERCARD      = new CardTypes("mastercard");
     MAESTRO         = new CardTypes("maestro");
     AMEX            = new CardTypes("amex");
     JCB             = new CardTypes("jcb");
     DINERS          = new CardTypes("diners");
     DISCOVER        = new CardTypes("discover");
     CHINA_UNION_PAY = new CardTypes("china_union_pay");
     UNKNOWN         = new CardTypes("unknown", true);
 }
Ejemplo n.º 2
0
 public Payment.Filter ByCardType(Payment.CardTypes cardType)
 {
     this.cardType = cardType.ToString();
     return(this);
 }