Overview

Summary

ContactDonateImprint


4. OFFER MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) BrowseEventBrowseEventProductModuleAmazonCom
(2) CustomerCustomerCustomerModuleAmazonCom
(3) FulfillmentCenterFulfillmentCenterFulfillmentCenterModuleAmazonCom
(4) InventoryItemInventoryItemOfferModuleAmazonCom
(5) OfferOfferOfferModuleAmazonCom
(6) OrderItemOrderItemReturnRequestModuleAmazonCom
(7) PriceHistoryPriceHistoryOfferModuleAmazonCom
(8) ProductProductProductModuleAmazonCom
(9) SellerSellerProductModuleAmazonCom
(10) ShoppingCartShoppingCartOfferModuleAmazonCom
(11) ShoppingCartItemShoppingCartItemOfferModuleAmazonCom

Module Interfaces (33)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /inventoryiteminsertInventoryItem(inventoryitem)OfferModulePOSTInventoryItem
(2) /shoppingcartitem/{id}deleteShoppingCartItemById(id)OfferModuleDELETEShoppingCartItem
(3) /inventoryitem/{id}findInventoryItemById(id)OfferModuleGETInventoryItem
(4) /pricehistory/{id}findPriceHistoryById(id)OfferModuleGETPriceHistory
(5) /pricehistoryfindAllPriceHistory()OfferModuleGETPriceHistory
(6) /shoppingcartitem/{id}updateShoppingCartItemById(shoppingcartitem)OfferModulePUTShoppingCartItem
(7) /offer/product/{id}findAllOfferOfProduct(id)OfferModuleGETProduct Offer
(8) /shoppingcart/{id}updateShoppingCartById(shoppingcart)OfferModulePUTShoppingCart
(9) /shoppingcartitem/{id}findShoppingCartItemById(id)OfferModuleGETShoppingCartItem
(10) /offerfindAllOffer()OfferModuleGETOffer
(11) /shoppingcart/customer/{id}findAllShoppingCartOfCustomer(id)OfferModuleGETCustomer ShoppingCart
(12) /inventoryitem/fulfillmentcenter/{id}findAllInventoryItemOfFulfillmentCenter(id)OfferModuleGETFulfillmentCenter InventoryItem
(13) /offer/{id}updateOfferById(offer)OfferModulePUTOffer
(14) /pricehistory/{id}deletePriceHistoryById(id)OfferModuleDELETEPriceHistory
(15) /inventoryitem/{id}deleteInventoryItemById(id)OfferModuleDELETEInventoryItem
(16) /inventoryitem/{id}updateInventoryItemById(inventoryitem)OfferModulePUTInventoryItem
(17) /inventoryitem/offer/{id}findAllInventoryItemOfOffer(id)OfferModuleGETOffer InventoryItem
(18) /pricehistory/{id}updatePriceHistoryById(pricehistory)OfferModulePUTPriceHistory
(19) /shoppingcartitemfindAllShoppingCartItem()OfferModuleGETShoppingCartItem
(20) /shoppingcartinsertShoppingCart(shoppingcart)OfferModulePOSTShoppingCart
(21) /shoppingcartitem/shoppingcart/{id}findAllShoppingCartItemOfShoppingCart(id)OfferModuleGETShoppingCart ShoppingCartItem
(22) /offer/{id}findOfferById(id)OfferModuleGETOffer
(23) /offerinsertOffer(offer)OfferModulePOSTOffer
(24) /offer/{id}deleteOfferById(id)OfferModuleDELETEOffer
(25) /shoppingcartiteminsertShoppingCartItem(shoppingcartitem)OfferModulePOSTShoppingCartItem
(26) /shoppingcartitem/offer/{id}findAllShoppingCartItemOfOffer(id)OfferModuleGETOffer ShoppingCartItem
(27) /shoppingcartfindAllShoppingCart()OfferModuleGETShoppingCart
(28) /inventoryitemfindAllInventoryItem()OfferModuleGETInventoryItem
(29) /pricehistory/offer/{id}findAllPriceHistoryOfOffer(id)OfferModuleGETOffer PriceHistory
(30) /shoppingcart/{id}findShoppingCartById(id)OfferModuleGETShoppingCart
(31) /offer/seller/{id}findAllOfferOfSeller(id)OfferModuleGETSeller Offer
(32) /pricehistoryinsertPriceHistory(pricehistory)OfferModulePOSTPriceHistory
(33) /shoppingcart/{id}deleteShoppingCartById(id)OfferModuleDELETEShoppingCart






