Overview

Summary

ContactDonateImprint


Appendix E-15: DELIVERY AREA (UI prompt)


DeliveryAreaMenuItemTagModuleLieferando

Properties (7)

PropertyTypeEntityReferenceModule
(1) CityLONGDeliveryAreaCityRestaurantModule
(2) DeliveryFeeSTRINGDeliveryArea
(3) IsActiveBOOLDeliveryArea
(4) MinimumOrderAmountSTRINGDeliveryArea
(5) NameSTRINGDeliveryArea
(6) PostalCodeSTRINGDeliveryArea
(7) RestaurantLONGDeliveryAreaRestaurantRestaurantModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /deliveryarea/city/{id}findAllDeliveryAreaOfCity(id)MenuItemTagModuleGETCity DeliveryArea
(2) /deliveryarea/restaurant/{id}findAllDeliveryAreaOfRestaurant(id)MenuItemTagModuleGETRestaurant DeliveryArea
(3) /deliveryareafindAllDeliveryArea()MenuItemTagModuleGETDeliveryArea
(4) /deliveryarea/{id}deleteDeliveryAreaById(id)MenuItemTagModuleDELETEDeliveryArea
(5) /deliveryarea/{id}findDeliveryAreaById(id)MenuItemTagModuleGETDeliveryArea
(6) /deliveryareainsertDeliveryArea(deliveryarea)MenuItemTagModulePOSTDeliveryArea
(7) /deliveryarea/{id}updateDeliveryAreaById(deliveryarea)MenuItemTagModulePUTDeliveryArea





Example:

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


Overview

Summary

ContactDonateImprint