Overview

Summary

ContactDonateImprint


Appendix E-22: PRICE HISTORY (UI prompt)


PriceHistoryOfferModuleAmazonCom

Properties (5)

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


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /pricehistory/{id}updatePriceHistoryById(pricehistory)OfferModulePUTPriceHistory
(2) /pricehistory/{id}deletePriceHistoryById(id)OfferModuleDELETEPriceHistory
(3) /pricehistory/{id}findPriceHistoryById(id)OfferModuleGETPriceHistory
(4) /pricehistory/offer/{id}findAllPriceHistoryOfOffer(id)OfferModuleGETOffer PriceHistory
(5) /pricehistoryfindAllPriceHistory()OfferModuleGETPriceHistory
(6) /pricehistoryinsertPriceHistory(pricehistory)OfferModulePOSTPriceHistory





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;


Overview

Summary

ContactDonateImprint