Overview

Summary

ContactDonateImprint


6. VEHICLE MODULE (UI prompt)



Module Entities (12)

EntityAliasModuleGlobal Schema
(1) CityCityCityModuleUber
(2) DriverAccountDriverAccountVehicleModuleUber
(3) DriverVehicleDriverVehicleVehicleModuleUber
(4) PaymentMethodPaymentMethodPlatformUserModuleUber
(5) PlatformUserPlatformUserPlatformUserModuleUber
(6) PromotionPromotionStockListingModuleUber
(7) RiderAccountRiderAccountPlatformUserModuleUber
(8) ServiceServiceCompanyModuleUber
(9) TripTripVehicleModuleUber
(10) TripPaymentTripPaymentVehicleModuleUber
(11) TripPromotionTripPromotionVehicleModuleUber
(12) VehicleVehicleVehicleModuleUber

Module Interfaces (43)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /trippayment/paymentmethod/{id}findAllTripPaymentOfPaymentMethod(id)VehicleModuleGETPaymentMethod TripPayment
(2) /tripfindAllTrip()VehicleModuleGETTrip
(3) /trippayment/{id}deleteTripPaymentById(id)VehicleModuleDELETETripPayment
(4) /drivervehicle/{id}findDriverVehicleById(id)VehicleModuleGETDriverVehicle
(5) /drivervehicle/vehicle/{id}findAllDriverVehicleOfVehicle(id)VehicleModuleGETVehicle DriverVehicle
(6) /trippromotioninsertTripPromotion(trippromotion)VehicleModulePOSTTripPromotion
(7) /driveraccountfindAllDriverAccount()VehicleModuleGETDriverAccount
(8) /trippromotion/{id}deleteTripPromotionById(id)VehicleModuleDELETETripPromotion
(9) /driveraccount/platformuser/{id}findAllDriverAccountOfPlatformUser(id)VehicleModuleGETPlatformUser DriverAccount
(10) /vehicle/{id}updateVehicleById(vehicle)VehicleModulePUTVehicle
(11) /trip/{id}deleteTripById(id)VehicleModuleDELETETrip
(12) /drivervehicle/{id}updateDriverVehicleById(drivervehicle)VehicleModulePUTDriverVehicle
(13) /trip/{id}updateTripById(trip)VehicleModulePUTTrip
(14) /drivervehicleinsertDriverVehicle(drivervehicle)VehicleModulePOSTDriverVehicle
(15) /trippayment/{id}updateTripPaymentById(trippayment)VehicleModulePUTTripPayment
(16) /trip/origincity/{id}findAllTripOfOriginCity(id)VehicleModuleGETCity Trip
(17) /drivervehicle/driveraccount/{id}findAllDriverVehicleOfDriverAccount(id)VehicleModuleGETDriverAccount DriverVehicle
(18) /trippaymentfindAllTripPayment()VehicleModuleGETTripPayment
(19) /trippromotionfindAllTripPromotion()VehicleModuleGETTripPromotion
(20) /trip/service/{id}findAllTripOfService(id)VehicleModuleGETService Trip
(21) /driveraccountinsertDriverAccount(driveraccount)VehicleModulePOSTDriverAccount
(22) /drivervehiclefindAllDriverVehicle()VehicleModuleGETDriverVehicle
(23) /drivervehicle/{id}deleteDriverVehicleById(id)VehicleModuleDELETEDriverVehicle
(24) /trip/{id}findTripById(id)VehicleModuleGETTrip
(25) /trippromotion/{id}updateTripPromotionById(trippromotion)VehicleModulePUTTripPromotion
(26) /trip/rideraccount/{id}findAllTripOfRiderAccount(id)VehicleModuleGETRiderAccount Trip
(27) /trippromotion/{id}findTripPromotionById(id)VehicleModuleGETTripPromotion
(28) /trippayment/trip/{id}findAllTripPaymentOfTrip(id)VehicleModuleGETTrip TripPayment
(29) /trippayment/{id}findTripPaymentById(id)VehicleModuleGETTripPayment
(30) /vehicle/{id}deleteVehicleById(id)VehicleModuleDELETEVehicle
(31) /trippromotion/trip/{id}findAllTripPromotionOfTrip(id)VehicleModuleGETTrip TripPromotion
(32) /tripinsertTrip(trip)VehicleModulePOSTTrip
(33) /vehicleinsertVehicle(vehicle)VehicleModulePOSTVehicle
(34) /driveraccount/{id}findDriverAccountById(id)VehicleModuleGETDriverAccount
(35) /trip/destinationcity/{id}findAllTripOfDestinationCity(id)VehicleModuleGETCity Trip
(36) /vehiclefindAllVehicle()VehicleModuleGETVehicle
(37) /trip/driveraccount/{id}findAllTripOfDriverAccount(id)VehicleModuleGETDriverAccount Trip
(38) /driveraccount/{id}deleteDriverAccountById(id)VehicleModuleDELETEDriverAccount
(39) /vehicle/{id}findVehicleById(id)VehicleModuleGETVehicle
(40) /trippaymentinsertTripPayment(trippayment)VehicleModulePOSTTripPayment
(41) /driveraccount/{id}updateDriverAccountById(driveraccount)VehicleModulePUTDriverAccount
(42) /trip/vehicle/{id}findAllTripOfVehicle(id)VehicleModuleGETVehicle Trip
(43) /trippromotion/promotion/{id}findAllTripPromotionOfPromotion(id)VehicleModuleGETPromotion TripPromotion






