Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services.Checkout Namespace / BasketService Class / ProcessOrderCoupon Method
The basket
The coupon to be applied
True if you want to save coupon item
In This Topic
    ProcessOrderCoupon Method
    In This Topic
    Process the ordercoupon to the given basket
    Syntax
    protected virtual decimal ProcessOrderCoupon( 
       Basket basket,
       Coupon coupon,
       bool save
    )

    Parameters

    basket
    The basket
    coupon
    The coupon to be applied
    save
    True if you want to save coupon item

    Return Value

    The total value of the coupon applied
    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