Overview

Summary

ServicesContactDonateAboutImprint


8. PLATFORM USER MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) BookingBookingListingModuleAirbnb
(2) CityCityListingModuleAirbnb
(3) CountryCountryCountryModuleAirbnb
(4) FraudCaseFraudCaseListingModuleAirbnb
(5) GuestProfileGuestProfilePlatformUserModuleAirbnb
(6) HostProfileHostProfileHostProfileModuleAirbnb
(7) PaymentPaymentPlatformUserModuleAirbnb
(8) PlatformUserPlatformUserPlatformUserModuleAirbnb
(9) UserDataConsentUserDataConsentPlatformUserModuleAirbnb
(10) UserIdentityDocumentUserIdentityDocumentPlatformUserModuleAirbnb
(11) UserRoleUserRolePlatformUserModuleAirbnb

Module Interfaces (38)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /userrole/platformuser/{id}findAllUserRoleOfPlatformUser(id)PlatformUserModuleGETPlatformUser UserRole
(2) /payment/booking/{id}findAllPaymentOfBooking(id)PlatformUserModuleGETBooking Payment
(3) /paymentinsertPayment(payment)PlatformUserModulePOSTPayment
(4) /guestprofile/{id}updateGuestProfileById(guestprofile)PlatformUserModulePUTGuestProfile
(5) /payment/{id}updatePaymentById(payment)PlatformUserModulePUTPayment
(6) /platformuserfindAllPlatformUser()PlatformUserModuleGETPlatformUser
(7) /userdataconsentfindAllUserDataConsent()PlatformUserModuleGETUserDataConsent
(8) /userdataconsentinsertUserDataConsent(userdataconsent)PlatformUserModulePOSTUserDataConsent
(9) /payment/platformuser/{id}findAllPaymentOfPlatformUser(id)PlatformUserModuleGETPlatformUser Payment
(10) /userdataconsent/{id}updateUserDataConsentById(userdataconsent)PlatformUserModulePUTUserDataConsent
(11) /guestprofileinsertGuestProfile(guestprofile)PlatformUserModulePOSTGuestProfile
(12) /useridentitydocument/{id}findUserIdentityDocumentById(id)PlatformUserModuleGETUserIdentityDocument
(13) /useridentitydocumentinsertUserIdentityDocument(useridentitydocument)PlatformUserModulePOSTUserIdentityDocument
(14) /userdataconsent/platformuser/{id}findAllUserDataConsentOfPlatformUser(id)PlatformUserModuleGETPlatformUser UserDataConsent
(15) /userroleinsertUserRole(userrole)PlatformUserModulePOSTUserRole
(16) /platformuser/country/{id}findAllPlatformUserOfCountry(id)PlatformUserModuleGETCountry PlatformUser
(17) /useridentitydocumentfindAllUserIdentityDocument()PlatformUserModuleGETUserIdentityDocument
(18) /guestprofile/{id}deleteGuestProfileById(id)PlatformUserModuleDELETEGuestProfile
(19) /payment/{id}findPaymentById(id)PlatformUserModuleGETPayment
(20) /userrole/{id}findUserRoleById(id)PlatformUserModuleGETUserRole
(21) /platformuser/{id}deletePlatformUserById(id)PlatformUserModuleDELETEPlatformUser
(22) /paymentfindAllPayment()PlatformUserModuleGETPayment
(23) /userdataconsent/{id}deleteUserDataConsentById(id)PlatformUserModuleDELETEUserDataConsent
(24) /guestprofile/{id}findGuestProfileById(id)PlatformUserModuleGETGuestProfile
(25) /useridentitydocument/platformuser/{id}findAllUserIdentityDocumentOfPlatformUser(id)PlatformUserModuleGETPlatformUser UserIdentityDocument
(26) /payment/{id}deletePaymentById(id)PlatformUserModuleDELETEPayment
(27) /guestprofile/platformuser/{id}findAllGuestProfileOfPlatformUser(id)PlatformUserModuleGETPlatformUser GuestProfile
(28) /useridentitydocument/{id}deleteUserIdentityDocumentById(id)PlatformUserModuleDELETEUserIdentityDocument
(29) /platformuser/{id}findPlatformUserById(id)PlatformUserModuleGETPlatformUser
(30) /platformuser/{id}updatePlatformUserById(platformuser)PlatformUserModulePUTPlatformUser
(31) /userrole/{id}updateUserRoleById(userrole)PlatformUserModulePUTUserRole
(32) /useridentitydocument/{id}updateUserIdentityDocumentById(useridentitydocument)PlatformUserModulePUTUserIdentityDocument
(33) /userrole/{id}deleteUserRoleById(id)PlatformUserModuleDELETEUserRole
(34) /userrolefindAllUserRole()PlatformUserModuleGETUserRole
(35) /platformuser/city/{id}findAllPlatformUserOfCity(id)PlatformUserModuleGETCity PlatformUser
(36) /platformuserinsertPlatformUser(platformuser)PlatformUserModulePOSTPlatformUser
(37) /guestprofilefindAllGuestProfile()PlatformUserModuleGETGuestProfile
(38) /userdataconsent/{id}findUserDataConsentById(id)PlatformUserModuleGETUserDataConsent






