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)

Validates that the coupon has not expired and is still available for use.

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