Click or drag to resize
IGiftCardSourceGetGiftCards Method
Returns the gift card collection for the specified data. Applied gift cards must be running, applicable for the given User and satisfy the gift card conditions. Only gift cards satisfying the minimum order amount are returned.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
IEnumerable<GiftCardApplication> GetGiftCards(
	CalculatorData data,
	decimal orderAmount
)

Parameters

data
Type: CMS.EcommerceCalculatorData
Calculation data
orderAmount
Type: SystemDecimal
Order amount which is used to filter applicable gift cards. (specified in the calculation currency)

Return Value

Type: IEnumerableGiftCardApplication
See Also