Common/Model/Notify.php
public function removeShipment(ShipmentInterface $shipment)
    {
        if ($this->shipments->contains($shipment)) {
            $this->shipments->removeElement($shipment);
        }

        return $this;
    }
public function removeShipment(ShipmentInterface $shipment)
    {
        if ($this->shipments->contains($shipment)) {
            $this->shipments->removeElement($shipment);
        }

        return $this;
    }
Removes the shipment.

@param ShipmentInterface $shipment

@return Notify