Manage the returned state
Allow to manage different events in the response.
When a shipment is returned, the event "En proceso de devolución" is raised and the shipment is relabeled to the return shipment. We need to check all the events in the shipment to find the return code and mark the shipment as returned.