6.1 DRIVER ACCOUNT


DriverAccountVehicleModuleUber

Properties (8)

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





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;


6.2 DRIVER VEHICLE


DriverVehicleVehicleModuleUber

Properties (5)

PropertyTypeEntityReferenceModule
(1) DriverAccountLONGDriverVehicleDriverAccountVehicleModule
(2) EndDateDATEDriverVehicle
(3) PrimaryFlagBOOLDriverVehicle
(4) StartDateDATEDriverVehicle
(5) VehicleLONGDriverVehicleVehicleVehicleModule





Example:

final DriverVehicle drivervehicle = (DriverVehicle) invokeModule(VEHICLE_MODULE + "/drivervehicle/" + id, DriverVehicle.class);
if (drivervehicle != null) {
    final DriverAccount driveraccount1 = (DriverAccount) invokeModule(VEHICLE_MODULE + "/driveraccount/" + drivervehicle.getDriverAccount().getId(), DriverAccount.class);
    if (driveraccount1 != null) {
        final PlatformUser platformuser2 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + driveraccount1.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser2 != null) {
        }
    }
    final Vehicle vehicle3 = (Vehicle) invokeModule(VEHICLE_MODULE + "/vehicle/" + drivervehicle.getVehicle().getId(), Vehicle.class);
    if (vehicle3 != null) {
    }
}
return drivervehicle;


6.3 TRIP


TripVehicleModuleUber

Properties (16)

PropertyTypeEntityReferenceModule
(1) AcceptedAtSTRINGTrip
(2) CanceledAtSTRINGTrip
(3) CompletedAtSTRINGTrip
(4) DestinationCityLONGTripCityCityModule
(5) DistanceKmDOUBLETrip
(6) DriverAccountLONGTripDriverAccountVehicleModule
(7) DurationMinutesINTTrip
(8) OriginCityLONGTripCityCityModule
(9) PriceAmountDOUBLETrip
(10) PriceCurrencySTRINGTrip
(11) RequestedAtSTRINGTrip
(12) RiderAccountLONGTripRiderAccountPlatformUserModule
(13) ServiceLONGTripServiceCompanyModule
(14) StartedAtSTRINGTrip
(15) StatusSTRINGTrip
(16) VehicleLONGTripVehicleVehicleModule





Example:

