Example #1
0
 public FlatDiscountedRangedPrice(IDiscountedRangedPrice price)
 {
     WithVat        = new FlatPrice(price.WithVat);
     WithoutVat     = new FlatPrice(price.WithoutVat);
     Vat            = new FlatPrice(price.Vat);
     BeforeDiscount = new FlatRangedPrice(price.BeforeDiscount);
     Discount       = new FlatVatPrice(price.Discount);
     Ranged         = new FlatDiscountedPrice(price.Ranged);
 }
Example #2
0
		public FlatDiscountedRangedPrice(IDiscountedRangedPrice price)
		{
			WithVat = new FlatPrice(price.WithVat);
			WithoutVat = new FlatPrice(price.WithoutVat);
			Vat = new FlatPrice(price.Vat);
			BeforeDiscount = new FlatRangedPrice(price.BeforeDiscount);
			Discount = new FlatVatPrice(price.Discount);
			Ranged = new FlatDiscountedPrice(price.Ranged);
		}