Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / Coupon Class / AppliesToShipment Method
The basket
The basket shipment
In This Topic
    AppliesToShipment Method
    In This Topic
    Determines if a coupon applies to a shipment
    Syntax
    public virtual bool AppliesToShipment( 
       Basket basket,
       BasketShipment shipment
    )

    Parameters

    basket
    The basket
    shipment
    The basket shipment

    Return Value

    True if the coupon is valid for the shipment; 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