Overview

Summary

ContactDonateImprint


7. RESTAURANT MODULE (UI prompt)



Module Entities (14)

EntityAliasModuleGlobal Schema
(1) CityCityRestaurantModuleLieferando
(2) CustomerAddressCustomerAddressCustomerModuleLieferando
(3) CustomerOrderCustomerOrderPaymentMethodModuleLieferando
(4) DeliveryAreaDeliveryAreaMenuItemTagModuleLieferando
(5) LoyaltyProgramLoyaltyProgramCustomerModuleLieferando
(6) MenuMenuRestaurantModuleLieferando
(7) MenuSectionMenuSectionMenuItemModuleLieferando
(8) OpeningHourOpeningHourRestaurantModuleLieferando
(9) PromotionPromotionRestaurantModuleLieferando
(10) PromotionMenuItemLinkPromotionMenuItemLinkMenuItemModuleLieferando
(11) RatingRatingRestaurantTagModuleLieferando
(12) RestaurantRestaurantRestaurantModuleLieferando
(13) RestaurantCategoryLinkRestaurantCategoryLinkRestaurantCategoryModuleLieferando
(14) RestaurantTagLinkRestaurantTagLinkRestaurantTagModuleLieferando

Module Interfaces (29)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /promotion/{id}findPromotionById(id)RestaurantModuleGETPromotion
(2) /openinghour/restaurant/{id}findAllOpeningHourOfRestaurant(id)RestaurantModuleGETRestaurant OpeningHour
(3) /openinghour/{id}deleteOpeningHourById(id)RestaurantModuleDELETEOpeningHour
(4) /cityfindAllCity()RestaurantModuleGETCity
(5) /city/{id}updateCityById(city)RestaurantModulePUTCity
(6) /restaurant/{id}updateRestaurantById(restaurant)RestaurantModulePUTRestaurant
(7) /promotioninsertPromotion(promotion)RestaurantModulePOSTPromotion
(8) /restaurant/{id}findRestaurantById(id)RestaurantModuleGETRestaurant
(9) /promotion/restaurant/{id}findAllPromotionOfRestaurant(id)RestaurantModuleGETRestaurant Promotion
(10) /restaurantinsertRestaurant(restaurant)RestaurantModulePOSTRestaurant
(11) /menu/restaurant/{id}findAllMenuOfRestaurant(id)RestaurantModuleGETRestaurant Menu
(12) /promotion/{id}updatePromotionById(promotion)RestaurantModulePUTPromotion
(13) /menu/{id}findMenuById(id)RestaurantModuleGETMenu
(14) /menu/{id}deleteMenuById(id)RestaurantModuleDELETEMenu
(15) /openinghour/{id}updateOpeningHourById(openinghour)RestaurantModulePUTOpeningHour
(16) /city/{id}findCityById(id)RestaurantModuleGETCity
(17) /city/{id}deleteCityById(id)RestaurantModuleDELETECity
(18) /openinghour/{id}findOpeningHourById(id)RestaurantModuleGETOpeningHour
(19) /restaurantfindAllRestaurant()RestaurantModuleGETRestaurant
(20) /openinghourfindAllOpeningHour()RestaurantModuleGETOpeningHour
(21) /menufindAllMenu()RestaurantModuleGETMenu
(22) /openinghourinsertOpeningHour(openinghour)RestaurantModulePOSTOpeningHour
(23) /restaurant/city/{id}findAllRestaurantOfCity(id)RestaurantModuleGETCity Restaurant
(24) /menu/{id}updateMenuById(menu)RestaurantModulePUTMenu
(25) /menuinsertMenu(menu)RestaurantModulePOSTMenu
(26) /promotion/{id}deletePromotionById(id)RestaurantModuleDELETEPromotion
(27) /cityinsertCity(city)RestaurantModulePOSTCity
(28) /restaurant/{id}deleteRestaurantById(id)RestaurantModuleDELETERestaurant
(29) /promotionfindAllPromotion()RestaurantModuleGETPromotion






7.1 CITY


CityRestaurantModuleLieferando

Properties (4)

