Class AccommodationBundleTemplateModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
de.hybris.platform.travelservices.model.deal.AccommodationBundleTemplateModel
All Implemented Interfaces:
Serializable

public class AccommodationBundleTemplateModel extends BundleTemplateModel
Generated model class for type AccommodationBundleTemplate first defined at extension travelservices.

This item represents the accommodation part of a static deal bundle template.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String ACCOMMODATIONOFFERING
      Generated constant - Attribute key of AccommodationBundleTemplate.accommodationOffering attribute defined at extension travelservices.
      See Also:
    • ACCOMMODATION

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

      public static final String RATEPLAN
      Generated constant - Attribute key of AccommodationBundleTemplate.ratePlan attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • AccommodationBundleTemplateModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationBundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, String _version)
      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 BundleTemplate at extension configurablebundleservices
      _id - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _version - initial attribute declared by type BundleTemplate at extension configurablebundleservices
    • AccommodationBundleTemplateModel

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationBundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, String _version)
      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 BundleTemplate at extension configurablebundleservices
      _id - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _owner - initial attribute declared by type Item at extension core
      _parentTemplate - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _version - initial attribute declared by type BundleTemplate at extension configurablebundleservices
  • Method Details

    • getAccommodation

      @Accessor(qualifier="accommodation", type=GETTER) public AccommodationModel getAccommodation()
      Generated method - Getter of the AccommodationBundleTemplate.accommodation attribute defined at extension travelservices.
      Returns:
      the accommodation
    • getAccommodationOffering

      @Accessor(qualifier="accommodationOffering", type=GETTER) public AccommodationOfferingModel getAccommodationOffering()
      Generated method - Getter of the AccommodationBundleTemplate.accommodationOffering attribute defined at extension travelservices.
      Returns:
      the accommodationOffering
    • getRatePlan

      @Accessor(qualifier="ratePlan", type=GETTER) public RatePlanModel getRatePlan()
      Generated method - Getter of the AccommodationBundleTemplate.ratePlan attribute defined at extension travelservices.
      Returns:
      the ratePlan
    • setAccommodation

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

      @Accessor(qualifier="accommodationOffering", type=SETTER) public void setAccommodationOffering(AccommodationOfferingModel value)
      Generated method - Setter of AccommodationBundleTemplate.accommodationOffering attribute defined at extension travelservices.
      Parameters:
      value - the accommodationOffering
    • setRatePlan

      @Accessor(qualifier="ratePlan", type=SETTER) public void setRatePlan(RatePlanModel value)
      Generated method - Setter of AccommodationBundleTemplate.ratePlan attribute defined at extension travelservices.
      Parameters:
      value - the ratePlan