Click or drag to resize
DiscountCouponInfoProviderGetDiscountCouponInfo Method (String, String)
Returns discount coupon with specified code. If site coupon is not found and global coupons are allowed, tries to search for global coupon with the same code.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static DiscountCouponInfo GetDiscountCouponInfo(
	string couponCode,
	string siteName
)

Parameters

couponCode
Type: SystemString
Discount coupon code
siteName
Type: SystemString
Site name

Return Value

Type: DiscountCouponInfo
See Also