CreateFromCache Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a DiscountItemCollection from the specified Cache.
Overload List
Name | Description | |
---|---|---|
CreateFromCache(String) | Creates a DiscountItemCollection from the specified cache name. | |
CreateFromCache(CommerceCache) | Creates a DiscountItemCollection from the specified Cache. |
Top
Remarks
The DiscountItemCollection contains all discounts that meet all of the following criteria:
The parent customer of the discount is not deleted or archived.
The parent campaign of the discount is not deleted or archived.
The parent campaign of the discount is active.
The discount is not deleted or archived.
The discount is active.
The discount has started or will start within one week.
The discount has not ended, or the discount has ended within the past month.