Class SubscriptionPricePlanModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.europe1.model.PDTRowModel
de.hybris.platform.europe1.model.PriceRowModel
de.hybris.platform.subscriptionservices.model.SubscriptionPricePlanModel
- All Implemented Interfaces:
Serializable
Generated model class for type SubscriptionPricePlan first defined at extension subscriptionservices.
- 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 ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionPricePlan.validationMessagesattribute defined at extensionsubscriptionservices.Fields inherited from class de.hybris.platform.europe1.model.PriceRowModel
_PRODUCT2OWNEUROPE1PRICES, _SUBSCRIPTIONTERM2SUBSCRIPTIONPRICEPLANRELATION, _TMAPRODUCTOFFERING2SUBSCRIPTIONPRICEPLANRELATION, _TMAPRODUCTOFFERINGPRICE2TMAPRICEROWRELATION, _TMAPRODUCTPRICECLASS2SUBSCRIPTIONPRICEPLANRELATION, CATALOGVERSION, CHANNEL, CURRENCY, GIVEAWAYPRICE, MATCHVALUE, MINQTD, NET, PRICE, PRODUCTOFFERINGPRICE, REQUIREDPRODUCTCLASSES, REQUIREDPRODUCTOFFERINGS, SEQUENCEID, SUBSCRIPTIONTERMS, UNIT, UNITFACTORFields inherited from class de.hybris.platform.europe1.model.PDTRowModel
AFFECTEDPRODUCTOFFERING, CODE, DATERANGE, DISTRIBUTIONCHANNELS, ENDTIME, PG, PRIORITY, PROCESSTYPES, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, REGIONS, STARTTIME, UG, USER, USERMATCHQUALIFIERFields 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.SubscriptionPricePlanModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, Double _price, ProductModel _product, String _productId, UnitModel _unit) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSubscriptionPricePlanModel(CurrencyModel _currency, Double _price, UnitModel _unit) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSubscriptionPricePlanModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetName()Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionPricePlan.validationMessagesdynamic attribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.Methods inherited from class de.hybris.platform.europe1.model.PriceRowModel
getCatalogVersion, getChannel, getCurrency, getGiveAwayPrice, getMatchValue, getMinqtd, getNet, getPrice, getProductOfferingPrice, getRequiredProductClasses, getRequiredProductOfferings, getSequenceId, getSubscriptionTerms, getUnit, getUnitFactor, setCatalogVersion, setChannel, setCurrency, setGiveAwayPrice, setMatchValue, setMinqtd, setNet, setPg, setPrice, setProduct, setProductOfferingPrice, setRequiredProductClasses, setRequiredProductOfferings, setSequenceId, setSubscriptionTerms, setUnit, setUnitFactorMethods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getAffectedProductOffering, getCode, getDateRange, getDistributionChannels, getEndTime, getPg, getPriority, getProcessTypes, getProduct, getProductId, getProductMatchQualifier, getRegions, getStartTime, getUg, getUser, getUserMatchQualifier, setAffectedProductOffering, setCode, setDateRange, setDistributionChannels, setEndTime, setPriority, setProcessTypes, setProductId, setProductMatchQualifier, setRegions, setStartTime, setUg, setUser, setUserMatchQualifierMethods 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:
-
NAME
Generated constant - Attribute key ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- See Also:
-
VALIDATIONMESSAGES
Generated constant - Attribute key ofSubscriptionPricePlan.validationMessagesattribute defined at extensionsubscriptionservices.- See Also:
-
ONETIMECHARGEENTRIES
Generated constant - Attribute key ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.- See Also:
-
RECURRINGCHARGEENTRIES
Generated constant - Attribute key ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.- See Also:
-
USAGECHARGES
Generated constant - Attribute key ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
SubscriptionPricePlanModel
public SubscriptionPricePlanModel()Generated constructor - Default constructor for generic creation. -
SubscriptionPricePlanModel
public SubscriptionPricePlanModel(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
-
SubscriptionPricePlanModel
@Deprecated(since="4.1.1", forRemoval=true) public SubscriptionPricePlanModel(CurrencyModel _currency, Double _price, UnitModel _unit) 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:
_currency- initial attribute declared by typePriceRowat extensioneurope1_price- initial attribute declared by typeSubscriptionPricePlanat extensionsubscriptionservices_unit- initial attribute declared by typePriceRowat extensioneurope1
-
SubscriptionPricePlanModel
@Deprecated(since="4.1.1", forRemoval=true) public SubscriptionPricePlanModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, Double _price, ProductModel _product, String _productId, UnitModel _unit) 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:
_currency- initial attribute declared by typePriceRowat extensioneurope1_owner- initial attribute declared by typeItemat extensioncore_pg- initial attribute declared by typePriceRowat extensioneurope1_price- initial attribute declared by typeSubscriptionPricePlanat extensionsubscriptionservices_product- initial attribute declared by typePriceRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1_unit- initial attribute declared by typePriceRowat extensioneurope1
-
-
Method Details
-
getName
Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getOneTimeChargeEntries
@Accessor(qualifier="oneTimeChargeEntries", type=GETTER) public Collection<OneTimeChargeEntryModel> getOneTimeChargeEntries()Generated method - Getter of theSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the oneTimeChargeEntries
-
getRecurringChargeEntries
@Accessor(qualifier="recurringChargeEntries", type=GETTER) public Collection<RecurringChargeEntryModel> getRecurringChargeEntries()Generated method - Getter of theSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the recurringChargeEntries
-
getUsageCharges
@Accessor(qualifier="usageCharges", type=GETTER) public Collection<UsageChargeModel> getUsageCharges()Generated method - Getter of theSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the usageCharges
-
getValidationMessages
@Accessor(qualifier="validationMessages", type=GETTER) public Collection<String> getValidationMessages()Generated method - Getter of theSubscriptionPricePlan.validationMessagesdynamic attribute defined at extensionsubscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the validationMessages - Validation Messages
-
setName
Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setOneTimeChargeEntries
@Accessor(qualifier="oneTimeChargeEntries", type=SETTER) public void setOneTimeChargeEntries(Collection<OneTimeChargeEntryModel> value) Generated method - Setter ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.- Parameters:
value- the oneTimeChargeEntries
-
setRecurringChargeEntries
@Accessor(qualifier="recurringChargeEntries", type=SETTER) public void setRecurringChargeEntries(Collection<RecurringChargeEntryModel> value) Generated method - Setter ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.- Parameters:
value- the recurringChargeEntries
-
setUsageCharges
@Accessor(qualifier="usageCharges", type=SETTER) public void setUsageCharges(Collection<UsageChargeModel> value) Generated method - Setter ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.- Parameters:
value- the usageCharges
-