Overview

Summary

ContactDonateImprint


Appendix E-29: CUSTOMER (UI prompt)


CustomerCustomerModuleZeppelinFlight

Properties (9)

PropertyTypeEntityReferenceModule
(1) AddressLine1STRINGCustomer
(2) AddressLine2STRINGCustomer
(3) CitySTRINGCustomer
(4) CountryINTCustomerCountryCountryModule
(5) EmailSTRINGCustomer
(6) FirstNameSTRINGCustomer
(7) LastNameSTRINGCustomer
(8) PhoneSTRINGCustomer
(9) PostalCodeSTRINGCustomer


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /customerorder/customer/{id}findAllCustomerOrderOfCustomer(id)CustomerModuleGETCustomer CustomerOrder
(2) /customer/{id}deleteCustomerById(id)CustomerModuleDELETECustomer
(3) /customer/{id}updateCustomerById(customer)CustomerModulePUTCustomer
(4) /booking/customer/{id}findAllBookingOfCustomer(id)CustomerModuleGETCustomer Booking
(5) /customerfindAllCustomer()CustomerModuleGETCustomer
(6) /customer/country/{id}findAllCustomerOfCountry(id)CustomerModuleGETCountry Customer
(7) /customer/{id}findCustomerById(id)CustomerModuleGETCustomer
(8) /reservation/customer/{id}findAllReservationOfCustomer(id)CustomerModuleGETCustomer Reservation
(9) /customerinsertCustomer(customer)CustomerModulePOSTCustomer
(10) /giftvoucher/purchasercustomer/{id}findAllGiftVoucherOfPurchaserCustomer(id)GiftVoucherModuleGETCustomer GiftVoucher





Example:

final Customer customer = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + id, Customer.class);
if (customer != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + customer.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return customer;


Overview

Summary

ContactDonateImprint