public function RateRequestEvent::setShipment in Commerce FedEx 8
Sets the shipment.
Parameters
\Drupal\commerce_shipping\Entity\ShipmentInterface $shipment: The shipment.
Return value
$this
File
- src/
Event/ RateRequestEvent.php, line 118  
Class
- RateRequestEvent
 - Defines the rate request event for FedEx.
 
Namespace
Drupal\commerce_fedex\EventCode
public function setShipment(ShipmentInterface $shipment) {
  $this->shipment = $shipment;
  return $this;
}