You are here

public function USPSRateRequestEvent::getShipment in Commerce USPS 8

Gets the shipment.

Return value

\Drupal\commerce_shipping\Entity\ShipmentInterface The shipment.

File

src/Event/USPSRateRequestEvent.php, line 68

Class

USPSRateRequestEvent
Rate request event for USPS.

Namespace

Drupal\commerce_usps\Event

Code

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