public function searchPickupPointsByText($query_text, $service_provider = null, $limit = 5)
    {
        if ( $query_text == null || trim($query_text) == '' ) {
            return '[]';
        }

        $post_params = array(
            'query'             => (string) $query_text,
            'service_provider'  => (string) $service_provider,
            'limit'             => (int) $limit
        );

        return $this->doPost('/pickup-points/search', $post_params);
    }
public function searchPickupPointsByText($query_text, $service_provider = null, $limit = 5)
    {
        if ( $query_text == null || trim($query_text) == '' ) {
            return '[]';
        }

        $post_params = array(
            'query'             => (string) $query_text,
            'service_provider'  => (string) $service_provider,
            'limit'             => (int) $limit
        );

        return $this->doPost('/pickup-points/search', $post_params);
    }
public function searchPickupPointsByText ( $ query_text , $ service_provider = null , $ limit = 5 ) { if ( $ query_text == null || trim ( $ query_text ) == '' ) { return '[]' ; } $ post_params = array ( 'query' => ( string ) $ query_text , 'service_provider' => ( string ) $ service_provider , 'limit' => ( int ) $ limit ) ; return $ this -> doPost ( '/pickup-points/search' , $ post_params ) ; }
Searches pickup points with a text query. For best results the query should contain a full address

@param $query_text Text containing the full address, for example: "Keskustori 1, 33100 Tampere"
@param string $service_provider $service_provider Limits results for to certain providers possible values: Posti, Matkahuolto, Db Schenker.
@param int $limit 1 - 15
@return mixed
Searches pickup points with a text query . For best results the query should contain a full address