deliveryMethodForm.setName(deliveryMethod.getName());
deliveryMethodForm.setDescription(deliveryMethod.getDescription());
Map<String, String> prices = new HashMap<String, String>();
for (Iterator<DeliveryMethodPrice> iterator = deliveryMethod.getPrices().iterator(); iterator.hasNext();) {
DeliveryMethodPrice deliveryMethodPrice = (DeliveryMethodPrice) iterator.next();
deliveryMethodForm.getPrices().put(deliveryMethodPrice.getCurrency().getCode(), deliveryMethodPrice.getPrice().toString());
}
}
return deliveryMethodForm;
}