public function get($orderId, array $params = array())
    {
        $endpoint = '/admin/orders/'.$orderId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Order::class, $response['order']);
    }
public function get($orderId, array $params = array())
    {
        $endpoint = '/admin/orders/'.$orderId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Order::class, $response['order']);
    }
public function get ( $ orderId , array $ params = array ( ) ) { $ endpoint = '/admin/orders/' . $ orderId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Order :: class , $ response [ 'order' ] ) ; }
Receive a single Order

@link   https://help.shopify.com/api/reference/order#count
@param  integer $orderId
@param  array   $params
@return Order
Receive a single Order