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:
java.io.Serializable
public class SubscriptionPricePlanModel extends PriceRowModel
Generated model class for type SubscriptionPricePlan first defined at extension subscriptionservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringNAMEGenerated constant - Attribute key ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.static java.lang.StringONETIMECHARGEENTRIESGenerated constant - Attribute key ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.static java.lang.StringPRICEPLANIDGenerated constant - Attribute key ofSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.static java.lang.StringRECURRINGCHARGEENTRIESGenerated constant - Attribute key ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.static java.lang.StringUSAGECHARGESGenerated constant - Attribute key ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.static java.lang.StringVALIDATIONMESSAGESGenerated constant - Attribute key ofSubscriptionPricePlan.validationMessagesattribute defined at extensionsubscriptionservices.-
Fields inherited from class de.hybris.platform.europe1.model.PriceRowModel
_PRODUCT2OWNEUROPE1PRICES, CATALOGVERSION, CHANNEL, CURRENCY, GIVEAWAYPRICE, MATCHVALUE, MINQTD, NET, PRICE, SAPCONDITIONID, SEQUENCEID, UNIT, UNITFACTOR
-
Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SubscriptionPricePlanModel()Generated constructor - Default constructor for generic creation.SubscriptionPricePlanModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, java.lang.Double _price, ProductModel _product, java.lang.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, java.lang.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(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.java.util.Collection<OneTimeChargeEntryModel>getOneTimeChargeEntries()Generated method - Getter of theSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.java.lang.StringgetPricePlanId()Generated method - Getter of theSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.java.util.Collection<RecurringChargeEntryModel>getRecurringChargeEntries()Generated method - Getter of theSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.java.util.Collection<UsageChargeModel>getUsageCharges()Generated method - Getter of theSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.java.util.Collection<java.lang.String>getValidationMessages()Generated method - Getter of theSubscriptionPricePlan.validationMessagesdynamic attribute defined at extensionsubscriptionservices.voidsetName(java.lang.String value)Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.voidsetOneTimeChargeEntries(java.util.Collection<OneTimeChargeEntryModel> value)Generated method - Setter ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.voidsetPricePlanId(java.lang.String value)Generated method - Setter ofSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.voidsetRecurringChargeEntries(java.util.Collection<RecurringChargeEntryModel> value)Generated method - Setter ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.voidsetUsageCharges(java.util.Collection<UsageChargeModel> value)Generated 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, getSapConditionId, getSequenceId, getUnit, getUnitFactor, setCatalogVersion, setChannel, setCurrency, setGiveAwayPrice, setMatchValue, setMinqtd, setNet, setPg, setPrice, setProduct, setSapConditionId, setSequenceId, setUnit, setUnitFactor
-
Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifier
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
VALIDATIONMESSAGES
public static final java.lang.String VALIDATIONMESSAGES
Generated constant - Attribute key ofSubscriptionPricePlan.validationMessagesattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
ONETIMECHARGEENTRIES
public static final java.lang.String ONETIMECHARGEENTRIES
Generated constant - Attribute key ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
RECURRINGCHARGEENTRIES
public static final java.lang.String RECURRINGCHARGEENTRIES
Generated constant - Attribute key ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
USAGECHARGES
public static final java.lang.String USAGECHARGES
Generated constant - Attribute key ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
PRICEPLANID
public static final java.lang.String PRICEPLANID
Generated constant - Attribute key ofSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubscriptionPricePlanModel
public SubscriptionPricePlanModel()
Generated constructor - Default constructor for generic creation.
-
SubscriptionPricePlanModel
public SubscriptionPricePlanModel(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, java.lang.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, java.lang.Double _price, ProductModel _product, java.lang.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 Detail
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getOneTimeChargeEntries
@Accessor(qualifier="oneTimeChargeEntries", type=GETTER) public java.util.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
-
getPricePlanId
@Accessor(qualifier="pricePlanId", type=GETTER) public java.lang.String getPricePlanId()
Generated method - Getter of theSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.- Returns:
- the pricePlanId - Rate plan ID from Revenue Cloud
-
getRecurringChargeEntries
@Accessor(qualifier="recurringChargeEntries", type=GETTER) public java.util.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 java.util.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 java.util.Collection<java.lang.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
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofSubscriptionPricePlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setOneTimeChargeEntries
@Accessor(qualifier="oneTimeChargeEntries", type=SETTER) public void setOneTimeChargeEntries(java.util.Collection<OneTimeChargeEntryModel> value)
Generated method - Setter ofSubscriptionPricePlan.oneTimeChargeEntriesattribute defined at extensionsubscriptionservices.- Parameters:
value- the oneTimeChargeEntries
-
setPricePlanId
@Accessor(qualifier="pricePlanId", type=SETTER) public void setPricePlanId(java.lang.String value)
Generated method - Setter ofSubscriptionPricePlan.pricePlanIdattribute defined at extensionsaprevenuecloudproduct.- Parameters:
value- the pricePlanId - Rate plan ID from Revenue Cloud
-
setRecurringChargeEntries
@Accessor(qualifier="recurringChargeEntries", type=SETTER) public void setRecurringChargeEntries(java.util.Collection<RecurringChargeEntryModel> value)
Generated method - Setter ofSubscriptionPricePlan.recurringChargeEntriesattribute defined at extensionsubscriptionservices.- Parameters:
value- the recurringChargeEntries
-
setUsageCharges
@Accessor(qualifier="usageCharges", type=SETTER) public void setUsageCharges(java.util.Collection<UsageChargeModel> value)
Generated method - Setter ofSubscriptionPricePlan.usageChargesattribute defined at extensionsubscriptionservices.- Parameters:
value- the usageCharges
-
-