ECommerceHelperGetDiscountsTypeEnum Method |
Converts discount type string value to DiscountTypeEnum. Default value is DiscountTypeEnum.CustomDiscount.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntaxpublic 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