public function Shipment::setOrigin in Ubercart 8.4
Sets the origin address for this shipment.
Parameters
\Drupal\uc_store\AddressInterface $origin: The origin address for this shipment.
Return value
$this
Overrides ShipmentInterface::setOrigin
File
- shipping/
uc_fulfillment/ src/ Shipment.php, line 314
Class
- Shipment
- Defines the Shipment class.
Namespace
Drupal\uc_fulfillmentCode
public function setOrigin(AddressInterface $origin) {
$this->origin = $origin;
return $this;
}