Interface NDCOfferFacade
- All Known Implementing Classes:
DefaultNDCOfferFacade
public interface NDCOfferFacade
Interface to expose method to lookup data based on an offer ID used in NDC contexts
-
Method Summary
Modifier and TypeMethodDescriptionvoidevictOffer(String offerID) Evicts offer if error occursgetOfferById(String offerId) The method performs a lookup retrieving information about the offervoidstoreOffer(NDCOfferData offer, String offerID) Persists theNDCOfferData
-
Method Details
-
getOfferById
The method performs a lookup retrieving information about the offer- Parameters:
offerId-- Returns:
- the NDCOfferData
-
storeOffer
Persists theNDCOfferData- Parameters:
offer-offerID-
-
evictOffer
Evicts offer if error occurs- Parameters:
offerID-
-