You are here

public function PackageInterface::setAddresses in Ubercart 8.4

Sets the list of ship-from addresses for this package.

Parameters

\Drupal\uc_store\AddressInterface[] $addresses: The package's addresses.

Return value

$this

1 method overrides PackageInterface::setAddresses()
Package::setAddresses in shipping/uc_fulfillment/src/Package.php
Sets the list of ship-from addresses for this package.

File

shipping/uc_fulfillment/src/PackageInterface.php, line 298

Class

PackageInterface
Provides an interface that defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setAddresses(array $addresses);