public function Shipment::setShippedTime in Commerce Shipping 8.2
Sets the shipment shipped timestamp.
Parameters
int $timestamp: The shipment shipped timestamp.
Return value
$this
Overrides ShipmentInterface::setShippedTime
File
- src/
Entity/ Shipment.php, line 489
Class
- Shipment
- Defines the shipment entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function setShippedTime($timestamp) {
$this
->set('shipped', $timestamp);
return $this;
}