Click or drag to resize
CouponCodesViewModel Class
View model class allows to display multiple coupons in ASCX and text transformations
Inheritance Hierarchy
SystemObject
  CMS.Ecommerce.Web.UICouponCodesViewModel

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 11.0.0
Syntax
C#
public sealed class CouponCodesViewModel : IEnumerable<CouponCodeViewModel>, 
	IEnumerable

The CouponCodesViewModel type exposes the following members.

Constructors
  NameDescription
Public methodCouponCodesViewModel
Creates a new instance of CouponCodesViewModel.
Top
Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Top
Extension Methods
  NameDescription
Public Extension MethodBatchCouponCodeViewModel
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodToHashSetCouponCodeViewModel
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also