You are here

public function ShipmentInterface::setPackages in Ubercart 8.4

Sets the packages in this shipment.

Parameters

\Drupal\uc_fulfillment\Package[] $packages: An array of packages in this shipment.

Return value

$this

1 method overrides ShipmentInterface::setPackages()
Shipment::setPackages in shipping/uc_fulfillment/src/Shipment.php
Sets the packages in this shipment.

File

shipping/uc_fulfillment/src/ShipmentInterface.php, line 218

Class

ShipmentInterface
Provides an interface that defines the Shipment class.

Namespace

Drupal\uc_fulfillment

Code

public function setPackages(array $packages);