lib/mercadopago.php
public function get_preference($id) {
        $request = array(
            "uri" => "/checkout/preferences/{$id}",
            "params" => array(
                "access_token" => $this->get_access_token()
            )
        );

        $preference_result = MPRestClient::get($request);
        return $preference_result;
    }
public function get_preference($id) {
        $request = array(
            "uri" => "/checkout/preferences/{$id}",
            "params" => array(
                "access_token" => $this->get_access_token()
            )
        );

        $preference_result = MPRestClient::get($request);
        return $preference_result;
    }
public function get_preference ( $ id ) { $ request = array ( "uri" => "/checkout/preferences/{$id}" , "params" => array ( "access_token" => $ this -> get_access_token ( ) ) ) ; $ preference_result = MPRestClient :: get ( $ request ) ; return $ preference_result ; }
Get a checkout preference
@param string $id
@return array(json)
Get a checkout preference