PropertyTypeEntityReferenceModule
(1) CountrySTRINGCity
(2) NameSTRINGCity
(3) PostalCodeSTRINGCity
(4) RegionSTRINGCity





Example:

final City city = (City) invokeModule(RESTAURANT_MODULE + "/city/" + id, City.class);
if (city != null) {
}
return city;



MenuRestaurantModuleLieferando

Properties (5)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGMenu
(2) IsActiveBOOLMenu
(3) NameSTRINGMenu
(4) RestaurantLONGMenuRestaurantRestaurantModule
(5) SortOrderLONGMenu





Example:

final Menu menu = (Menu) invokeModule(RESTAURANT_MODULE + "/menu/" + id, Menu.class);
if (menu != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + menu.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant1.getCity().getId(), City.class);
        if (city2 != null) {
        }
    }
}
return menu;


7.3 OPENING HOUR


OpeningHourRestaurantModuleLieferando

Properties (6)

PropertyTypeEntityReferenceModule
(1) AppliesToDeliveryBOOLOpeningHour
(2) AppliesToPickupBOOLOpeningHour
(3) CloseTimeSTRINGOpeningHour
(4) DayOfWeekLONGOpeningHour
(5) OpenTimeSTRINGOpeningHour
(6) RestaurantLONGOpeningHourRestaurantRestaurantModule





Example:

final OpeningHour openinghour = (OpeningHour) invokeModule(RESTAURANT_MODULE + "/openinghour/" + id, OpeningHour.class);
if (openinghour != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + openinghour.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant1.getCity().getId(), City.class);
        if (city2 != null) {
        }
    }
}
return openinghour;


7.4 PROMOTION


PromotionRestaurantModuleLieferando

Properties (9)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGPromotion
(2) DiscountTypeSTRINGPromotion
(3) DiscountValueSTRINGPromotion
(4) EndDateDATEPromotion
(5) IsActiveBOOLPromotion
(6) MinimumOrderAmountSTRINGPromotion
(7) NameSTRINGPromotion
(8) RestaurantLONGPromotionRestaurantRestaurantModule
(9) StartDateDATEPromotion





Example:

final Promotion promotion = (Promotion) invokeModule(RESTAURANT_MODULE + "/promotion/" + id, Promotion.class);
if (promotion != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + promotion.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant1.getCity().getId(), City.class);
        if (city2 != null) {
        }
    }
}
return promotion;


7.5 RESTAURANT


RestaurantRestaurantModuleLieferando

Properties (28)

PropertyTypeEntityReferenceModule
(1) AverageRatingSTRINGRestaurant
(2) BrandNameSTRINGRestaurant
(3) CityLONGRestaurantCityRestaurantModule
(4) CreatedAtDATERestaurant
(5) DeliveryAvailableBOOLRestaurant
(6) DeliveryFeeSTRINGRestaurant
(7) DescriptionSTRINGRestaurant
(8) EmailSTRINGRestaurant
(9) FreeDeliveryPossibleBOOLRestaurant
(10) HouseNumberSTRINGRestaurant
(11) IsHalalBOOLRestaurant
(12) IsNewBOOLRestaurant
(13) IsOpenNowBOOLRestaurant
(14) IsSponsoredBOOLRestaurant
(15) LatitudeSTRINGRestaurant
(16) LongitudeSTRINGRestaurant
(17) MinimumOrderAmountSTRINGRestaurant
(18) NameSTRINGRestaurant
(19) OpenFromTimeSTRINGRestaurant
(20) OpenUntilTimeSTRINGRestaurant
(21) PhoneNumberSTRINGRestaurant
(22) PickupAvailableBOOLRestaurant
(23) PostalCodeSTRINGRestaurant
(24) PreparationTimeMinutesLONGRestaurant
(25) RatingCountLONGRestaurant
(26) StreetSTRINGRestaurant
(27) UpdatedAtDATERestaurant
(28) WebsiteUrlSTRINGRestaurant





Example:

final Restaurant restaurant = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + id, Restaurant.class);
if (restaurant != null) {
    final City city1 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant.getCity().getId(), City.class);
    if (city1 != null) {
    }
}
return restaurant;


Overview

Summary

ContactDonateImprint