use of org.talend.services.reservation.types.RESCarType in project tesb-rt-se by Talend.
the class ReservationServiceImpl method createCar.
private RESCarType createCar(String id, String designModel, String clazz, String brand, String rateDay, String rateWeekend, String guarantee) {
RESCarType car = resFactory.createRESCarType();
car.setCarId(id);
car.setBrand(brand);
car.setClazz(clazz);
car.setDesignModel(designModel);
car.setRateDay(rateDay);
car.setRateWeekend(rateWeekend);
car.setSecurityGuarantee(guarantee);
return car;
}
Aggregations