You are here

public function RateRequestEvent::getShipment in Commerce FedEx 8

Gets the shipment.

Return value

\Drupal\commerce_shipping\Entity\ShipmentInterface The shipment.

File

src/Event/RateRequestEvent.php, line 106

Class

RateRequestEvent
Defines the rate request event for FedEx.

Namespace

Drupal\commerce_fedex\Event

Code

public function getShipment() {
  return $this->shipment;
}