public function ShippingRatesEvent::getShipment in Commerce Shipping 8.2
Gets the shipment.
Return value
\Drupal\commerce_shipping\Entity\ShipmentInterface The shipment.
File
- src/
Event/ ShippingRatesEvent.php, line 89
Class
- ShippingRatesEvent
- Defines the event for reacting to shipping rate calculation.
Namespace
Drupal\commerce_shipping\EventCode
public function getShipment() {
return $this->shipment;
}