Overview

Summary

ServicesContactDonateAboutImprint


6. LISTING MODULE (UI prompt)



Module Entities (21)

EntityAliasModuleGlobal Schema
(1) AvailabilityCalendarAvailabilityCalendarListingModuleAirbnb
(2) BookingBookingListingModuleAirbnb
(3) CityCityListingModuleAirbnb
(4) CompanyCompanyCompanyModuleAirbnb
(5) CountryCountryCountryModuleAirbnb
(6) FraudCaseFraudCaseListingModuleAirbnb
(7) GuestProfileGuestProfilePlatformUserModuleAirbnb
(8) HiddenCameraIncidentHiddenCameraIncidentAmenityModuleAirbnb
(9) HomeSharingClubHomeSharingClubListingModuleAirbnb
(10) HostProfileHostProfileHostProfileModuleAirbnb
(11) ListingListingListingModuleAirbnb
(12) ListingAmenityListingAmenityAmenityModuleAirbnb
(13) ListingPhotoListingPhotoHostProfileModuleAirbnb
(14) MarketMarketCountryModuleAirbnb
(15) MessageThreadMessageThreadMessageThreadModuleAirbnb
(16) OfficeOfficeCompanyModuleAirbnb
(17) PaymentPaymentPlatformUserModuleAirbnb
(18) PayoutPayoutHostProfileModuleAirbnb
(19) PlatformUserPlatformUserPlatformUserModuleAirbnb
(20) ReviewReviewAmenityModuleAirbnb
(21) StockListingStockListingCompanyModuleAirbnb

Module Interfaces (41)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /fraudcaseinsertFraudCase(fraudcase)ListingModulePOSTFraudCase
(2) /fraudcase/platformuserreporter/{id}findAllFraudCaseOfPlatformUserReporter(id)ListingModuleGETPlatformUser FraudCase
(3) /fraudcase/{id}deleteFraudCaseById(id)ListingModuleDELETEFraudCase
(4) /listinginsertListing(listing)ListingModulePOSTListing
(5) /bookingfindAllBooking()ListingModuleGETBooking
(6) /listing/country/{id}findAllListingOfCountry(id)ListingModuleGETCountry Listing
(7) /listing/{id}updateListingById(listing)ListingModulePUTListing
(8) /availabilitycalendar/{id}deleteAvailabilityCalendarById(id)ListingModuleDELETEAvailabilityCalendar
(9) /fraudcase/{id}findFraudCaseById(id)ListingModuleGETFraudCase
(10) /city/country/{id}findAllCityOfCountry(id)ListingModuleGETCountry City
(11) /bookinginsertBooking(booking)ListingModulePOSTBooking
(12) /homesharingclub/country/{id}findAllHomeSharingClubOfCountry(id)ListingModuleGETCountry HomeSharingClub
(13) /homesharingclub/{id}updateHomeSharingClubById(homesharingclub)ListingModulePUTHomeSharingClub
(14) /homesharingclubfindAllHomeSharingClub()ListingModuleGETHomeSharingClub
(15) /booking/{id}findBookingById(id)ListingModuleGETBooking
(16) /city/{id}deleteCityById(id)ListingModuleDELETECity
(17) /availabilitycalendar/listing/{id}findAllAvailabilityCalendarOfListing(id)ListingModuleGETListing AvailabilityCalendar
(18) /listing/{id}findListingById(id)ListingModuleGETListing
(19) /city/{id}updateCityById(city)ListingModulePUTCity
(20) /homesharingclub/{id}deleteHomeSharingClubById(id)ListingModuleDELETEHomeSharingClub
(21) /availabilitycalendar/{id}updateAvailabilityCalendarById(availabilitycalendar)ListingModulePUTAvailabilityCalendar
(22) /listingfindAllListing()ListingModuleGETListing
(23) /listing/{id}deleteListingById(id)ListingModuleDELETEListing
(24) /cityfindAllCity()ListingModuleGETCity
(25) /city/{id}findCityById(id)ListingModuleGETCity
(26) /homesharingclub/{id}findHomeSharingClubById(id)ListingModuleGETHomeSharingClub
(27) /homesharingclub/city/{id}findAllHomeSharingClubOfCity(id)ListingModuleGETCity HomeSharingClub
(28) /booking/{id}updateBookingById(booking)ListingModulePUTBooking
(29) /listing/hostprofile/{id}findAllListingOfHostProfile(id)ListingModuleGETHostProfile Listing
(30) /booking/{id}deleteBookingById(id)ListingModuleDELETEBooking
(31) /availabilitycalendar/{id}findAvailabilityCalendarById(id)ListingModuleGETAvailabilityCalendar
(32) /availabilitycalendarfindAllAvailabilityCalendar()ListingModuleGETAvailabilityCalendar
(33) /listing/city/{id}findAllListingOfCity(id)ListingModuleGETCity Listing
(34) /fraudcasefindAllFraudCase()ListingModuleGETFraudCase
(35) /booking/listing/{id}findAllBookingOfListing(id)ListingModuleGETListing Booking
(36) /availabilitycalendarinsertAvailabilityCalendar(availabilitycalendar)ListingModulePOSTAvailabilityCalendar
(37) /cityinsertCity(city)ListingModulePOSTCity
(38) /fraudcase/{id}updateFraudCaseById(fraudcase)ListingModulePUTFraudCase
(39) /booking/guestprofile/{id}findAllBookingOfGuestProfile(id)ListingModuleGETGuestProfile Booking
(40) /homesharingclubinsertHomeSharingClub(homesharingclub)ListingModulePOSTHomeSharingClub
(41) /fraudcase/listing/{id}findAllFraudCaseOfListing(id)ListingModuleGETListing FraudCase






