Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / ICouponCalculator Interface / IsCouponAlreadyUsed Method
The basket to check
The coupon to check
In This Topic
    IsCouponAlreadyUsed Method (ICouponCalculator)
    In This Topic
    Checks if the given coupon is already used in a basket
    Syntax
    bool IsCouponAlreadyUsed( 
       Basket basket,
       Coupon coupon
    )

    Parameters

    basket
    The basket to check
    coupon
    The coupon to check

    Return Value

    true if coupon is already used in basket, false otherwise
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also