EasyPost\Batch::label PHP Метод

label() публичный Метод

public label ( mixed $params = null )
$params mixed
    public function label($params = null)
    {
        $requestor = new Requestor($this->_apiKey);
        $url = $this->instanceUrl() . '/label';
        list($response, $apiKey) = $requestor->request('post', $url, $params);
        $this->refreshFrom($response, $apiKey, true);
        return $this;
    }