Click or drag to resize
DiscountCouponInfoProviderGetDiscountCouponInfoInternal 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: 9.0.0
Syntax
C#
protected virtual DiscountCouponInfo GetDiscountCouponInfoInternal(
	string couponCode,
	string siteName
)

Parameters

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

Return Value

Type: DiscountCouponInfo
See Also