You are here

public function FedExRequest::getShipService in Commerce FedEx 8

Gets a new ShipService.

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\ShipService The ship service.

Overrides FedExRequestInterface::getShipService

File

src/FedExRequest.php, line 119

Class

FedExRequest
Manage FedEx API services.

Namespace

Drupal\commerce_fedex

Code

public function getShipService(array $configuration, array $wsdlOptions = [], $resetSoapClient = TRUE) {
  $ship_service = new ShipService($wsdlOptions, $resetSoapClient, $this
    ->getMode($configuration));
  return $ship_service;
}