4.1 INVENTORY ITEM


InventoryItemOfferModuleAmazonCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) FulfillmentCenterLONGInventoryItemFulfillmentCenterFulfillmentCenterModule
(2) OfferLONGInventoryItemOfferOfferModule
(3) QuantityOnHandLONGInventoryItem
(4) QuantityReservedLONGInventoryItem
(5) UpdatedAtDATEInventoryItem





Example:

final InventoryItem inventoryitem = (InventoryItem) invokeModule(OFFER_MODULE + "/inventoryitem/" + id, InventoryItem.class);
if (inventoryitem != null) {
    final Offer offer1 = (Offer) invokeModule(OFFER_MODULE + "/offer/" + inventoryitem.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 FulfillmentCenter fulfillmentcenter5 = (FulfillmentCenter) invokeModule(FULFILLMENT_CENTER_MODULE + "/fulfillmentcenter/" + inventoryitem.getFulfillmentCenter().getId(), FulfillmentCenter.class);
    if (fulfillmentcenter5 != null) {
        final Address address6 = (Address) invokeModule(FULFILLMENT_CENTER_MODULE + "/address/" + fulfillmentcenter5.getAddress().getId(), Address.class);
        if (address6 != null) {
            final Country country7 = (Country) invokeModule(FULFILLMENT_CENTER_MODULE + "/country/" + address6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
    }
}
return inventoryitem;


4.2 OFFER


OfferOfferModuleAmazonCom

Properties (10)

PropertyTypeEntityReferenceModule
(1) ConditionSTRINGOffer
(2) CreatedAtDATEOffer
(3) CurrencySTRINGOffer
(4) IsActiveBOOLOffer
(5) IsPrimeEligibleBOOLOffer
(6) PriceDOUBLEOffer
(7) ProductLONGOfferProductProductModule
(8) SellerLONGOfferSellerProductModule
(9) SkuSellerSTRINGOffer
(10) UpdatedAtDATEOffer





Example:

final Offer offer = (Offer) invokeModule(OFFER_MODULE + "/offer/" + id, Offer.class);
if (offer != null) {
    final Seller seller1 = (Seller) invokeModule(PRODUCT_MODULE + "/seller/" + offer.getSeller().getId(), Seller.class);
    if (seller1 != null) {
    }
    final Product product2 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + offer.getProduct().getId(), Product.class);
    if (product2 != null) {
        final Brand brand3 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product2.getBrand().getId(), Brand.class);
        if (brand3 != null) {
        }
    }
}
return offer;


4.3 PRICE HISTORY


PriceHistoryOfferModuleAmazonCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) CurrencySTRINGPriceHistory
(2) OfferLONGPriceHistoryOfferOfferModule
(3) PriceDOUBLEPriceHistory
(4) ValidFromDATEPriceHistory
(5) ValidToDATEPriceHistory





Example:

final PriceHistory pricehistory = (PriceHistory) invokeModule(OFFER_MODULE + "/pricehistory/" + id, PriceHistory.class);
if (pricehistory != null) {
    final Offer offer1 = (Offer) invokeModule(OFFER_MODULE + "/offer/" + pricehistory.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) {
            }
        }
    }
}
return pricehistory;


4.4 SHOPPING CART


ShoppingCartOfferModuleAmazonCom

Properties (3)

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





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;


4.5 SHOPPING CART ITEM


ShoppingCartItemOfferModuleAmazonCom

Properties (4)

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





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