public function barcode($params = null)
    {
        $requestor = new Requestor($this->_apiKey);
        $url = $this->instanceUrl() . '/barcode';

        list($response, $apiKey) = $requestor->request('get', $url, $params);

        return $response['barcode_url'];
    }
public function barcode($params = null)
    {
        $requestor = new Requestor($this->_apiKey);
        $url = $this->instanceUrl() . '/barcode';

        list($response, $apiKey) = $requestor->request('get', $url, $params);

        return $response['barcode_url'];
    }
public function barcode ( $ params = null ) { $ requestor = new Requestor ( $ this -> _apiKey ) ; $ url = $ this -> instanceUrl ( ) . '/barcode' ; list ( $ response , $ apiKey ) = $ requestor -> request ( 'get' , $ url , $ params ) ; return $ response [ 'barcode_url' ] ; }
get the shipment barcode

@param mixed $params
@return mixed
@throws \EasyPost\Error
get the shipment barcode