public void GenerateRecipt() { recipt = ReciptFactory.ReciptFact(ReciptType.duplicate.ToString()); payment = PaymentFactory.PaymentFact("agent"); Console.WriteLine(recipt.GenerateRecipt()); Console.WriteLine(payment.GenerateComission()); }