Exemplo n.º 1
0
 public Card(string cardNumber, string expiry, int securityCode, string accountHolder)
 {
     CardNumber        = new CardNumber(cardNumber);
     ExpiryDate        = new MonthYear(expiry);
     SecurityCode      = CardNumberLogic.ParseSecurityCode(securityCode);
     AccountHolderName = accountHolder;
 }
Exemplo n.º 2
0
 public CardNumber(string cardNumber)
 {
     Digits = CardNumberLogic.CreateCardNumberByteArray(cardNumber);
 }