java.lang.Object
de.hybris.platform.travelfacades.facades.accommodation.impl.DefaultRatePlanFacade
All Implemented Interfaces:
RatePlanFacade

public class DefaultRatePlanFacade extends Object implements RatePlanFacade
Default implementation of the RatePlanFacade
  • Constructor Details

    • DefaultRatePlanFacade

      public DefaultRatePlanFacade()
  • Method Details

    • getGuarantees

      public List<GuaranteeData> getGuarantees(String ratePlanCode)
      Description copied from interface: RatePlanFacade
      Returns the associated Guarantee for a given code
      Specified by:
      getGuarantees in interface RatePlanFacade
      Parameters:
      ratePlanCode - the code of the ratePlan to get
      Returns:
      the associated GuaranteeData corresponding to the given code
    • getCancelPenalties

      public List<CancelPenaltyData> getCancelPenalties(String ratePlanCode)
      Description copied from interface: RatePlanFacade
      Returns the associated Cancel Penalties for a given code
      Specified by:
      getCancelPenalties in interface RatePlanFacade
      Parameters:
      ratePlanCode - the code of the ratePlan to get
      Returns:
      the associated CancelPenaltyData corresponding to the given code
    • getRatePlanService

      protected RatePlanService getRatePlanService()
      Gets rate plan service.
      Returns:
      the rate plan service
    • setRatePlanService

      public void setRatePlanService(RatePlanService ratePlanService)
      Sets rate plan service.
      Parameters:
      ratePlanService - the rate plan service
    • getGuaranteeConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel,GuaranteeData> getGuaranteeConverter()
      Returns:
      the guaranteeConverter
    • setGuaranteeConverter

      public void setGuaranteeConverter(de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel,GuaranteeData> guaranteeConverter)
      Parameters:
      guaranteeConverter - the guaranteeConverter to set
    • getCancelPenaltyConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel,CancelPenaltyData> getCancelPenaltyConverter()
      Returns:
      the cancelPenaltyConverter
    • setCancelPenaltyConverter

      public void setCancelPenaltyConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel,CancelPenaltyData> cancelPenaltyConverter)
      Parameters:
      cancelPenaltyConverter - the cancelPenaltyConverter to set