public function ShipmentInterface::setTrackingCode in Commerce Shipping 8.2
Sets the shipment tracking code.
Parameters
string $tracking_code: The shipment tracking code.
Return value
$this
1 method overrides ShipmentInterface::setTrackingCode()
- Shipment::setTrackingCode in src/
Entity/ Shipment.php - Sets the shipment tracking code.
File
- src/
Entity/ ShipmentInterface.php, line 325
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function setTrackingCode($tracking_code);