Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemCollection Class / GetDisplayItems Method / GetDisplayItems(IList<OrderItem>,Int32) Method
Order Item List
Id of the order shipment for which to get the order items
In This Topic
    GetDisplayItems(IList<OrderItem>,Int32) Method
    In This Topic
    Gets a collection of all order items in this collection that belong to a particular shipment and prepares them for display, including sorting and combining order coupons.
    Syntax
    [Extension()]
    public static IList<OrderItem> GetDisplayItems( 
       IList<OrderItem> items,
       int orderShipmentId
    )

    Parameters

    items
    Order Item List
    orderShipmentId
    Id of the order shipment for which to get the order items

    Return Value

    Sorted collection of order items for display
    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