You are here

public function Avatax::addressesResolve in Drupal Commerce Connector for AvaTax 7.5

Retrieve geolocation information for a specified address.

Parameters

array $parameters: An associate array of POST body parameters containing the address to geolocate.

Return value

array See https://developer.avalara.com/api-reference/avatax/rest/v2/models/Addres...

File

lib/Avatax.php, line 137
Defines a class for consuming the Avatax API.

Class

Avatax
Defines the Avatax class.

Code

public function addressesResolve(array $parameters) {
  $parameters += array(
    'textCase' => 'Mixed',
  );
  return $this
    ->doRequest('POST', 'addresses/resolve', $parameters);
}