Overview

Summary

ContactDonateImprint


Appendix E-11: LOYALTY PROGRAM (UI prompt)


LoyaltyProgramCustomerModuleLieferando

Properties (6)

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


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /loyaltyprogram/{id}updateLoyaltyProgramById(loyaltyprogram)CustomerModulePUTLoyaltyProgram
(2) /loyaltyprogram/restaurant/{id}findAllLoyaltyProgramOfRestaurant(id)CustomerModuleGETRestaurant LoyaltyProgram
(3) /loyaltyprogram/{id}deleteLoyaltyProgramById(id)CustomerModuleDELETELoyaltyProgram
(4) /loyaltyprograminsertLoyaltyProgram(loyaltyprogram)CustomerModulePOSTLoyaltyProgram
(5) /loyaltyprogram/{id}findLoyaltyProgramById(id)CustomerModuleGETLoyaltyProgram
(6) /loyaltyprogramfindAllLoyaltyProgram()CustomerModuleGETLoyaltyProgram
(7) /loyaltycard/loyaltyprogram/{id}findAllLoyaltyCardOfLoyaltyProgram(id)CustomerModuleGETLoyaltyProgram LoyaltyCard





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;


Overview

Summary

ContactDonateImprint