* @param attributes
* @return
* @throws ServiceException
*/
private Shipment buildShipment(Map<String, Object> attributes) throws ServiceException {
Shipment shipment = new Shipment();
for (Map.Entry<String, Object> attr : attributes.entrySet()) shipment.set(attr.getKey(), attr.getValue());
return shipment;
}