Overview

Summary

ContactDonateImprint


1. CUSTOMER MODULE (UI prompt)



Module Entities (9)

EntityAliasModuleGlobal Schema
(1) CityCityRestaurantModuleLieferando
(2) CustomerCustomerCustomerModuleLieferando
(3) CustomerAddressCustomerAddressCustomerModuleLieferando
(4) CustomerOrderCustomerOrderPaymentMethodModuleLieferando
(5) LoyaltyCardLoyaltyCardCustomerModuleLieferando
(6) LoyaltyProgramLoyaltyProgramCustomerModuleLieferando
(7) LoyaltyStampLoyaltyStampCustomerModuleLieferando
(8) RatingRatingRestaurantTagModuleLieferando
(9) RestaurantRestaurantRestaurantModuleLieferando

Module Interfaces (31)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /customeraddress/city/{id}findAllCustomerAddressOfCity(id)CustomerModuleGETCity CustomerAddress
(2) /loyaltycard/loyaltyprogram/{id}findAllLoyaltyCardOfLoyaltyProgram(id)CustomerModuleGETLoyaltyProgram LoyaltyCard
(3) /loyaltystamp/loyaltycard/{id}findAllLoyaltyStampOfLoyaltyCard(id)CustomerModuleGETLoyaltyCard LoyaltyStamp
(4) /loyaltycard/{id}updateLoyaltyCardById(loyaltycard)CustomerModulePUTLoyaltyCard
(5) /customer/{id}updateCustomerById(customer)CustomerModulePUTCustomer
(6) /loyaltystampfindAllLoyaltyStamp()CustomerModuleGETLoyaltyStamp
(7) /loyaltycard/{id}findLoyaltyCardById(id)CustomerModuleGETLoyaltyCard
(8) /loyaltycard/{id}deleteLoyaltyCardById(id)CustomerModuleDELETELoyaltyCard
(9) /loyaltycard/customer/{id}findAllLoyaltyCardOfCustomer(id)CustomerModuleGETCustomer LoyaltyCard
(10) /loyaltyprograminsertLoyaltyProgram(loyaltyprogram)CustomerModulePOSTLoyaltyProgram
(11) /loyaltyprogram/{id}findLoyaltyProgramById(id)CustomerModuleGETLoyaltyProgram
(12) /customerfindAllCustomer()CustomerModuleGETCustomer
(13) /loyaltyprogram/{id}deleteLoyaltyProgramById(id)CustomerModuleDELETELoyaltyProgram
(14) /customeraddress/customer/{id}findAllCustomerAddressOfCustomer(id)CustomerModuleGETCustomer CustomerAddress
(15) /loyaltyprogramfindAllLoyaltyProgram()CustomerModuleGETLoyaltyProgram
(16) /customer/{id}findCustomerById(id)CustomerModuleGETCustomer
(17) /customeraddressinsertCustomerAddress(customeraddress)CustomerModulePOSTCustomerAddress
(18) /loyaltystamp/{id}deleteLoyaltyStampById(id)CustomerModuleDELETELoyaltyStamp
(19) /customer/{id}deleteCustomerById(id)CustomerModuleDELETECustomer
(20) /customeraddress/{id}findCustomerAddressById(id)CustomerModuleGETCustomerAddress
(21) /customeraddress/{id}deleteCustomerAddressById(id)CustomerModuleDELETECustomerAddress
(22) /loyaltycardfindAllLoyaltyCard()CustomerModuleGETLoyaltyCard
(23) /loyaltystampinsertLoyaltyStamp(loyaltystamp)CustomerModulePOSTLoyaltyStamp
(24) /customerinsertCustomer(customer)CustomerModulePOSTCustomer
(25) /customeraddress/{id}updateCustomerAddressById(customeraddress)CustomerModulePUTCustomerAddress
(26) /loyaltyprogram/restaurant/{id}findAllLoyaltyProgramOfRestaurant(id)CustomerModuleGETRestaurant LoyaltyProgram
(27) /loyaltycardinsertLoyaltyCard(loyaltycard)CustomerModulePOSTLoyaltyCard
(28) /customeraddressfindAllCustomerAddress()CustomerModuleGETCustomerAddress
(29) /loyaltyprogram/{id}updateLoyaltyProgramById(loyaltyprogram)CustomerModulePUTLoyaltyProgram
(30) /loyaltystamp/{id}findLoyaltyStampById(id)CustomerModuleGETLoyaltyStamp
(31) /loyaltystamp/{id}updateLoyaltyStampById(loyaltystamp)CustomerModulePUTLoyaltyStamp






1.1 CUSTOMER


CustomerCustomerModuleLieferando

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATECustomer
(2) EmailSTRINGCustomer
(3) FirstNameSTRINGCustomer
(4) IsBlockedBOOLCustomer
(5) LastNameSTRINGCustomer
(6) PhoneNumberSTRINGCustomer





