Click or drag to resize
GiftCardCouponCodeInfoProviderGetGiftCardCouponCodeInfo Method (String, SiteInfoIdentifier)

Note: This API is now obsolete.

Returns GiftCardCouponCodeInfo with specified name.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IGiftCardCouponCodeInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - GiftCardCouponCodeInfo.Provider.")]
public static GiftCardCouponCodeInfo GetGiftCardCouponCodeInfo(
	string name,
	SiteInfoIdentifier siteIdentifier
)

Parameters

name
Type: SystemString
GiftCardCouponCodeInfo name
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
The site identifier

Return Value

Type: GiftCardCouponCodeInfo
See Also