Overview

Summary

ContactDonateImprint


5. CAR RENTAL LOCATION MODULE (UI prompt)



Module Entities (9)

EntityAliasModuleGlobal Schema
(1) BookingBookingBookingModuleBookingCom
(2) CarRentalBookingCarRentalBookingCarRentalLocationModuleBookingCom
(3) CarRentalLocationCarRentalLocationCarRentalLocationModuleBookingCom
(4) CarRentalProductCarRentalProductCarCategoryModuleBookingCom
(5) CurrencyCurrencyCurrencyModuleBookingCom
(6) LocationCityLocationCityLocationCityModuleBookingCom
(7) PartnerAccountPartnerAccountPartnerAccountModuleBookingCom
(8) RoomTypeRoomTypeRoomTypeModuleBookingCom
(9) RoomTypeCategoryRoomTypeCategoryCarRentalLocationModuleBookingCom

Module Interfaces (22)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /carrentalbooking/{id}findCarRentalBookingById(id)CarRentalLocationModuleGETCarRentalBooking
(2) /carrentalbookingfindAllCarRentalBooking()CarRentalLocationModuleGETCarRentalBooking
(3) /carrentallocationinsertCarRentalLocation(carrentallocation)CarRentalLocationModulePOSTCarRentalLocation
(4) /carrentalbooking/dropofflocation/{id}findAllCarRentalBookingOfDropoffLocation(id)CarRentalLocationModuleGETCarRentalLocation CarRentalBooking
(5) /roomtypecategory/{id}findRoomTypeCategoryById(id)CarRentalLocationModuleGETRoomTypeCategory
(6) /carrentallocation/locationcity/{id}findAllCarRentalLocationOfLocationCity(id)CarRentalLocationModuleGETLocationCity CarRentalLocation
(7) /carrentalbooking/booking/{id}findAllCarRentalBookingOfBooking(id)CarRentalLocationModuleGETBooking CarRentalBooking
(8) /carrentallocation/partneraccount/{id}findAllCarRentalLocationOfPartnerAccount(id)CarRentalLocationModuleGETPartnerAccount CarRentalLocation
(9) /roomtypecategory/{id}updateRoomTypeCategoryById(roomtypecategory)CarRentalLocationModulePUTRoomTypeCategory
(10) /roomtypecategory/{id}deleteRoomTypeCategoryById(id)CarRentalLocationModuleDELETERoomTypeCategory
(11) /carrentalbooking/currency/{id}findAllCarRentalBookingOfCurrency(id)CarRentalLocationModuleGETCurrency CarRentalBooking
(12) /carrentallocationfindAllCarRentalLocation()CarRentalLocationModuleGETCarRentalLocation
(13) /roomtypecategoryinsertRoomTypeCategory(roomtypecategory)CarRentalLocationModulePOSTRoomTypeCategory
(14) /carrentalbooking/{id}updateCarRentalBookingById(carrentalbooking)CarRentalLocationModulePUTCarRentalBooking
(15) /carrentallocation/{id}updateCarRentalLocationById(carrentallocation)CarRentalLocationModulePUTCarRentalLocation
(16) /carrentalbookinginsertCarRentalBooking(carrentalbooking)CarRentalLocationModulePOSTCarRentalBooking
(17) /carrentallocation/{id}findCarRentalLocationById(id)CarRentalLocationModuleGETCarRentalLocation
(18) /carrentallocation/{id}deleteCarRentalLocationById(id)CarRentalLocationModuleDELETECarRentalLocation
(19) /carrentalbooking/{id}deleteCarRentalBookingById(id)CarRentalLocationModuleDELETECarRentalBooking
(20) /carrentalbooking/carrentalproduct/{id}findAllCarRentalBookingOfCarRentalProduct(id)CarRentalLocationModuleGETCarRentalProduct CarRentalBooking
(21) /carrentalbooking/pickuplocation/{id}findAllCarRentalBookingOfPickupLocation(id)CarRentalLocationModuleGETCarRentalLocation CarRentalBooking
(22) /roomtypecategoryfindAllRoomTypeCategory()CarRentalLocationModuleGETRoomTypeCategory






5.1 CAR RENTAL BOOKING


CarRentalBookingCarRentalLocationModuleBookingCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) BookingINTCarRentalBookingBookingBookingModule
(2) CarRentalProductINTCarRentalBookingCarRentalProductCarCategoryModule
(3) CurrencyINTCarRentalBookingCurrencyCurrencyModule
(4) DropoffDateTimeDATECarRentalBooking
(5) DropoffLocationINTCarRentalBookingCarRentalLocationCarRentalLocationModule
(6) PickupDateTimeDATECarRentalBooking
(7) PickupLocationINTCarRentalBookingCarRentalLocationCarRentalLocationModule
(8) TotalAmountSTRINGCarRentalBooking





Example:

