public EntitlementBody createEntitlementBody(Set<Product> products,
Entitlement ent, String contentPrefix,
Map<String, EnvironmentContent> promotedContent) {
EntitlementBody toReturn = new EntitlementBody();
toReturn.setConsumer(ent.getConsumer().getUuid());
toReturn.setQuantity(ent.getQuantity());
toReturn.setSubscription(createSubscription(ent));
toReturn.setOrder(createOrder(ent.getPool()));
toReturn.setProducts(createProducts(products, contentPrefix, promotedContent,
ent.getConsumer(), ent));
toReturn.setPool(createPool(ent));
return toReturn;
}