Class BillingPlanModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.subscriptionservices.model.BillingPlanModel
-
- All Implemented Interfaces:
java.io.Serializable
public class BillingPlanModel extends ItemModel
Generated model class for type BillingPlan 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.StringBILLINGCYCLEDAYGenerated constant - Attribute key ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.static java.lang.StringBILLINGCYCLETYPEGenerated constant - Attribute key ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.static java.lang.StringBILLINGFREQUENCYGenerated constant - Attribute key ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.static java.lang.StringIDGenerated constant - Attribute key ofBillingPlan.idattribute defined at extensionsubscriptionservices.static java.lang.StringNAMEGenerated constant - Attribute key ofBillingPlan.nameattribute defined at extensionsubscriptionservices.-
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 BillingPlanModel()Generated constructor - Default constructor for generic creation.BillingPlanModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextBillingPlanModel(java.lang.String _id)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersBillingPlanModel(java.lang.String _id, 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBillingCycleDay()Generated method - Getter of theBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.BillingCycleTypegetBillingCycleType()Generated method - Getter of theBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.BillingFrequencyModelgetBillingFrequency()Generated method - Getter of theBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.java.lang.StringgetId()Generated method - Getter of theBillingPlan.idattribute defined at extensionsubscriptionservices.java.lang.StringgetName()Generated method - Getter of theBillingPlan.nameattribute defined at extensionsubscriptionservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theBillingPlan.nameattribute defined at extensionsubscriptionservices.voidsetBillingCycleDay(java.lang.Integer value)Generated method - Setter ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.voidsetBillingCycleType(BillingCycleType value)Generated method - Setter ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.voidsetBillingFrequency(BillingFrequencyModel value)Generated method - Setter ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.voidsetId(java.lang.String value)Generated method - Initial setter ofBillingPlan.idattribute defined at extensionsubscriptionservices.voidsetName(java.lang.String value)Generated method - Setter ofBillingPlan.nameattribute defined at extensionsubscriptionservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofBillingPlan.nameattribute defined at extensionsubscriptionservices.-
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
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofBillingPlan.idattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofBillingPlan.nameattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
BILLINGCYCLEDAY
public static final java.lang.String BILLINGCYCLEDAY
Generated constant - Attribute key ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
BILLINGCYCLETYPE
public static final java.lang.String BILLINGCYCLETYPE
Generated constant - Attribute key ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
BILLINGFREQUENCY
public static final java.lang.String BILLINGFREQUENCY
Generated constant - Attribute key ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BillingPlanModel
public BillingPlanModel()
Generated constructor - Default constructor for generic creation.
-
BillingPlanModel
public BillingPlanModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
BillingPlanModel
@Deprecated(since="4.1.1", forRemoval=true) public BillingPlanModel(java.lang.String _id)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:
_id- initial attribute declared by typeBillingPlanat extensionsubscriptionservices
-
BillingPlanModel
@Deprecated(since="4.1.1", forRemoval=true) public BillingPlanModel(java.lang.String _id, 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:
_id- initial attribute declared by typeBillingPlanat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getBillingCycleDay
@Accessor(qualifier="billingCycleDay", type=GETTER) public java.lang.Integer getBillingCycleDay()
Generated method - Getter of theBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.- Returns:
- the billingCycleDay - Billing Cycle Day
-
getBillingCycleType
@Accessor(qualifier="billingCycleType", type=GETTER) public BillingCycleType getBillingCycleType()
Generated method - Getter of theBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.- Returns:
- the billingCycleType - Billing Cycle Type
-
getBillingFrequency
@Accessor(qualifier="billingFrequency", type=GETTER) public BillingFrequencyModel getBillingFrequency()
Generated method - Getter of theBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.- Returns:
- the billingFrequency - Billing Frequency
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theBillingPlan.idattribute defined at extensionsubscriptionservices.- Returns:
- the id - Identifier
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theBillingPlan.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 theBillingPlan.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
-
setBillingCycleDay
@Accessor(qualifier="billingCycleDay", type=SETTER) public void setBillingCycleDay(java.lang.Integer value)
Generated method - Setter ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingCycleDay - Billing Cycle Day
-
setBillingCycleType
@Accessor(qualifier="billingCycleType", type=SETTER) public void setBillingCycleType(BillingCycleType value)
Generated method - Setter ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingCycleType - Billing Cycle Type
-
setBillingFrequency
@Accessor(qualifier="billingFrequency", type=SETTER) public void setBillingFrequency(BillingFrequencyModel value)
Generated method - Setter ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingFrequency - Billing Frequency
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Initial setter ofBillingPlan.idattribute defined at extensionsubscriptionservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofBillingPlan.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 ofBillingPlan.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
-
-