You are here

public function FedExRequest::getTrackRequest in Commerce FedEx 8

Gets a new TrackRequest.

Parameters

array $configuration: The Plugin Configuration.

Return value

\NicholasCreativeMedia\FedExPHP\Structs\TrackRequest The track request.

Overrides FedExRequestInterface::getTrackRequest

File

src/FedExRequest.php, line 86

Class

FedExRequest
Manage FedEx API services.

Namespace

Drupal\commerce_fedex

Code

public function getTrackRequest(array $configuration) {
  $track_request = new TrackRequest($this
    ->getWebAuthenticationDetail($configuration), $this
    ->getClientDetail($configuration));
  return $track_request;
}