ECommerceHelperGetDiscountsTypeEnum Method |
Converts discount type string value to DiscountTypeEnum. Default value is DiscountTypeEnum.CustomDiscount.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static DiscountTypeEnum GetDiscountsTypeEnum(
string type
)
Parameters
- type
- Type: SystemString
Discounts type.
'VolumeDiscount' for volume discount, 'CustomDiscount' for custom discount.
Return Value
Type:
DiscountTypeEnumSee Also