static void Main(string[] args)
        {
            CreditCard cd = CreditFactory.CardType("Platinum");

            Console.WriteLine("Card Name: " + cd.GetCreditcardName());
            Console.WriteLine("Credit Limit: " + cd.GetCreditLimit());
            Console.WriteLine("CreditCahrge: " + cd.GetCreditCharge());
        }
Esempio n. 2
0
 public CreditFactoryTests()
 {
     _sut = new CreditFactory();
 }
Esempio n. 3
0
 static void Main(string[] args)
 {
     CreditFactory.CardType("Platinum");
 }