public void Init()
		{
			serviceClient = new PriceListAssignmentServiceClient();
			
			// create test PriceListAssignments that can be used with the create and update methods
			TQuantityDiscount quantityDiscount1 = new TQuantityDiscount();
			quantityDiscount1.Quantity = 100;
			quantityDiscount1.Discount = 10;
			TQuantityDiscount quantityDiscount2 = new TQuantityDiscount();
			quantityDiscount2.Quantity = 200;
			quantityDiscount2.Discount = 20;
			quantityDiscounts = new TQuantityDiscount[]{quantityDiscount1, quantityDiscount2};

			TValueDiscount valueDiscount1 = new TValueDiscount();
			valueDiscount1.Value = 100;
			valueDiscount1.Discount = 10;
			TValueDiscount valueDiscount2 = new TValueDiscount();
			valueDiscount2.Value = 200;
			valueDiscount2.Discount = 20;
			valueDiscounts = new TValueDiscount[]{valueDiscount1, valueDiscount2};

			TScalePrice scalePrice1 = new TScalePrice();
			scalePrice1.Quantity = 10;
			scalePrice1.Price = 100;
			TScalePrice scalePrice2 = new TScalePrice();
			scalePrice2.Quantity = 20;
			scalePrice2.Price = 200;
			scalePrices = new TScalePrice[]{scalePrice1, scalePrice2};
		}
        public void Init()
        {
            serviceClient = new PriceListAssignmentServiceClient();

            // create test PriceListAssignments that can be used with the create and update methods
            TQuantityDiscount quantityDiscount1 = new TQuantityDiscount();

            quantityDiscount1.Quantity = 100;
            quantityDiscount1.Discount = 10;
            TQuantityDiscount quantityDiscount2 = new TQuantityDiscount();

            quantityDiscount2.Quantity = 200;
            quantityDiscount2.Discount = 20;
            quantityDiscounts          = new TQuantityDiscount[] { quantityDiscount1, quantityDiscount2 };

            TValueDiscount valueDiscount1 = new TValueDiscount();

            valueDiscount1.Value    = 100;
            valueDiscount1.Discount = 10;
            TValueDiscount valueDiscount2 = new TValueDiscount();

            valueDiscount2.Value    = 200;
            valueDiscount2.Discount = 20;
            valueDiscounts          = new TValueDiscount[] { valueDiscount1, valueDiscount2 };

            TScalePrice scalePrice1 = new TScalePrice();

            scalePrice1.Quantity = 10;
            scalePrice1.Price    = 100;
            TScalePrice scalePrice2 = new TScalePrice();

            scalePrice2.Quantity = 20;
            scalePrice2.Price    = 200;
            scalePrices          = new TScalePrice[] { scalePrice1, scalePrice2 };
        }