public function getShipmentStateLabel($stateOrShipment)
    {
        $state = $stateOrShipment instanceof ShipmentInterface ? $stateOrShipment->getState() : $stateOrShipment;

        return $this->translator->trans(ShipmentStates::getLabel($state));
    }