public function Shipment::getShippingService in Commerce Shipping 8.2
Gets the shipping service.
Return value
string|null The shipping service, or NULL if unknown.
Overrides ShipmentInterface::getShippingService
File
- src/
Entity/ Shipment.php, line 191
Class
- Shipment
- Defines the shipment entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function getShippingService() {
return $this
->get('shipping_service')->value;
}