public function ShipmentInterface::getShippingMethodId in Commerce Shipping 8.2
Gets the shipping method ID.
Return value
int|null The shipping method ID, or NULL if unknown.
1 method overrides ShipmentInterface::getShippingMethodId()
- Shipment::getShippingMethodId in src/
Entity/ Shipment.php - Gets the shipping method ID.
File
- src/
Entity/ ShipmentInterface.php, line 93
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getShippingMethodId();