Gets running discounts on given sites in defined time. If discount uses coupons, only discounts with usable coupons are returned.
            
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- site
 - Type: CMS.DataEngine SiteInfoIdentifier
Site to get active discounts for. 
- date
 - Type: 
System DateTime
Time when discount should be active. 
- discountApplicationEnum (Optional)
 - Type: 
System Nullable DiscountApplicationEnum 
Type of discount which will be selected. If null all types are selected. 
Return Value
Type: ObjectQuery DiscountInfoSee Also