public function ShipmentInterface::populateFromProposedShipment in Commerce Shipping 8.2
Populates the shipment from the given proposed shipment.
Parameters
\Drupal\commerce_shipping\ProposedShipment $proposed_shipment: The proposed shipment.
1 method overrides ShipmentInterface::populateFromProposedShipment()
- Shipment::populateFromProposedShipment in src/
Entity/ Shipment.php - Populates the shipment from the given proposed shipment.
File
- src/
Entity/ ShipmentInterface.php, line 33
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function populateFromProposedShipment(ProposedShipment $proposed_shipment);