Class RatePlanModel
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
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofRatePlan.accommodationattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.cancelPenaltyattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.guaranteeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.guestOccupanciesattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.ignoreRulesattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.maxStayattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.mealTypeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.minStayattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.ratePlanInclusionattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlan.timeUnitattribute defined at extensiontravelservices.Fields inherited from class de.hybris.platform.category.model.CategoryModel
_CATEGORIESFORPRODUCTCAROUSELCOMPONENT, _CATEGORIESFORRESTRICTION, _CATEGORYCATEGORYRELATION, _CATEGORYFEATURECOMPONENTS2CATEGORYREL, _PRODUCTLISTCOMPONENTSFORCATEGORY, ALLOWEDPRINCIPALS, ALLSUBCATEGORIES, ALLSUPERCATEGORIES, CATALOG, CATALOGVERSION, CATEGORIES, CATEGORYFEATURECOMPONENTS, CODE, DATA_SHEET, DESCRIPTION, DETAIL, KEYWORDS, LINKCOMPONENTS, LOGO, MEDIAS, NAME, NORMAL, ORDER, OTHERS, PICTURE, PRODUCTCAROUSELCOMPONENTS, PRODUCTLISTCOMPONENTS, PRODUCTS, PROMOTIONS, RESTRICTIONS, SIMPLEBANNERCOMPONENTS, SIMPLERESPONSIVEBANNERCOMPONENTS, STOCKLEVELTHRESHOLD, SUPERCATEGORIES, THUMBNAIL, THUMBNAILS, TRAVELRESTRICTION, VIDEOCOMPONENTSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersRatePlanModel(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 parametersRatePlanModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theRatePlan.accommodationattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.cancelPenaltyattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.guaranteeattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.guestOccupanciesattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.ignoreRulesattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.maxStayattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.mealTypeattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.minStayattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.ratePlanInclusionattribute defined at extensiontravelservices.Generated method - Getter of theRatePlan.timeUnitattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlan.accommodationattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlan.cancelPenaltyattribute defined at extensiontravelservices.voidsetGuarantee(Collection<GuaranteeModel> value) Generated method - Setter ofRatePlan.guaranteeattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlan.guestOccupanciesattribute defined at extensiontravelservices.voidsetIgnoreRules(Boolean value) Generated method - Setter ofRatePlan.ignoreRulesattribute defined at extensiontravelservices.voidsetMaxStay(Integer value) Generated method - Setter ofRatePlan.maxStayattribute defined at extensiontravelservices.voidsetMealType(Collection<MealType> value) Generated method - Setter ofRatePlan.mealTypeattribute defined at extensiontravelservices.voidsetMinStay(Integer value) Generated method - Setter ofRatePlan.minStayattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlan.ratePlanInclusionattribute defined at extensiontravelservices.voidsetTimeUnit(Long value) Generated method - Setter ofRatePlan.timeUnitattribute defined at extensiontravelservices.Methods inherited from class de.hybris.platform.category.model.CategoryModel
getAllowedPrincipals, getAllSubcategories, getAllSupercategories, getCatalogVersion, getCategories, getCategoryFeatureComponents, getCode, getData_sheet, getDescription, getDescription, getDetail, getKeywords, getKeywords, getLinkComponents, getLogo, getMedias, getName, getName, getNormal, getOrder, getOthers, getPicture, getProductCarouselComponents, getProductListComponents, getProducts, getPromotions, getRestrictions, getSimpleBannerComponents, getSimpleResponsiveBannerComponents, getStockLevelThreshold, getSupercategories, getThumbnail, getThumbnails, getTravelRestriction, getVideoComponents, setAllowedPrincipals, setCatalogVersion, setCategories, setCategoryFeatureComponents, setCode, setData_sheet, setDescription, setDescription, setDetail, setKeywords, setKeywords, setLinkComponents, setLogo, setMedias, setName, setName, setNormal, setOrder, setOthers, setPicture, setProductCarouselComponents, setProductListComponents, setProducts, setPromotions, setRestrictions, setSimpleBannerComponents, setSimpleResponsiveBannerComponents, setStockLevelThreshold, setSupercategories, setThumbnail, setThumbnails, setTravelRestriction, setVideoComponentsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
TIMEUNIT
Generated constant - Attribute key ofRatePlan.timeUnitattribute defined at extensiontravelservices.- See Also:
-
GUESTOCCUPANCIES
Generated constant - Attribute key ofRatePlan.guestOccupanciesattribute defined at extensiontravelservices.- See Also:
-
MINSTAY
Generated constant - Attribute key ofRatePlan.minStayattribute defined at extensiontravelservices.- See Also:
-
MAXSTAY
Generated constant - Attribute key ofRatePlan.maxStayattribute defined at extensiontravelservices.- See Also:
-
IGNORERULES
Generated constant - Attribute key ofRatePlan.ignoreRulesattribute defined at extensiontravelservices.- See Also:
-
CANCELPENALTY
Generated constant - Attribute key ofRatePlan.cancelPenaltyattribute defined at extensiontravelservices.- See Also:
-
GUARANTEE
Generated constant - Attribute key ofRatePlan.guaranteeattribute defined at extensiontravelservices.- See Also:
-
RATEPLANINCLUSION
Generated constant - Attribute key ofRatePlan.ratePlanInclusionattribute defined at extensiontravelservices.- See Also:
-
MEALTYPE
Generated constant - Attribute key ofRatePlan.mealTypeattribute defined at extensiontravelservices.- See Also:
-
ACCOMMODATION
Generated constant - Attribute key ofRatePlan.accommodationattribute defined at extensiontravelservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCategoryat extensioncatalog_code- initial attribute declared by typeCategoryat extensioncatalog
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCategoryat extensioncatalog_code- initial attribute declared by typeCategoryat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAccommodation
@Accessor(qualifier="accommodation", type=GETTER) public Collection<AccommodationModel> getAccommodation()Generated method - Getter of theRatePlan.accommodationattribute defined at extensiontravelservices. 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 theRatePlan.cancelPenaltyattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cancelPenalty
-
getGuarantee
Generated method - Getter of theRatePlan.guaranteeattribute defined at extensiontravelservices. 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 theRatePlan.guestOccupanciesattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the guestOccupancies
-
getIgnoreRules
Generated method - Getter of theRatePlan.ignoreRulesattribute defined at extensiontravelservices.- Returns:
- the ignoreRules
-
getMaxStay
Generated method - Getter of theRatePlan.maxStayattribute defined at extensiontravelservices.- Returns:
- the maxStay
-
getMealType
Generated method - Getter of theRatePlan.mealTypeattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the mealType
-
getMinStay
Generated method - Getter of theRatePlan.minStayattribute defined at extensiontravelservices.- Returns:
- the minStay
-
getRatePlanInclusion
@Accessor(qualifier="ratePlanInclusion", type=GETTER) public Collection<RatePlanInclusionModel> getRatePlanInclusion()Generated method - Getter of theRatePlan.ratePlanInclusionattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ratePlanInclusion
-
getTimeUnit
Generated method - Getter of theRatePlan.timeUnitattribute defined at extensiontravelservices.- Returns:
- the timeUnit
-
setAccommodation
@Accessor(qualifier="accommodation", type=SETTER) public void setAccommodation(Collection<AccommodationModel> value) Generated method - Setter ofRatePlan.accommodationattribute defined at extensiontravelservices.- Parameters:
value- the accommodation
-
setCancelPenalty
@Accessor(qualifier="cancelPenalty", type=SETTER) public void setCancelPenalty(Collection<CancelPenaltyModel> value) Generated method - Setter ofRatePlan.cancelPenaltyattribute defined at extensiontravelservices.- Parameters:
value- the cancelPenalty
-
setGuarantee
@Accessor(qualifier="guarantee", type=SETTER) public void setGuarantee(Collection<GuaranteeModel> value) Generated method - Setter ofRatePlan.guaranteeattribute defined at extensiontravelservices.- Parameters:
value- the guarantee
-
setGuestOccupancies
@Accessor(qualifier="guestOccupancies", type=SETTER) public void setGuestOccupancies(List<GuestOccupancyModel> value) Generated method - Setter ofRatePlan.guestOccupanciesattribute defined at extensiontravelservices.- Parameters:
value- the guestOccupancies
-
setIgnoreRules
Generated method - Setter ofRatePlan.ignoreRulesattribute defined at extensiontravelservices.- Parameters:
value- the ignoreRules
-
setMaxStay
Generated method - Setter ofRatePlan.maxStayattribute defined at extensiontravelservices.- Parameters:
value- the maxStay
-
setMealType
Generated method - Setter ofRatePlan.mealTypeattribute defined at extensiontravelservices.- Parameters:
value- the mealType
-
setMinStay
Generated method - Setter ofRatePlan.minStayattribute defined at extensiontravelservices.- Parameters:
value- the minStay
-
setRatePlanInclusion
@Accessor(qualifier="ratePlanInclusion", type=SETTER) public void setRatePlanInclusion(Collection<RatePlanInclusionModel> value) Generated method - Setter ofRatePlan.ratePlanInclusionattribute defined at extensiontravelservices.- Parameters:
value- the ratePlanInclusion
-
setTimeUnit
Generated method - Setter ofRatePlan.timeUnitattribute defined at extensiontravelservices.- Parameters:
value- the timeUnit
-