public function getOrderDetails($orderId)
    {
        if (is_null($orderId) || $orderId == '') {
            throw new Exception('The orderId is required to get the details or an order.');
        }

        $params = array(
            'method' => 'sp.order.get_details',
            'order_id' => $orderId
        );

        return $this->_makeApiRequest($params);
    }
public function getOrderDetails($orderId)
    {
        if (is_null($orderId) || $orderId == '') {
            throw new Exception('The orderId is required to get the details or an order.');
        }

        $params = array(
            'method' => 'sp.order.get_details',
            'order_id' => $orderId
        );

        return $this->_makeApiRequest($params);
    }
public function getOrderDetails ( $ orderId ) { if ( is_null ( $ orderId ) || $ orderId == '' ) { throw new Exception ( 'The orderId is required to get the details or an order.' ) ; } $ params = array ( 'method' => 'sp.order.get_details' , 'order_id' => $ orderId ) ; return $ this -> _makeApiRequest ( $ params ) ; }
Method to get the details for an order

@param integer $orderId
@return array
Method to get the details for an order