Overview

Summary

ContactDonateImprint


Appendix E-33: CUSTOMER ORDER (UI prompt)


CustomerOrderCustomerModuleAmazonCom

Properties (13)

PropertyTypeEntityReferenceModule
(1) BillingAddressLONGCustomerOrder
(2) CurrencySTRINGCustomerOrder
(3) CustomerLONGCustomerOrderCustomerCustomerModule
(4) GrandTotalDOUBLECustomerOrder
(5) OrderNumberSTRINGCustomerOrder
(6) PaymentMethodLONGCustomerOrderPaymentMethodCustomerModule
(7) PlacedAtDATECustomerOrder
(8) ShippingAddressLONGCustomerOrder
(9) StatusSTRINGCustomerOrder
(10) TotalDiscountAmountDOUBLECustomerOrder
(11) TotalItemsAmountDOUBLECustomerOrder
(12) TotalShippingAmountDOUBLECustomerOrder
(13) TotalTaxAmountDOUBLECustomerOrder


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /customerorder/paymentmethod/{id}findAllCustomerOrderOfPaymentMethod(id)CustomerModuleGETPaymentMethod CustomerOrder
(2) /customerorderinsertCustomerOrder(customerorder)CustomerModulePOSTCustomerOrder
(3) /customerorder/{id}deleteCustomerOrderById(id)CustomerModuleDELETECustomerOrder
(4) /customerorderfindAllCustomerOrder()CustomerModuleGETCustomerOrder
(5) /customerorder/{id}updateCustomerOrderById(customerorder)CustomerModulePUTCustomerOrder
(6) /customerorder/{id}findCustomerOrderById(id)CustomerModuleGETCustomerOrder
(7) /customerorder/customer/{id}findAllCustomerOrderOfCustomer(id)CustomerModuleGETCustomer CustomerOrder





Example:

final CustomerOrder customerorder = (CustomerOrder) invokeModule(CUSTOMER_MODULE + "/customerorder/" + id, CustomerOrder.class);
if (customerorder != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + customerorder.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final PaymentMethod paymentmethod2 = (PaymentMethod) invokeModule(CUSTOMER_MODULE + "/paymentmethod/" + customerorder.getPaymentMethod().getId(), PaymentMethod.class);
    if (paymentmethod2 != null) {
        final Customer customer3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymentmethod2.getCustomer().getId(), Customer.class);
        if (customer3 != null) {
        }
    }
}
return customerorder;


Overview

Summary

ContactDonateImprint