Click or drag to resize
ECommerceHelperGetDiscountsTypeEnum Method
Converts discount type string value to DiscountTypeEnum. Default value is DiscountTypeEnum.CustomDiscount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static DiscountTypeEnum GetDiscountsTypeEnum(
	string type
)

Parameters

type
Type: SystemString
Discounts type. 'VolumeDiscount' for volume discount, 'CustomDiscount' for custom discount.

Return Value

Type: DiscountTypeEnum
See Also