java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.category.model.CategoryModel
de.hybris.platform.travelservices.model.accommodation.RatePlanModel
All Implemented Interfaces:
Serializable

public class RatePlanModel extends CategoryModel
Generated model class for type RatePlan first defined at extension travelservices.

This item represents a pricing plan for a particular accommodation that could consist of many room rates.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • TIMEUNIT

      public static final String TIMEUNIT
      Generated constant - Attribute key of RatePlan.timeUnit attribute defined at extension travelservices.
      See Also:
    • GUESTOCCUPANCIES

      public static final String GUESTOCCUPANCIES
      Generated constant - Attribute key of RatePlan.guestOccupancies attribute defined at extension travelservices.
      See Also:
    • MINSTAY

      public static final String MINSTAY
      Generated constant - Attribute key of RatePlan.minStay attribute defined at extension travelservices.
      See Also:
    • MAXSTAY

      public static final String MAXSTAY
      Generated constant - Attribute key of RatePlan.maxStay attribute defined at extension travelservices.
      See Also:
    • IGNORERULES

      public static final String IGNORERULES
      Generated constant - Attribute key of RatePlan.ignoreRules attribute defined at extension travelservices.
      See Also:
    • CANCELPENALTY

      public static final String CANCELPENALTY
      Generated constant - Attribute key of RatePlan.cancelPenalty attribute defined at extension travelservices.
      See Also:
    • GUARANTEE

      public static final String GUARANTEE
      Generated constant - Attribute key of RatePlan.guarantee attribute defined at extension travelservices.
      See Also:
    • RATEPLANINCLUSION

      public static final String RATEPLANINCLUSION
      Generated constant - Attribute key of RatePlan.ratePlanInclusion attribute defined at extension travelservices.
      See Also:
    • MEALTYPE

      public static final String MEALTYPE
      Generated constant - Attribute key of RatePlan.mealType attribute defined at extension travelservices.
      See Also:
    • ACCOMMODATION

      public static final String ACCOMMODATION
      Generated constant - Attribute key of RatePlan.accommodation attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • RatePlanModel

      public RatePlanModel()
      Generated constructor - Default constructor for generic creation.
    • RatePlanModel

      public RatePlanModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • RatePlanModel

      @Deprecated(since="4.1.1", forRemoval=true) public RatePlanModel(CatalogVersionModel _catalogVersion, String _code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
    • RatePlanModel

      @Deprecated(since="4.1.1", forRemoval=true) public RatePlanModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAccommodation

      @Accessor(qualifier="accommodation", type=GETTER) public Collection<AccommodationModel> getAccommodation()
      Generated method - Getter of the RatePlan.accommodation attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accommodation
    • getCancelPenalty

      @Accessor(qualifier="cancelPenalty", type=GETTER) public Collection<CancelPenaltyModel> getCancelPenalty()
      Generated method - Getter of the RatePlan.cancelPenalty attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cancelPenalty
    • getGuarantee

      @Accessor(qualifier="guarantee", type=GETTER) public Collection<GuaranteeModel> getGuarantee()
      Generated method - Getter of the RatePlan.guarantee attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the guarantee
    • getGuestOccupancies

      @Accessor(qualifier="guestOccupancies", type=GETTER) public List<GuestOccupancyModel> getGuestOccupancies()
      Generated method - Getter of the RatePlan.guestOccupancies attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the guestOccupancies
    • getIgnoreRules

      @Accessor(qualifier="ignoreRules", type=GETTER) public Boolean getIgnoreRules()
      Generated method - Getter of the RatePlan.ignoreRules attribute defined at extension travelservices.
      Returns:
      the ignoreRules
    • getMaxStay

      @Accessor(qualifier="maxStay", type=GETTER) public Integer getMaxStay()
      Generated method - Getter of the RatePlan.maxStay attribute defined at extension travelservices.
      Returns:
      the maxStay
    • getMealType

      @Accessor(qualifier="mealType", type=GETTER) public Collection<MealType> getMealType()
      Generated method - Getter of the RatePlan.mealType attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the mealType
    • getMinStay

      @Accessor(qualifier="minStay", type=GETTER) public Integer getMinStay()
      Generated method - Getter of the RatePlan.minStay attribute defined at extension travelservices.
      Returns:
      the minStay
    • getRatePlanInclusion

      @Accessor(qualifier="ratePlanInclusion", type=GETTER) public Collection<RatePlanInclusionModel> getRatePlanInclusion()
      Generated method - Getter of the RatePlan.ratePlanInclusion attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the ratePlanInclusion
    • getTimeUnit

      @Accessor(qualifier="timeUnit", type=GETTER) public Long getTimeUnit()
      Generated method - Getter of the RatePlan.timeUnit attribute defined at extension travelservices.
      Returns:
      the timeUnit
    • setAccommodation

      @Accessor(qualifier="accommodation", type=SETTER) public void setAccommodation(Collection<AccommodationModel> value)
      Generated method - Setter of RatePlan.accommodation attribute defined at extension travelservices.
      Parameters:
      value - the accommodation
    • setCancelPenalty

      @Accessor(qualifier="cancelPenalty", type=SETTER) public void setCancelPenalty(Collection<CancelPenaltyModel> value)
      Generated method - Setter of RatePlan.cancelPenalty attribute defined at extension travelservices.
      Parameters:
      value - the cancelPenalty
    • setGuarantee

      @Accessor(qualifier="guarantee", type=SETTER) public void setGuarantee(Collection<GuaranteeModel> value)
      Generated method - Setter of RatePlan.guarantee attribute defined at extension travelservices.
      Parameters:
      value - the guarantee
    • setGuestOccupancies

      @Accessor(qualifier="guestOccupancies", type=SETTER) public void setGuestOccupancies(List<GuestOccupancyModel> value)
      Generated method - Setter of RatePlan.guestOccupancies attribute defined at extension travelservices.
      Parameters:
      value - the guestOccupancies
    • setIgnoreRules

      @Accessor(qualifier="ignoreRules", type=SETTER) public void setIgnoreRules(Boolean value)
      Generated method - Setter of RatePlan.ignoreRules attribute defined at extension travelservices.
      Parameters:
      value - the ignoreRules
    • setMaxStay

      @Accessor(qualifier="maxStay", type=SETTER) public void setMaxStay(Integer value)
      Generated method - Setter of RatePlan.maxStay attribute defined at extension travelservices.
      Parameters:
      value - the maxStay
    • setMealType

      @Accessor(qualifier="mealType", type=SETTER) public void setMealType(Collection<MealType> value)
      Generated method - Setter of RatePlan.mealType attribute defined at extension travelservices.
      Parameters:
      value - the mealType
    • setMinStay

      @Accessor(qualifier="minStay", type=SETTER) public void setMinStay(Integer value)
      Generated method - Setter of RatePlan.minStay attribute defined at extension travelservices.
      Parameters:
      value - the minStay
    • setRatePlanInclusion

      @Accessor(qualifier="ratePlanInclusion", type=SETTER) public void setRatePlanInclusion(Collection<RatePlanInclusionModel> value)
      Generated method - Setter of RatePlan.ratePlanInclusion attribute defined at extension travelservices.
      Parameters:
      value - the ratePlanInclusion
    • setTimeUnit

      @Accessor(qualifier="timeUnit", type=SETTER) public void setTimeUnit(Long value)
      Generated method - Setter of RatePlan.timeUnit attribute defined at extension travelservices.
      Parameters:
      value - the timeUnit