final Trip trip = (Trip) invokeModule(VEHICLE_MODULE + "/trip/" + id, Trip.class);
if (trip != null) {
    final Service service1 = (Service) invokeModule(COMPANY_MODULE + "/service/" + trip.getService().getId(), Service.class);
    if (service1 != null) {
        final Company company2 = (Company) invokeModule(COMPANY_MODULE + "/company/" + service1.getCompany().getId(), Company.class);
        if (company2 != null) {
        }
    }
    final DriverAccount driveraccount3 = (DriverAccount) invokeModule(VEHICLE_MODULE + "/driveraccount/" + trip.getDriverAccount().getId(), DriverAccount.class);
    if (driveraccount3 != null) {
        final PlatformUser platformuser4 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + driveraccount3.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser4 != null) {
        }
    }
    final RiderAccount rideraccount5 = (RiderAccount) invokeModule(PLATFORM_USER_MODULE + "/rideraccount/" + trip.getRiderAccount().getId(), RiderAccount.class);
    if (rideraccount5 != null) {
        final PlatformUser platformuser6 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + rideraccount5.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser6 != null) {
        }
    }
    final City origincity7 = (City) invokeModule(CITY_MODULE + "/city/" + trip.getOriginCity().getId(), City.class);
    if (origincity7 != null) {
        final Country country8 = (Country) invokeModule(CITY_MODULE + "/country/" + origincity7.getCountry().getId(), Country.class);
        if (country8 != null) {
        }
    }
    final Vehicle vehicle9 = (Vehicle) invokeModule(VEHICLE_MODULE + "/vehicle/" + trip.getVehicle().getId(), Vehicle.class);
    if (vehicle9 != null) {
    }
    final City destinationcity10 = (City) invokeModule(CITY_MODULE + "/city/" + trip.getDestinationCity().getId(), City.class);
    if (destinationcity10 != null) {
        final Country country11 = (Country) invokeModule(CITY_MODULE + "/country/" + destinationcity10.getCountry().getId(), Country.class);
        if (country11 != null) {
        }
    }
}
return trip;


6.4 TRIP PAYMENT


TripPaymentVehicleModuleUber

Properties (7)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLETripPayment
(2) CapturedAtSTRINGTripPayment
(3) CurrencySTRINGTripPayment
(4) PaymentMethodLONGTripPaymentPaymentMethodPlatformUserModule
(5) RefundAmountDOUBLETripPayment
(6) RefundCurrencySTRINGTripPayment
(7) TripLONGTripPaymentTripVehicleModule





Example:

final TripPayment trippayment = (TripPayment) invokeModule(VEHICLE_MODULE + "/trippayment/" + id, TripPayment.class);
if (trippayment != null) {
    final Trip trip1 = (Trip) invokeModule(VEHICLE_MODULE + "/trip/" + trippayment.getTrip().getId(), Trip.class);
    if (trip1 != null) {
        final Service service2 = (Service) invokeModule(COMPANY_MODULE + "/service/" + trip1.getService().getId(), Service.class);
        if (service2 != null) {
            final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + service2.getCompany().getId(), Company.class);
            if (company3 != null) {
            }
        }
        final DriverAccount driveraccount4 = (DriverAccount) invokeModule(VEHICLE_MODULE + "/driveraccount/" + trip1.getDriverAccount().getId(), DriverAccount.class);
        if (driveraccount4 != null) {
            final PlatformUser platformuser5 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + driveraccount4.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser5 != null) {
            }
        }
        final RiderAccount rideraccount6 = (RiderAccount) invokeModule(PLATFORM_USER_MODULE + "/rideraccount/" + trip1.getRiderAccount().getId(), RiderAccount.class);
        if (rideraccount6 != null) {
            final PlatformUser platformuser7 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + rideraccount6.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser7 != null) {
            }
        }
        final City origincity8 = (City) invokeModule(CITY_MODULE + "/city/" + trip1.getOriginCity().getId(), City.class);
        if (origincity8 != null) {
            final Country country9 = (Country) invokeModule(CITY_MODULE + "/country/" + origincity8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
        final Vehicle vehicle10 = (Vehicle) invokeModule(VEHICLE_MODULE + "/vehicle/" + trip1.getVehicle().getId(), Vehicle.class);
        if (vehicle10 != null) {
        }
        final City destinationcity11 = (City) invokeModule(CITY_MODULE + "/city/" + trip1.getDestinationCity().getId(), City.class);
        if (destinationcity11 != null) {
            final Country country12 = (Country) invokeModule(CITY_MODULE + "/country/" + destinationcity11.getCountry().getId(), Country.class);
            if (country12 != null) {
            }
        }
    }
    final PaymentMethod paymentmethod13 = (PaymentMethod) invokeModule(PLATFORM_USER_MODULE + "/paymentmethod/" + trippayment.getPaymentMethod().getId(), PaymentMethod.class);
    if (paymentmethod13 != null) {
        final PlatformUser platformuser14 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + paymentmethod13.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser14 != null) {
        }
    }
}
return trippayment;


