return (DesignDTOList) ((JAXBElement) command.getOutput()).getValue();
}
public CurrencyDTOList getCurrencies() {
HttpCallCommand command = factory.createJaxbHttpCallCommand(getShop().getCurrencies().getHref()+"?fullData=true", HttpMethod.GET, null);
command.execute();
if (command.getStatus() != 200)
throw new IllegalArgumentException("Shop data not available");
else {
return (CurrencyDTOList) ((JAXBElement) command.getOutput()).getValue();
}