You are here

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\Entity

Code

public function setTrackingCode($tracking_code);