Overview

Summary

ContactDonateImprint


Appendix E-22: ROOM RATE PLAN (UI prompt)


RoomRatePlanStayBookingModuleBookingCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATERoomRatePlan
(2) DescriptionSTRINGRoomRatePlan
(3) FreeCancellationUntilDaysINTRoomRatePlan
(4) IncludesBreakfastBOOLRoomRatePlan
(5) IsRefundableBOOLRoomRatePlan
(6) MaximumStayNightsINTRoomRatePlan
(7) MinimumStayNightsINTRoomRatePlan
(8) NameSTRINGRoomRatePlan
(9) RoomTypeINTRoomRatePlanRoomTypeRoomTypeModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /roomrateplanprice/roomrateplan/{id}findAllRoomRatePlanPriceOfRoomRatePlan(id)CurrencyModuleGETRoomRatePlan RoomRatePlanPrice
(2) /roomrateplan/{id}deleteRoomRatePlanById(id)StayBookingModuleDELETERoomRatePlan
(3) /roomrateplanfindAllRoomRatePlan()StayBookingModuleGETRoomRatePlan
(4) /roomrateplan/{id}findRoomRatePlanById(id)StayBookingModuleGETRoomRatePlan
(5) /staybooking/roomrateplan/{id}findAllStayBookingOfRoomRatePlan(id)StayBookingModuleGETRoomRatePlan StayBooking
(6) /roomrateplaninsertRoomRatePlan(roomrateplan)StayBookingModulePOSTRoomRatePlan
(7) /roomrateplan/{id}updateRoomRatePlanById(roomrateplan)StayBookingModulePUTRoomRatePlan
(8) /roomrateplan/roomtype/{id}findAllRoomRatePlanOfRoomType(id)StayBookingModuleGETRoomType RoomRatePlan





Example:

final RoomRatePlan roomrateplan = (RoomRatePlan) invokeModule(STAY_BOOKING_MODULE + "/roomrateplan/" + id, RoomRatePlan.class);
if (roomrateplan != null) {
    final RoomType roomtype1 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomrateplan.getRoomType().getId(), RoomType.class);
    if (roomtype1 != null) {
        final Property property2 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype1.getProperty().getId(), Property.class);
        if (property2 != null) {
            final LocationCity locationcity3 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property2.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 PropertyType propertytype7 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property2.getPropertyType().getId(), PropertyType.class);
            if (propertytype7 != null) {
            }
            final LocationDistrict locationdistrict8 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property2.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict8 != null) {
                final LocationCity locationcity9 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict8.getLocationCity().getId(), LocationCity.class);
                if (locationcity9 != null) {
                    final LocationRegion locationregion10 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity9.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion10 != null) {
                        final LocationCountry locationcountry11 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion10.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry11 != null) {
                        }
                    }
                    final LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity9.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry12 != null) {
                    }
                }
            }
            final LocationCountry locationcountry13 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry13 != null) {
            }
            final PartnerAccount partneraccount14 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property2.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount14 != null) {
            }
        }
        final RoomTypeCategory roomtypecategory15 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype1.getRoomTypeCategory().getId(), RoomTypeCategory.class);
        if (roomtypecategory15 != null) {
        }
    }
}
return roomrateplan;


Overview

Summary

ContactDonateImprint