6.5 TRIP PROMOTION


TripPromotionVehicleModuleUber

Properties (4)

PropertyTypeEntityReferenceModule
(1) AppliedAmountDOUBLETripPromotion
(2) CurrencySTRINGTripPromotion
(3) PromotionLONGTripPromotionPromotionStockListingModule
(4) TripLONGTripPromotionTripVehicleModule





Example:

final TripPromotion trippromotion = (TripPromotion) invokeModule(VEHICLE_MODULE + "/trippromotion/" + id, TripPromotion.class);
if (trippromotion != null) {
    final Trip trip1 = (Trip) invokeModule(VEHICLE_MODULE + "/trip/" + trippromotion.getTrip().getId(), Trip.class);
    if (trip1 != null) {
        final Service service2 = (Service) invokeModule(COMPANY_MODULE + "/service/" + trip1.getService().getId(), Service.class);
        if (service2 != null) {
            final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + service2.getCompany().getId(), Company.class);
            if (company3 != null) {
            }
        }
        final DriverAccount driveraccount4 = (DriverAccount) invokeModule(VEHICLE_MODULE + "/driveraccount/" + trip1.getDriverAccount().getId(), DriverAccount.class);
        if (driveraccount4 != null) {
            final PlatformUser platformuser5 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + driveraccount4.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser5 != null) {
            }
        }
        final RiderAccount rideraccount6 = (RiderAccount) invokeModule(PLATFORM_USER_MODULE + "/rideraccount/" + trip1.getRiderAccount().getId(), RiderAccount.class);
        if (rideraccount6 != null) {
            final PlatformUser platformuser7 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + rideraccount6.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser7 != null) {
            }
        }
        final City origincity8 = (City) invokeModule(CITY_MODULE + "/city/" + trip1.getOriginCity().getId(), City.class);
        if (origincity8 != null) {
            final Country country9 = (Country) invokeModule(CITY_MODULE + "/country/" + origincity8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
        final Vehicle vehicle10 = (Vehicle) invokeModule(VEHICLE_MODULE + "/vehicle/" + trip1.getVehicle().getId(), Vehicle.class);
        if (vehicle10 != null) {
        }
        final City destinationcity11 = (City) invokeModule(CITY_MODULE + "/city/" + trip1.getDestinationCity().getId(), City.class);
        if (destinationcity11 != null) {
            final Country country12 = (Country) invokeModule(CITY_MODULE + "/country/" + destinationcity11.getCountry().getId(), Country.class);
            if (country12 != null) {
            }
        }
    }
    final Promotion promotion13 = (Promotion) invokeModule(STOCK_LISTING_MODULE + "/promotion/" + trippromotion.getPromotion().getId(), Promotion.class);
    if (promotion13 != null) {
    }
}
return trippromotion;


6.6 VEHICLE


VehicleVehicleModuleUber

Properties (8)

PropertyTypeEntityReferenceModule
(1) CapacityINTVehicle
(2) ColorSTRINGVehicle
(3) MakeSTRINGVehicle
(4) ModelSTRINGVehicle
(5) PlateCountrySTRINGVehicle
(6) PlateNumberSTRINGVehicle
(7) VehicleTypeSTRINGVehicle
(8) YearINTVehicle





Example:

final Vehicle vehicle = (Vehicle) invokeModule(VEHICLE_MODULE + "/vehicle/" + id, Vehicle.class);
if (vehicle != null) {
}
return vehicle;


Overview

Summary

ContactDonateImprint