You are here

public function Shipment::setDestination in Ubercart 8.4

Sets the destination address for this shipment.

Parameters

\Drupal\uc_store\AddressInterface $destination: The destination address.

Return value

$this

Overrides ShipmentInterface::setDestination

File

shipping/uc_fulfillment/src/Shipment.php, line 329

Class

Shipment
Defines the Shipment class.

Namespace

Drupal\uc_fulfillment

Code

public function setDestination(AddressInterface $destination) {
  $this->destination = $destination;
  return $this;
}