Package com.highdeal.pnr.hci
Interface StatelessPreRateResult
public interface StatelessPreRateResult
Object which is returned to the client application from the stateless pre-rate.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the underlying StatelessRateResultvoidupdate(StatelessPreRatingContext preRatingContext) Updates the passed preRatingContext according the this result.
-
Method Details
-
getRateResult
StatelessRateResult getRateResult()Returns the underlying StatelessRateResult- Returns:
- a StatelessRateResult
-
update
Updates the passed preRatingContext according the this result. This method should be call on the StatelessPreRatingContext that has been used for the pre-rate call that produced this result.Important notice:this update will use the rating date of this result (argument ratingDate of
StatelessServiceClient.statelessPreRate(StatelessRatingEvent, String, StatelessPreRatingContext, java.util.Date, long, long, boolean, boolean)as comparison date to manage other pending pre-rating expiration.- Parameters:
preRatingContext- the context to update- Throws:
StatelessPreRatingException
-