src/Services/OrderService.php
public function getUserOrders($userId, UserOrderCriteria $criteria = null)
    {
        $criteria = $criteria ?: UserOrderCriteria::create();

        return $this->request(new GetUserOrdersRequest($userId, $criteria));
    }
public function getUserOrders($userId, UserOrderCriteria $criteria = null)
    {
        $criteria = $criteria ?: UserOrderCriteria::create();

        return $this->request(new GetUserOrdersRequest($userId, $criteria));
    }
@param int               $userId
@param UserOrderCriteria $criteria

@return OrderCollection

@throws OrdercloudRequestException