You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > CouponApi Class > CouponApi Methods > ValidateCoupon Method > ValidateCoupon
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CouponApi.ValidateCoupon Method (long, long)

Validates that the coupon has not expired and is still available for use and can be used on the supplied product.

C#
public bool ValidateCoupon(long couponId, long productId);
Visual Basic
Public Function ValidateCoupon(couponId As long, productId As long) As bool
Parameters 
Description 
couponId 
Id of coupon to validate. 
productId 
Id of Product to validate for use with coupon. 
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!