You are here

public function AvataxLib::setClient in Drupal Commerce Connector for AvaTax 8

Sets the http client.

Parameters

\GuzzleHttp\Client $client: The http client.

Return value

$this

File

src/AvataxLib.php, line 533

Class

AvataxLib
The AvaTax integration library.

Namespace

Drupal\commerce_avatax

Code

public function setClient(Client $client) {
  $this->client = $client;
  return $this;
}