8.1 GUEST PROFILE


GuestProfilePlatformUserModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) AboutSTRINGGuestProfile
(2) CreatedAtDATEGuestProfile
(3) OverallRatingDOUBLEGuestProfile
(4) PlatformUserLONGGuestProfilePlatformUserPlatformUserModule
(5) TripsCountINTGuestProfile





Example:

final GuestProfile guestprofile = (GuestProfile) invokeModule(PLATFORM_USER_MODULE + "/guestprofile/" + id, GuestProfile.class);
if (guestprofile != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + guestprofile.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser1.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/" + platformuser1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return guestprofile;


8.2 PAYMENT


PaymentPlatformUserModuleAirbnb

Properties (8)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLEPayment
(2) BookingLONGPaymentBookingListingModule
(3) CurrencySTRINGPayment
(4) ExternalTransactionReferenceSTRINGPayment
(5) PaidAtDATEPayment
(6) PaymentMethodSTRINGPayment
(7) PaymentStatusSTRINGPayment
(8) PlatformUserLONGPaymentPlatformUserPlatformUserModule





Example:

final Payment payment = (Payment) invokeModule(PLATFORM_USER_MODULE + "/payment/" + id, Payment.class);
if (payment != null) {
    final Booking booking1 = (Booking) invokeModule(LISTING_MODULE + "/booking/" + payment.getBooking().getId(), Booking.class);
    if (booking1 != null) {
        final Listing listing2 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + booking1.getListing().getId(), Listing.class);
        if (listing2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
            final City city4 = (City) invokeModule(LISTING_MODULE + "/city/" + listing2.getCity().getId(), City.class);
            if (city4 != null) {
                final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city4.getCountry().getId(), Country.class);
                if (country5 != null) {
                }
            }
            final HostProfile hostprofile6 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing2.getHostProfile().getId(), HostProfile.class);
            if (hostprofile6 != null) {
                final PlatformUser platformuser7 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile6.getPlatformUser().getId(), PlatformUser.class);
                if (platformuser7 != null) {
                    final City city8 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser7.getCity().getId(), City.class);
                    if (city8 != null) {
                        final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city8.getCountry().getId(), Country.class);
                        if (country9 != null) {
                        }
                    }
                    final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser7.getCountry().getId(), Country.class);
                    if (country10 != null) {
                    }
                }
            }
        }
        final GuestProfile guestprofile11 = (GuestProfile) invokeModule(PLATFORM_USER_MODULE + "/guestprofile/" + booking1.getGuestProfile().getId(), GuestProfile.class);
        if (guestprofile11 != null) {
            final PlatformUser platformuser12 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + guestprofile11.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser12 != null) {
                final City city13 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser12.getCity().getId(), City.class);
                if (city13 != null) {
                    final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city13.getCountry().getId(), Country.class);
                    if (country14 != null) {
                    }
                }
                final Country country15 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser12.getCountry().getId(), Country.class);
                if (country15 != null) {
                }
            }
        }
    }
    final PlatformUser platformuser16 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + payment.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser16 != null) {
        final City city17 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser16.getCity().getId(), City.class);
        if (city17 != null) {
            final Country country18 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city17.getCountry().getId(), Country.class);
            if (country18 != null) {
            }
        }
        final Country country19 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser16.getCountry().getId(), Country.class);
        if (country19 != null) {
        }
    }
}
return payment;


