Overview

Summary

ContactDonateImprint


Appendix E-3: CUSTOMER ADDRESS (UI prompt)


CustomerAddressCustomerModuleLieferando

Properties (10)

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


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /customeraddress/customer/{id}findAllCustomerAddressOfCustomer(id)CustomerModuleGETCustomer CustomerAddress
(2) /customeraddress/city/{id}findAllCustomerAddressOfCity(id)CustomerModuleGETCity CustomerAddress
(3) /customeraddressfindAllCustomerAddress()CustomerModuleGETCustomerAddress
(4) /customeraddressinsertCustomerAddress(customeraddress)CustomerModulePOSTCustomerAddress
(5) /customeraddress/{id}updateCustomerAddressById(customeraddress)CustomerModulePUTCustomerAddress
(6) /customeraddress/{id}findCustomerAddressById(id)CustomerModuleGETCustomerAddress
(7) /customeraddress/{id}deleteCustomerAddressById(id)CustomerModuleDELETECustomerAddress
(8) /customerorder/deliveryaddress/{id}findAllCustomerOrderOfDeliveryAddress(id)PaymentMethodModuleGETCustomerAddress CustomerOrder





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;


Overview

Summary

ContactDonateImprint