6.1 AVAILABILITY CALENDAR


AvailabilityCalendarListingModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) CurrencySTRINGAvailabilityCalendar
(2) DateDATEAvailabilityCalendar
(3) IsAvailableBOOLAvailabilityCalendar
(4) ListingLONGAvailabilityCalendarListingListingModule
(5) MaximumNightsINTAvailabilityCalendar
(6) MinimumNightsINTAvailabilityCalendar
(7) PricePerNightDOUBLEAvailabilityCalendar





Example:

final AvailabilityCalendar availabilitycalendar = (AvailabilityCalendar) invokeModule(LISTING_MODULE + "/availabilitycalendar/" + id, AvailabilityCalendar.class);
if (availabilitycalendar != null) {
    final Listing listing1 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + availabilitycalendar.getListing().getId(), Listing.class);
    if (listing1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + listing1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
        final HostProfile hostprofile5 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing1.getHostProfile().getId(), HostProfile.class);
        if (hostprofile5 != null) {
            final PlatformUser platformuser6 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile5.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser6 != null) {
                final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser6.getCity().getId(), City.class);
                if (city7 != null) {
                    final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
                    if (country8 != null) {
                    }
                }
                final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser6.getCountry().getId(), Country.class);
                if (country9 != null) {
                }
            }
        }
    }
}
return availabilitycalendar;


6.2 BOOKING


BookingListingModuleAirbnb

Properties (15)

PropertyTypeEntityReferenceModule
(1) BookingStatusSTRINGBooking
(2) CancellationPolicySTRINGBooking
(3) CancelledAtDATEBooking
(4) CheckInDateDATEBooking
(5) CheckOutDateDATEBooking
(6) CleaningFeeDOUBLEBooking
(7) ConfirmedAtDATEBooking
(8) CreatedAtDATEBooking
(9) CurrencySTRINGBooking
(10) GuestProfileLONGBookingGuestProfilePlatformUserModule
(11) ListingLONGBookingListingListingModule
(12) NumberOfGuestsINTBooking
(13) ServiceFeeGuestDOUBLEBooking
(14) ServiceFeeHostDOUBLEBooking
(15) TotalPriceDOUBLEBooking





Example:

final Booking booking = (Booking) invokeModule(LISTING_MODULE + "/booking/" + id, Booking.class);
if (booking != null) {
    final Listing listing1 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + booking.getListing().getId(), Listing.class);
    if (listing1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + listing1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
        final HostProfile hostprofile5 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing1.getHostProfile().getId(), HostProfile.class);
        if (hostprofile5 != null) {
            final PlatformUser platformuser6 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile5.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser6 != null) {
                final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser6.getCity().getId(), City.class);
                if (city7 != null) {
                    final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
                    if (country8 != null) {
                    }
                }
                final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser6.getCountry().getId(), Country.class);
                if (country9 != null) {
                }
            }
        }
    }
    final GuestProfile guestprofile10 = (GuestProfile) invokeModule(PLATFORM_USER_MODULE + "/guestprofile/" + booking.getGuestProfile().getId(), GuestProfile.class);
    if (guestprofile10 != null) {
        final PlatformUser platformuser11 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + guestprofile10.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser11 != null) {
            final City city12 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser11.getCity().getId(), City.class);
            if (city12 != null) {
                final Country country13 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city12.getCountry().getId(), Country.class);
                if (country13 != null) {
                }
            }
            final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser11.getCountry().getId(), Country.class);
            if (country14 != null) {
            }
        }
    }
}
return booking;