8.3 PLATFORM USER


PlatformUserPlatformUserModuleAirbnb

Properties (13)

PropertyTypeEntityReferenceModule
(1) CityLONGPlatformUserCityListingModule
(2) CountryLONGPlatformUserCountryCountryModule
(3) CreatedAtDATEPlatformUser
(4) DateOfBirthDATEPlatformUser
(5) EmailSTRINGPlatformUser
(6) FacebookProfileUrlSTRINGPlatformUser
(7) FullNameSTRINGPlatformUser
(8) GoogleProfileUrlSTRINGPlatformUser
(9) LinkedinProfileUrlSTRINGPlatformUser
(10) PhoneNumberSTRINGPlatformUser
(11) ProfilePhotoUrlSTRINGPlatformUser
(12) UpdatedAtDATEPlatformUser
(13) VerificationLevelSTRINGPlatformUser





Example:

final PlatformUser platformuser = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + id, PlatformUser.class);
if (platformuser != null) {
    final City city1 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser.getCity().getId(), City.class);
    if (city1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser.getCountry().getId(), Country.class);
    if (country3 != null) {
    }
}
return platformuser;


8.4 USER DATA CONSENT


UserDataConsentPlatformUserModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) ConsentTypeSTRINGUserDataConsent
(2) DescriptionSTRINGUserDataConsent
(3) GrantedAtDATEUserDataConsent
(4) PlatformUserLONGUserDataConsentPlatformUserPlatformUserModule
(5) RevokedAtDATEUserDataConsent





Example:

final UserDataConsent userdataconsent = (UserDataConsent) invokeModule(PLATFORM_USER_MODULE + "/userdataconsent/" + id, UserDataConsent.class);
if (userdataconsent != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + userdataconsent.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser1.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/" + platformuser1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return userdataconsent;


8.5 USER IDENTITY DOCUMENT


UserIdentityDocumentPlatformUserModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEUserIdentityDocument
(2) DocumentNumberSTRINGUserIdentityDocument
(3) DocumentTypeSTRINGUserIdentityDocument
(4) ExpiryDateDATEUserIdentityDocument
(5) IssuingCountryLONGUserIdentityDocument
(6) PlatformUserLONGUserIdentityDocumentPlatformUserPlatformUserModule
(7) VerificationStatusSTRINGUserIdentityDocument





Example:

final UserIdentityDocument useridentitydocument = (UserIdentityDocument) invokeModule(PLATFORM_USER_MODULE + "/useridentitydocument/" + id, UserIdentityDocument.class);
if (useridentitydocument != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + useridentitydocument.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser1.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/" + platformuser1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return useridentitydocument;


8.6 USER ROLE


UserRolePlatformUserModuleAirbnb

Properties (3)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEUserRole
(2) PlatformUserLONGUserRolePlatformUserPlatformUserModule
(3) RoleTypeSTRINGUserRole





Example:

final UserRole userrole = (UserRole) invokeModule(PLATFORM_USER_MODULE + "/userrole/" + id, UserRole.class);
if (userrole != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + userrole.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser1.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/" + platformuser1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return userrole;


Overview

Summary

ServicesContactDonateAboutImprint