You are here

public function USPSShipmentEvent::getShipment in Commerce USPS 8

Gets the shipment.

Return value

\Drupal\commerce_shipping\Entity\ShipmentInterface The shipment.

File

src/Event/USPSShipmentEvent.php, line 67

Class

USPSShipmentEvent
Rate request event for USPS.

Namespace

Drupal\commerce_usps\Event

Code

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