private static PricePerDatePerType CreatePricePerDatePerType(double price, int year, int month, string saproductcode, string type) { PricePerDatePerType newPricePerDatePerType = new PricePerDatePerType(); newPricePerDatePerType.YearT = year; newPricePerDatePerType.MonthT = month; newPricePerDatePerType.Price = price; newPricePerDatePerType.SAPRODUCTCODE = saproductcode; newPricePerDatePerType.PRICETYPE = type; return newPricePerDatePerType; }
/// <summary> /// Create a new PricePerDatePerType object. /// </summary> /// <param name="monthT">Initial value of the MonthT property.</param> /// <param name="yearT">Initial value of the YearT property.</param> /// <param name="sAPRODUCTCODE">Initial value of the SAPRODUCTCODE property.</param> /// <param name="pRICETYPE">Initial value of the PRICETYPE property.</param> /// <param name="price">Initial value of the Price property.</param> public static PricePerDatePerType CreatePricePerDatePerType(global::System.Int32 monthT, global::System.Int32 yearT, global::System.String sAPRODUCTCODE, global::System.String pRICETYPE, global::System.Double price) { PricePerDatePerType pricePerDatePerType = new PricePerDatePerType(); pricePerDatePerType.MonthT = monthT; pricePerDatePerType.YearT = yearT; pricePerDatePerType.SAPRODUCTCODE = sAPRODUCTCODE; pricePerDatePerType.PRICETYPE = pRICETYPE; pricePerDatePerType.Price = price; return pricePerDatePerType; }