public function Package::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
Overrides PackageInterface::setAddresses
File
- shipping/
uc_fulfillment/ src/ Package.php, line 396
Class
- Package
- Defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function setAddresses(array $addresses) {
$this->addresses = $addresses;
return $this;
}