return result;
}
public static Order create(String name, int itens, boolean basic) {
Order result = new Order();
result.setUser(create(name));
if (basic) {
result.setAccount(createBasicAccount());
} else {
result.setAccount(createPremiunAccount());
}
for (int i = 0; i < itens; i++) {
result.getNotes().add("Note" + i);
result.getItens().add(createIten(i));
result.getInfo().getAddress().add(createAdress(i));
}
return result;
}