/** * Set the shipping method to use for the order. * * @param Shipping\MethodInterface $option Shipping method to use */ public function setShipping(Shipping\MethodInterface $option) { $this->_order->shippingName = $option->getName(); $this->_order->shippingDisplayName = $option->getDisplayName(); $this->_order->shippingListPrice = $option->getPrice(); return $this->dispatchEvent(); }