You are here

public function FedExRequest::getTrackService in Commerce FedEx 8

Gets a new TrackService.

Parameters

array $configuration: The Plugin Configuration.

array $wsdlOptions: Additional options to send to AbstractSoapClientBase.

bool $resetSoapClient: Whether to get a new soap client.

Return value

\NicholasCreativeMedia\FedExPHP\Services\TrackService The track service.

Overrides FedExRequestInterface::getTrackService

File

src/FedExRequest.php, line 98

Class

FedExRequest
Manage FedEx API services.

Namespace

Drupal\commerce_fedex

Code

public function getTrackService(array $configuration, array $wsdlOptions = [], $resetSoapClient = TRUE) {
  $track_service = new TrackService($wsdlOptions, $resetSoapClient, $this
    ->getMode($configuration));
  return $track_service;
}