Click or drag to resize
GiftCardCouponCodeInfoProviderCreateGiftCardCoupon Method
Creates and saves new coupon for specified gift card. NOTE: The uniqueness is not checked.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static GiftCardCouponCodeInfo CreateGiftCardCoupon(
	GiftCardInfo giftCard,
	string code
)

Parameters

giftCard
Type: CMS.EcommerceGiftCardInfo
The gift card
code
Type: SystemString
The code

Return Value

Type: GiftCardCouponCodeInfo
See Also