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