final CarRentalBooking carrentalbooking = (CarRentalBooking) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentalbooking/" + id, CarRentalBooking.class);
if (carrentalbooking != null) {
    final CarRentalProduct carrentalproduct1 = (CarRentalProduct) invokeModule(CAR_CATEGORY_MODULE + "/carrentalproduct/" + carrentalbooking.getCarRentalProduct().getId(), CarRentalProduct.class);
    if (carrentalproduct1 != null) {
        final CarRentalLocation carrentallocation2 = (CarRentalLocation) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentallocation/" + carrentalproduct1.getCarRentalLocation().getId(), CarRentalLocation.class);
        if (carrentallocation2 != null) {
            final LocationCity locationcity3 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + carrentallocation2.getLocationCity().getId(), LocationCity.class);
            if (locationcity3 != null) {
                final LocationRegion locationregion4 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity3.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion4 != null) {
                    final LocationCountry locationcountry5 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion4.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry5 != null) {
                    }
                }
                final LocationCountry locationcountry6 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity3.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry6 != null) {
                }
            }
            final PartnerAccount partneraccount7 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + carrentallocation2.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount7 != null) {
            }
        }
        final CarCategory carcategory8 = (CarCategory) invokeModule(CAR_CATEGORY_MODULE + "/carcategory/" + carrentalproduct1.getCarCategory().getId(), CarCategory.class);
        if (carcategory8 != null) {
        }
    }
    final CarRentalLocation dropofflocation9 = (CarRentalLocation) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentallocation/" + carrentalbooking.getDropoffLocation().getId(), CarRentalLocation.class);
    if (dropofflocation9 != null) {
        final LocationCity locationcity10 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + dropofflocation9.getLocationCity().getId(), LocationCity.class);
        if (locationcity10 != null) {
            final LocationRegion locationregion11 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity10.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion11 != null) {
                final LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion11.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry12 != null) {
                }
            }
            final LocationCountry locationcountry13 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity10.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry13 != null) {
            }
        }
        final PartnerAccount partneraccount14 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + dropofflocation9.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount14 != null) {
        }
    }
    final Booking booking15 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + carrentalbooking.getBooking().getId(), Booking.class);
    if (booking15 != null) {
        final UserAccount useraccount16 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking15.getUserAccount().getId(), UserAccount.class);
        if (useraccount16 != null) {
            final Currency defaultcurrency17 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount16.getDefaultCurrency().getId(), Currency.class);
            if (defaultcurrency17 != null) {
            }
            final Language defaultlanguage18 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount16.getDefaultLanguage().getId(), Language.class);
            if (defaultlanguage18 != null) {
            }
        }
        final Currency currency19 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking15.getCurrency().getId(), Currency.class);
        if (currency19 != null) {
        }
    }
    final CarRentalLocation pickuplocation20 = (CarRentalLocation) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentallocation/" + carrentalbooking.getPickupLocation().getId(), CarRentalLocation.class);
    if (pickuplocation20 != null) {
        final LocationCity locationcity21 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + pickuplocation20.getLocationCity().getId(), LocationCity.class);
        if (locationcity21 != null) {
            final LocationRegion locationregion22 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity21.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion22 != null) {
                final LocationCountry locationcountry23 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion22.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry23 != null) {
                }
            }
            final LocationCountry locationcountry24 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity21.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry24 != null) {
            }
        }
        final PartnerAccount partneraccount25 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + pickuplocation20.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount25 != null) {
        }
    }
    final Currency currency26 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + carrentalbooking.getCurrency().getId(), Currency.class);
    if (currency26 != null) {
    }
}
return carrentalbooking;


5.2 CAR RENTAL LOCATION


CarRentalLocationCarRentalLocationModuleBookingCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) AddressLine1STRINGCarRentalLocation
(2) AddressLine2STRINGCarRentalLocation
(3) LatitudeSTRINGCarRentalLocation
(4) LocationCityINTCarRentalLocationLocationCityLocationCityModule
(5) LongitudeSTRINGCarRentalLocation
(6) NameSTRINGCarRentalLocation
(7) PartnerAccountINTCarRentalLocationPartnerAccountPartnerAccountModule
(8) PostalCodeSTRINGCarRentalLocation





Example:

final CarRentalLocation carrentallocation = (CarRentalLocation) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentallocation/" + id, CarRentalLocation.class);
if (carrentallocation != null) {
    final LocationCity locationcity1 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + carrentallocation.getLocationCity().getId(), LocationCity.class);
    if (locationcity1 != null) {
        final LocationRegion locationregion2 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity1.getLocationRegion().getId(), LocationRegion.class);
        if (locationregion2 != null) {
            final LocationCountry locationcountry3 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry3 != null) {
            }
        }
        final LocationCountry locationcountry4 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity1.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry4 != null) {
        }
    }
    final PartnerAccount partneraccount5 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + carrentallocation.getPartnerAccount().getId(), PartnerAccount.class);
    if (partneraccount5 != null) {
    }
}
return carrentallocation;


5.3 ROOM TYPE CATEGORY


RoomTypeCategoryCarRentalLocationModuleBookingCom

Properties (2)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGRoomTypeCategory
(2) NameSTRINGRoomTypeCategory





Example:

final RoomTypeCategory roomtypecategory = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + id, RoomTypeCategory.class);
if (roomtypecategory != null) {
}
return roomtypecategory;


Overview

Summary

ContactDonateImprint