You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > CouponApi Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CouponApi Class

Api class for managing Commerce Coupons in Cms.

C#
public class CouponApi : CommonApiBase;
Visual Basic
Public Class CouponApi
Inherits CommonApiBase

CouponApi.cs

Name 
Description 
The methods of the CouponApi class are listed here. 
 
Name 
Description 
 
Add 
Saves an new couponData object. CouponData.Id will be populated with the newly created Id.  
 
Applys a coupon to a catalog.  
 
Applys a coupon to a product.  
 
Applys a coupon to a catalog.  
 
Applies a coupon to a customer's basket.  
 
This is the overview for the CalculateBasketCoupons method overload. 
 
Deactivate a coupondata object.  
 
Deletes a coupondata object.  
 
Deletes all the products a coupon is applied to accept the products included in the ExclusionList.  
 
retrieves list of CouponEntryData for catalogs with coupons applied to them.  
 
Retrievies a list of coupons applied to a basket.  
 
Retrieves a CouponData object by Id.  
 
Retrieves list of couponData objects for a given customer.  
 
This is the overview for the GetProductList method overload. 
 
retrieves list of CouponEntryData for taxonomies with coupons applied to them.  
 
Returns true if the coupon is applied to the catalog entry.  
 
Checks if coupon has been applied to a basket.  
 
Checks if coupon has been used by an order.  
 
Saves all the applications (taxonomy, catalog, product) for a given coupon. This is assumed to be an all inclusive lists. Any existing coupon applications that are not included will be deleted.  
 
Updates the supplied CouponData object.  
 
This is the overview for the ValidateCoupon method overload. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!