GiftCardInfoProviderGetRunningGiftCards Method |
Gets running gift cards on given sites in defined time. If gift card uses coupons, only gift cards with usable coupons are returned.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public static ObjectQuery<GiftCardInfo> GetRunningGiftCards(
SiteInfoIdentifier site,
DateTime date
)
Parameters
- site
- Type: CMS.DataEngineSiteInfoIdentifier
Site to get active gift cards for - date
- Type: SystemDateTime
Time when gift card should be active
Return Value
Type:
ObjectQueryGiftCardInfoSee Also