Class RoomRateProductModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class RoomRateProductModel extends TravelProductModel
Generated model class for type RoomRateProduct first defined at extension travelservices.

This type represents a room rate that is used in a rate plan.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String DAYSOFWEEK
      Generated constant - Attribute key of RoomRateProduct.daysOfWeek attribute defined at extension travelservices.
      See Also:
    • DATERANGES

      public static final String DATERANGES
      Generated constant - Attribute key of RoomRateProduct.dateRanges attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • RoomRateProductModel

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

      public RoomRateProductModel(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
    • RoomRateProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public RoomRateProductModel(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 Product at extension catalog
      _code - initial attribute declared by type Product at extension core
    • RoomRateProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public RoomRateProductModel(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 Product at extension catalog
      _code - initial attribute declared by type Product at extension core
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getDateRanges

      @Accessor(qualifier="dateRanges", type=GETTER) public List<DateRangeModel> getDateRanges()
      Generated method - Getter of the RoomRateProduct.dateRanges attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the dateRanges
    • getDaysOfWeek

      @Accessor(qualifier="daysOfWeek", type=GETTER) public List<DayOfWeek> getDaysOfWeek()
      Generated method - Getter of the RoomRateProduct.daysOfWeek attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the daysOfWeek
    • setDateRanges

      @Accessor(qualifier="dateRanges", type=SETTER) public void setDateRanges(List<DateRangeModel> value)
      Generated method - Setter of RoomRateProduct.dateRanges attribute defined at extension travelservices.
      Parameters:
      value - the dateRanges
    • setDaysOfWeek

      @Accessor(qualifier="daysOfWeek", type=SETTER) public void setDaysOfWeek(List<DayOfWeek> value)
      Generated method - Setter of RoomRateProduct.daysOfWeek attribute defined at extension travelservices.
      Parameters:
      value - the daysOfWeek