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;
 }