Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderRepository Interface / LoadForCouponCode Method
Coupon Code for which to load the associated orders
start date to consider when loading orders
end date to consider when loading orders
Sort expression to use for sorting the loaded objects
In This Topic
    LoadForCouponCode Method (IOrderRepository)
    In This Topic
    Loads a collection of orders associated to the given coupon code
    Syntax

    Parameters

    couponCode
    Coupon Code for which to load the associated orders
    startDate
    start date to consider when loading orders
    endDate
    end date to consider when loading orders
    sortExpression
    Sort expression to use for sorting the loaded objects

    Return Value

    A collection of orders associated to the given coupon code
    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