public function ShipmentInterface::setData in Commerce Shipping 8.2
Sets a shipment data value with the given key.
Parameters
string $key: The key.
mixed $value: The value.
Return value
$this
1 method overrides ShipmentInterface::setData()
- Shipment::setData in src/
Entity/ Shipment.php  - Sets a shipment data value with the given key.
 
File
- src/
Entity/ ShipmentInterface.php, line 360  
Class
- ShipmentInterface
 - Defines the interface for shipments.
 
Namespace
Drupal\commerce_shipping\EntityCode
public function setData($key, $value);