You are here

public function FedExRequest::getShipRequest in Commerce FedEx 8

Gets a new ShipRequest.

Parameters

array $configuration: The Plugin Configuration.

Return value

\NicholasCreativeMedia\FedExPHP\Structs\ProcessShipmentRequest The request.

Overrides FedExRequestInterface::getShipRequest

File

src/FedExRequest.php, line 107

Class

FedExRequest
Manage FedEx API services.

Namespace

Drupal\commerce_fedex

Code

public function getShipRequest(array $configuration) {
  $ship_request = new ProcessShipmentRequest($this
    ->getWebAuthenticationDetail($configuration), $this
    ->getClientDetail($configuration));
  return $ship_request;
}