Testing.ProductListPriceHistory.CreateProductListPriceHistory C# (CSharp) Méthode

CreateProductListPriceHistory() public static méthode

Create a new ProductListPriceHistory object.
public static CreateProductListPriceHistory ( global productID, global startDate, global listPrice, global modifiedDate ) : ProductListPriceHistory
productID global Initial value of the ProductID property.
startDate global Initial value of the StartDate property.
listPrice global Initial value of the ListPrice property.
modifiedDate global Initial value of the ModifiedDate property.
Résultat ProductListPriceHistory
        public static ProductListPriceHistory CreateProductListPriceHistory(global::System.Int32 productID, global::System.DateTime startDate, global::System.Decimal listPrice, global::System.DateTime modifiedDate)
        {
            ProductListPriceHistory productListPriceHistory = new ProductListPriceHistory();
            productListPriceHistory.ProductID = productID;
            productListPriceHistory.StartDate = startDate;
            productListPriceHistory.ListPrice = listPrice;
            productListPriceHistory.ModifiedDate = modifiedDate;
            return productListPriceHistory;
        }