Interface CalculateTotalPriceForChangeDatesStrategy

All Known Implementing Classes:
DefaultCalculateTotalPriceWithGuaranteeForChangeDatesStrategy, DefaultCalculateTotalPriceWithoutGuaranteeForChangeDatesStrategy

public interface CalculateTotalPriceForChangeDatesStrategy
The interface Calculate total price for change dates strategy.
  • Method Details

    • calculate

      BigDecimal calculate(AccommodationAvailabilityResponseData accommodationAvailabilityResponse, String orderCode)
      Retrieves the total price of accommodation booking
      Parameters:
      accommodationAvailabilityResponse - the accommodation availability response
      orderCode - the order code
      Returns:
      big decimal