Example:

final Customer customer = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + id, Customer.class);
if (customer != null) {
}
return customer;


1.2 CUSTOMER ADDRESS


CustomerAddressCustomerModuleLieferando

Properties (10)

PropertyTypeEntityReferenceModule
(1) AddressExtraSTRINGCustomerAddress
(2) CityLONGCustomerAddressCityRestaurantModule
(3) CustomerLONGCustomerAddressCustomerCustomerModule
(4) HouseNumberSTRINGCustomerAddress
(5) IsDefaultBOOLCustomerAddress
(6) LabelSTRINGCustomerAddress
(7) LatitudeSTRINGCustomerAddress
(8) LongitudeSTRINGCustomerAddress
(9) PostalCodeSTRINGCustomerAddress
(10) StreetSTRINGCustomerAddress





Example:

final CustomerAddress customeraddress = (CustomerAddress) invokeModule(CUSTOMER_MODULE + "/customeraddress/" + id, CustomerAddress.class);
if (customeraddress != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + customeraddress.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + customeraddress.getCity().getId(), City.class);
    if (city2 != null) {
    }
}
return customeraddress;


1.3 LOYALTY CARD


LoyaltyCardCustomerModuleLieferando

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATELoyaltyCard
(2) CurrentStampCountLONGLoyaltyCard
(3) CustomerLONGLoyaltyCardCustomerCustomerModule
(4) IsCompletedBOOLLoyaltyCard
(5) LastUpdatedAtDATELoyaltyCard
(6) LoyaltyProgramLONGLoyaltyCardLoyaltyProgramCustomerModule





Example:

final LoyaltyCard loyaltycard = (LoyaltyCard) invokeModule(CUSTOMER_MODULE + "/loyaltycard/" + id, LoyaltyCard.class);
if (loyaltycard != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + loyaltycard.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final LoyaltyProgram loyaltyprogram2 = (LoyaltyProgram) invokeModule(CUSTOMER_MODULE + "/loyaltyprogram/" + loyaltycard.getLoyaltyProgram().getId(), LoyaltyProgram.class);
    if (loyaltyprogram2 != null) {
        final Restaurant restaurant3 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + loyaltyprogram2.getRestaurant().getId(), Restaurant.class);
        if (restaurant3 != null) {
            final City city4 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant3.getCity().getId(), City.class);
            if (city4 != null) {
            }
        }
    }
}
return loyaltycard;


1.4 LOYALTY PROGRAM


LoyaltyProgramCustomerModuleLieferando

Properties (6)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGLoyaltyProgram
(2) IsActiveBOOLLoyaltyProgram
(3) NameSTRINGLoyaltyProgram
(4) RequiredStampsLONGLoyaltyProgram
(5) RestaurantLONGLoyaltyProgramRestaurantRestaurantModule
(6) RewardDescriptionSTRINGLoyaltyProgram





Example:

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


1.5 LOYALTY STAMP


LoyaltyStampCustomerModuleLieferando

Properties (5)

PropertyTypeEntityReferenceModule
(1) CustomerOrderLONGLoyaltyStamp
(2) LoyaltyCardLONGLoyaltyStampLoyaltyCardCustomerModule
(3) NotesSTRINGLoyaltyStamp
(4) OrderAmountSTRINGLoyaltyStamp
(5) StampDateTimeDATELoyaltyStamp





Example:

final LoyaltyStamp loyaltystamp = (LoyaltyStamp) invokeModule(CUSTOMER_MODULE + "/loyaltystamp/" + id, LoyaltyStamp.class);
if (loyaltystamp != null) {
    final LoyaltyCard loyaltycard1 = (LoyaltyCard) invokeModule(CUSTOMER_MODULE + "/loyaltycard/" + loyaltystamp.getLoyaltyCard().getId(), LoyaltyCard.class);
    if (loyaltycard1 != null) {
        final Customer customer2 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + loyaltycard1.getCustomer().getId(), Customer.class);
        if (customer2 != null) {
        }
        final LoyaltyProgram loyaltyprogram3 = (LoyaltyProgram) invokeModule(CUSTOMER_MODULE + "/loyaltyprogram/" + loyaltycard1.getLoyaltyProgram().getId(), LoyaltyProgram.class);
        if (loyaltyprogram3 != null) {
            final Restaurant restaurant4 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + loyaltyprogram3.getRestaurant().getId(), Restaurant.class);
            if (restaurant4 != null) {
                final City city5 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant4.getCity().getId(), City.class);
                if (city5 != null) {
                }
            }
        }
    }
}
return loyaltystamp;


Overview

Summary

ContactDonateImprint