You are here

public function FedExRequest::getRateRequest in Commerce FedEx 8

Gets a new rate request.

Parameters

array $configuration: The plugin configuration.

Return value

\NicholasCreativeMedia\FedExPHP\Structs\RateRequest The rate request.

Overrides FedExRequestInterface::getRateRequest

File

src/FedExRequest.php, line 65

Class

FedExRequest
Manage FedEx API services.

Namespace

Drupal\commerce_fedex

Code

public function getRateRequest(array $configuration) {
  $rate_request = new RateRequest($this
    ->getWebAuthenticationDetail($configuration), $this
    ->getClientDetail($configuration));
  return $rate_request;
}