[DataObjectMethod(DataObjectMethodType.Select)] public static IList<PurchaseSummary> GetUserPurchaseHistory( int userId, bool forPaidOrders, int maximumRows, int startRowIndex, string sortExpression )
Parameters
- userId
- User Id to get report data for
- forPaidOrders
- if true only paid orders, otherwise only unpaid orders will be considered
- maximumRows
- Maximum number of rows to retrieve
- startRowIndex
- Starting index from where to start retrieving
- sortExpression
- Sort expression to use for sorting the loaded objects
Return Value
A List of PurchaseSummary objects