Click or drag to resize
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.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
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: ObjectQueryGiftCardInfo
See Also