Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / ICouponRepository Interface
Methods

In This Topic
    ICouponRepository Interface Members
    In This Topic

    The following tables list the members exposed by ICouponRepository.

    Public Methods
     NameDescription
     Method Count all items in the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Count all items matching the criteria (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Counts the number of Coupon objects for the given StoreId in the database.  
     Method Counts the number of users using the given coupon code  
     Method Counts the numer of times the given coupon has been used by a particular user  
     Method Deletes an item from the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Load item given the primary key (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Load all items (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Loads a Coupon object for the given coupon code  
     Method Load all items matching the criteria (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Loads a collection of Coupon objects for the given StoreId from the database  
     Method Saves item to the database (Inherited from CommerceBuilder.DomainModel.IRepositoryWithTypedId<Coupon,int>)
     Method Search coupons  
     Method Counts the number of Coupon objects  
    Top
    See Also