Overview

Summary

ContactDonateImprint


Appendix E-10: SHOPPING CART ITEM (UI prompt)


ShoppingCartItemOfferModuleAmazonCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) AddedAtDATEShoppingCartItem
(2) OfferLONGShoppingCartItemOfferOfferModule
(3) QuantityLONGShoppingCartItem
(4) ShoppingCartLONGShoppingCartItemShoppingCartOfferModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /shoppingcartitem/{id}deleteShoppingCartItemById(id)OfferModuleDELETEShoppingCartItem
(2) /shoppingcartitem/{id}findShoppingCartItemById(id)OfferModuleGETShoppingCartItem
(3) /shoppingcartitem/shoppingcart/{id}findAllShoppingCartItemOfShoppingCart(id)OfferModuleGETShoppingCart ShoppingCartItem
(4) /shoppingcartiteminsertShoppingCartItem(shoppingcartitem)OfferModulePOSTShoppingCartItem
(5) /shoppingcartitem/offer/{id}findAllShoppingCartItemOfOffer(id)OfferModuleGETOffer ShoppingCartItem
(6) /shoppingcartitem/{id}updateShoppingCartItemById(shoppingcartitem)OfferModulePUTShoppingCartItem
(7) /shoppingcartitemfindAllShoppingCartItem()OfferModuleGETShoppingCartItem





Example:

final ShoppingCartItem shoppingcartitem = (ShoppingCartItem) invokeModule(OFFER_MODULE + "/shoppingcartitem/" + id, ShoppingCartItem.class);
if (shoppingcartitem != null) {
    final Offer offer1 = (Offer) invokeModule(OFFER_MODULE + "/offer/" + shoppingcartitem.getOffer().getId(), Offer.class);
    if (offer1 != null) {
        final Seller seller2 = (Seller) invokeModule(PRODUCT_MODULE + "/seller/" + offer1.getSeller().getId(), Seller.class);
        if (seller2 != null) {
        }
        final Product product3 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + offer1.getProduct().getId(), Product.class);
        if (product3 != null) {
            final Brand brand4 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product3.getBrand().getId(), Brand.class);
            if (brand4 != null) {
            }
        }
    }
    final ShoppingCart shoppingcart5 = (ShoppingCart) invokeModule(OFFER_MODULE + "/shoppingcart/" + shoppingcartitem.getShoppingCart().getId(), ShoppingCart.class);
    if (shoppingcart5 != null) {
        final Customer customer6 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + shoppingcart5.getCustomer().getId(), Customer.class);
        if (customer6 != null) {
        }
    }
}
return shoppingcartitem;


Overview

Summary

ContactDonateImprint