Search in sources :

Example 6 with RESCarType

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;
}
Also used : RESCarType(org.talend.services.reservation.types.RESCarType)

Aggregations

RESCarType (org.talend.services.reservation.types.RESCarType)6 ConfirmationType (org.talend.services.reservation.types.ConfirmationType)4 CustomerDetailsType (org.talend.services.crm.types.CustomerDetailsType)3 RESStatusType (org.talend.services.reservation.types.RESStatusType)3 BigInteger (java.math.BigInteger)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1 SearchRequestParameters (org.talend.esb.client.app.model.SearchRequestParameters)1 RESStatucCodeType (org.talend.services.reservation.types.RESStatucCodeType)1