public function ShipmentInterface::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
1 method overrides ShipmentInterface::setOrigin()
- Shipment::setOrigin in shipping/
uc_fulfillment/ src/ Shipment.php - Sets the origin address for this shipment.
File
- shipping/
uc_fulfillment/ src/ ShipmentInterface.php, line 236
Class
- ShipmentInterface
- Provides an interface that defines the Shipment class.
Namespace
Drupal\uc_fulfillmentCode
public function setOrigin(AddressInterface $origin);