Beispiel #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);
 }
		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);
		}