Exemple #1
0
        public LicenseBuilder WithTransaction(Nullable <DateTime> created, CreditCard creditCard, Price price)
        {
            Transaction transaction = new Transaction();

            transaction.Created    = created;
            transaction.CreditCard = creditCard;
            transaction.Price      = price;
            transactions.Add(transaction);
            return(this);
        }