You are here

public function ShipmentInterface::getTrackingCode in Commerce Shipping 8.2

Gets the shipment tracking code.

Only available if shipping method supports tracking and the shipment itself has been shipped.

Return value

string|null The shipment tracking code, or NULL if unknown.

1 method overrides ShipmentInterface::getTrackingCode()
Shipment::getTrackingCode in src/Entity/Shipment.php
Gets the shipment tracking code.

File

src/Entity/ShipmentInterface.php, line 315

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function getTrackingCode();