Returns dataset of all discounts for specified site.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- siteId
- Type: System Int32
Site ID
- onlyEnabled (Optional)
- Type: System Boolean
True - only enable discounts are returned. False - both enabled and disabled discounts are returned.
Return Value
Type: ObjectQuery DiscountInfoSee Also