Overview

Summary

ContactDonateImprint


Appendix E-19: DRIVER ACCOUNT (UI prompt)


DriverAccountVehicleModuleUber

Properties (8)

PropertyTypeEntityReferenceModule
(1) BackgroundCheckStatusSTRINGDriverAccount
(2) DeactivationDateDATEDriverAccount
(3) LicenseCountrySTRINGDriverAccount
(4) LicenseNumberSTRINGDriverAccount
(5) OnboardingDateDATEDriverAccount
(6) PlatformUserLONGDriverAccountPlatformUserPlatformUserModule
(7) RatingDOUBLEDriverAccount
(8) VehicleRegistrationCountrySTRINGDriverAccount


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /driveraccountfindAllDriverAccount()VehicleModuleGETDriverAccount
(2) /trip/driveraccount/{id}findAllTripOfDriverAccount(id)VehicleModuleGETDriverAccount Trip
(3) /driveraccount/platformuser/{id}findAllDriverAccountOfPlatformUser(id)VehicleModuleGETPlatformUser DriverAccount
(4) /drivervehicle/driveraccount/{id}findAllDriverVehicleOfDriverAccount(id)VehicleModuleGETDriverAccount DriverVehicle
(5) /driveraccount/{id}updateDriverAccountById(driveraccount)VehicleModulePUTDriverAccount
(6) /driveraccount/{id}findDriverAccountById(id)VehicleModuleGETDriverAccount
(7) /driveraccountinsertDriverAccount(driveraccount)VehicleModulePOSTDriverAccount
(8) /driveraccount/{id}deleteDriverAccountById(id)VehicleModuleDELETEDriverAccount





Example:

final DriverAccount driveraccount = (DriverAccount) invokeModule(VEHICLE_MODULE + "/driveraccount/" + id, DriverAccount.class);
if (driveraccount != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + driveraccount.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
    }
}
return driveraccount;


Overview

Summary

ContactDonateImprint