/** * @param IShipment * @return self */ protected function _extractOrderDetailShipmentInfo(IShipment $shipment) { $shipmentData = $this->_extractData($shipment, $this->_detailConfigMap[static::SHIPMENT_DATA_KEY]); $shipmentData['order'] = $this; $this->getShipmentsCollection()->addItem($this->_factory->getNewDetailProcessResponseShipment($shipmentData)); return $this; }