6.3 CITY


CityListingModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) CountryLONGCityCountryCountryModule
(2) LatitudeDOUBLECity
(3) LongitudeDOUBLECity
(4) NameSTRINGCity
(5) RegionSTRINGCity





Example:

final City city = (City) invokeModule(LISTING_MODULE + "/city/" + id, City.class);
if (city != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return city;


6.4 FRAUD CASE


FraudCaseListingModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) CaseTypeSTRINGFraudCase
(2) DescriptionSTRINGFraudCase
(3) ListingLONGFraudCaseListingListingModule
(4) PlatformUserReporterLONGFraudCasePlatformUserPlatformUserModule
(5) ReportedAtDATEFraudCase
(6) ResolvedAtDATEFraudCase
(7) StatusSTRINGFraudCase





Example:

final FraudCase fraudcase = (FraudCase) invokeModule(LISTING_MODULE + "/fraudcase/" + id, FraudCase.class);
if (fraudcase != null) {
    final PlatformUser platformuserreporter1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + fraudcase.getPlatformUserReporter().getId(), PlatformUser.class);
    if (platformuserreporter1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuserreporter1.getCity().getId(), City.class);
        if (city2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
        final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuserreporter1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
    final Listing listing5 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + fraudcase.getListing().getId(), Listing.class);
    if (listing5 != null) {
        final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing5.getCountry().getId(), Country.class);
        if (country6 != null) {
        }
        final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + listing5.getCity().getId(), City.class);
        if (city7 != null) {
            final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
            if (country8 != null) {
            }
        }
        final HostProfile hostprofile9 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing5.getHostProfile().getId(), HostProfile.class);
        if (hostprofile9 != null) {
            final PlatformUser platformuser10 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile9.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser10 != null) {
                final City city11 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser10.getCity().getId(), City.class);
                if (city11 != null) {
                    final Country country12 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city11.getCountry().getId(), Country.class);
                    if (country12 != null) {
                    }
                }
                final Country country13 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser10.getCountry().getId(), Country.class);
                if (country13 != null) {
                }
            }
        }
    }
}
return fraudcase;


6.5 HOME SHARING CLUB


HomeSharingClubListingModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) CityLONGHomeSharingClubCityListingModule
(2) CountryLONGHomeSharingClubCountryCountryModule
(3) DescriptionSTRINGHomeSharingClub
(4) FoundedDateDATEHomeSharingClub
(5) SupportedByCompanyLONGHomeSharingClub





Example:

final HomeSharingClub homesharingclub = (HomeSharingClub) invokeModule(LISTING_MODULE + "/homesharingclub/" + id, HomeSharingClub.class);
if (homesharingclub != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homesharingclub.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + homesharingclub.getCity().getId(), City.class);
    if (city2 != null) {
        final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
}
return homesharingclub;


6.6 LISTING


ListingListingModuleAirbnb

Properties (19)

PropertyTypeEntityReferenceModule
(1) AddressLineSTRINGListing
(2) BathroomsDOUBLEListing
(3) BedroomsINTListing
(4) BedsINTListing
(5) CityLONGListingCityListingModule
(6) CountryLONGListingCountryCountryModule
(7) CreatedAtDATEListing
(8) DescriptionSTRINGListing
(9) HostProfileLONGListingHostProfileHostProfileModule
(10) IsInstantBookableBOOLListing
(11) LatitudeDOUBLEListing
(12) LongitudeDOUBLEListing
(13) MaxGuestsINTListing
(14) PostalCodeSTRINGListing
(15) PropertyTypeSTRINGListing
(16) RoomTypeSTRINGListing
(17) StatusSTRINGListing
(18) TitleSTRINGListing
(19) UpdatedAtDATEListing





Example:

final Listing listing = (Listing) invokeModule(LISTING_MODULE + "/listing/" + id, Listing.class);
if (listing != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + listing.getCity().getId(), City.class);
    if (city2 != null) {
        final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
    final HostProfile hostprofile4 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing.getHostProfile().getId(), HostProfile.class);
    if (hostprofile4 != null) {
        final PlatformUser platformuser5 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile4.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser5 != null) {
            final City city6 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser5.getCity().getId(), City.class);
            if (city6 != null) {
                final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city6.getCountry().getId(), Country.class);
                if (country7 != null) {
                }
            }
            final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser5.getCountry().getId(), Country.class);
            if (country8 != null) {
            }
        }
    }
}
return listing;


Overview

Summary

ServicesContactDonateAboutImprint