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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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:
IEnumerableGiftCardApplicationSee Also