pricingtemplate.addLink(new RESTLink("currency", "http://localhost/api/config/currencies/1"));
return pricingtemplate;
}
public static Object pricingtemplatePut() {
PricingTemplateDto pricingtemplate = new PricingTemplateDto();
pricingtemplate.setName("pricing template");
pricingtemplate.setDescription("pt_description");
pricingtemplate.setHdGB(new BigDecimal(0));
pricingtemplate.setStandingChargePeriod(new BigDecimal(0));
pricingtemplate.setVlan(new BigDecimal(0));
pricingtemplate.setChargingPeriod(1);
pricingtemplate.setMinimumChargePeriod(new BigDecimal(0));
pricingtemplate.setShowChangesBefore(true);
pricingtemplate.setShowMinimumCharge(false);
pricingtemplate.setMinimumCharge(2);
pricingtemplate.setPublicIp(new BigDecimal(0));
pricingtemplate.setVcpu(new BigDecimal(0));
pricingtemplate.setMemoryGB(new BigDecimal(0));
pricingtemplate.setDefaultTemplate(true);
pricingtemplate.addLink(new RESTLink("currency", "http://localhost/api/config/currencies/1"));
pricingtemplate.setId(1);
pricingtemplate.addLink(new RESTLink("edit", "http://localhost/api/config/pricingtemplates/1"));
return pricingtemplate;
}