Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / ICouponCalculator Interface / ApplyCoupon Method
The basket object
The coupon to apply
In This Topic
    ApplyCoupon Method (ICouponCalculator)
    In This Topic
    Applies a coupon to the given basket
    Syntax
    [Obsolete("Replaced by IBasketService.ApplyCoupon")]
    decimal ApplyCoupon( 
       Basket basket,
       Coupon coupon
    )

    Parameters

    basket
    The basket object
    coupon
    The coupon to apply

    Return Value

    Result of the coupon application
    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