You are here

public function FedExPluginInterface::splitPackage in Commerce FedEx 8

Function splitPackage.

Parameters

array $shipment_items: An Array of shipment items.

\Drupal\commerce_shipping\Entity\ShipmentInterface $shipment: The Shipment.

Return value

array An array of arrays of shipment items.

1 method overrides FedExPluginInterface::splitPackage()
FedExPluginBase::splitPackage in src/Plugin/Commerce/FedEx/FedExPluginBase.php
Function splitPackage.

File

src/Plugin/Commerce/FedEx/FedExPluginInterface.php, line 44

Class

FedExPluginInterface
Defines the base interface for FedEx Service Plugins.

Namespace

Drupal\commerce_fedex\Plugin\Commerce\FedEx

Code

public function splitPackage(array $shipment_items, ShipmentInterface $shipment);