Overview

Summary

ContactDonateImprint


Appendix E-27: SHOPPING CART (UI prompt)


ShoppingCartOfferModuleAmazonCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEShoppingCart
(2) CustomerLONGShoppingCartCustomerCustomerModule
(3) UpdatedAtDATEShoppingCart


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /shoppingcart/{id}deleteShoppingCartById(id)OfferModuleDELETEShoppingCart
(2) /shoppingcartitem/shoppingcart/{id}findAllShoppingCartItemOfShoppingCart(id)OfferModuleGETShoppingCart ShoppingCartItem
(3) /shoppingcart/customer/{id}findAllShoppingCartOfCustomer(id)OfferModuleGETCustomer ShoppingCart
(4) /shoppingcartfindAllShoppingCart()OfferModuleGETShoppingCart
(5) /shoppingcart/{id}findShoppingCartById(id)OfferModuleGETShoppingCart
(6) /shoppingcartinsertShoppingCart(shoppingcart)OfferModulePOSTShoppingCart
(7) /shoppingcart/{id}updateShoppingCartById(shoppingcart)OfferModulePUTShoppingCart





Example:

final ShoppingCart shoppingcart = (ShoppingCart) invokeModule(OFFER_MODULE + "/shoppingcart/" + id, ShoppingCart.class);
if (shoppingcart != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + shoppingcart.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
}
return shoppingcart;


Overview

Summary

ContactDonateImprint