Esempio n. 1
0
        /// <summary>
        /// Sets the product cost.
        /// </summary>
        /// <param name="productCost">The product cost.</param>
        /// <returns></returns>
        public virtual PricesComponent SetProductCost(decimal productCost)
        {
            ProductCostElement.SetValue(productCost);

            return(this);
        }
Esempio n. 2
0
 /// <summary>
 /// Gets the product cost.
 /// </summary>
 /// <returns></returns>
 public virtual decimal GetProductCost()
 {
     return(ProductCostElement.GetValue <decimal>());
 }