コード例 #1
0
ファイル: PriceResult.cs プロジェクト: siva497/AX7v2RetailSDK
 /// <summary>
 /// Initializes a new instance of the <see cref="PriceResult"/> struct.
 /// </summary>
 /// <param name="price">Price of the result.</param>
 /// <param name="includesTax">Does the result include tax.</param>
 /// <param name="maximumRetailPriceIndia">Maximum retail price.</param>
 /// <param name="custPriceGroup">Customer price group.</param>
 public PriceResult(decimal price, PriceGroupIncludesTax includesTax, decimal maximumRetailPriceIndia = decimal.Zero, string custPriceGroup = null)
 {
     this.Price                   = price;
     this.IncludesTax             = includesTax;
     this.MaximumRetailPriceIndia = maximumRetailPriceIndia;
     this.CustPriceGroup          = custPriceGroup;
 }
コード例 #2
0
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="price"></param>
        /// <param name="includesTax"></param>
        public PriceResult(decimal price, PriceGroupIncludesTax includesTax)
        {
            Price       = price;
            IncludesTax = includesTax;

            IndiaMRP = 0;
        }