LocalDate date = new LocalDate()
.withYear(Integer.parseInt(year))
.withMonthOfYear(Integer.parseInt(month));
request.set("validade", date);
request.set("bandeira", request.enumParam(Bandeira.class, "bandeira"));
request.set("cpf", CPF.parse(request.stringParam("cpf")));
request.set("codigo", Integer.parseInt(request.stringParam("codigo")));
Cartao cartao = null;
cartao = new CartaoCreate(request).createInstance();