This class manages the volume discounts for particular products.
• | object DeleteVolumeDiscountInfo(int volumeDiscountId) – deletes the TaxClassInfo object with given ID. |
• | void DeleteVolumeDiscounts(int SKUId) - deletes all volume discounts for the given SKU (product). |
• | object GetVolumeDiscountInfo(int volumeDiscountId) - returns volume discount. |
• | object GetVolumeDiscountInfo(int SKUId, int units) - returns volume discount object for given SKU (product) and given quantity of the product. |
• | DataSet GetVolumeDiscounts(int SKUId) - returns DataSet with all volume discounts for the given SKU (product). |
• | void SetVolumeDiscountInfo(object volumeDiscount) - saves the volume discount to the database. |
• | object GetVolumeDiscounts(string where, string orderBy) - returns the DataSet of all the volume discounts filtered by where condition and ordered by orderBy expression, see the database reference for the volume discount column definition. |
Page url:
http://devnet.kentico.com/docs/ecommerceguide/index.html?customvolumediscountinfoprovider.htm