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:
Serializable
Generated model class for type BillingPlan first defined at extension subscriptionservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofBillingPlan.idattribute defined at extensionsubscriptionservices.static final StringGenerated 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, 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.Generated constructor - Default constructor for creation with existing contextBillingPlanModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.Generated method - Getter of theBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.Generated method - Getter of theBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.getId()Generated method - Getter of theBillingPlan.idattribute defined at extensionsubscriptionservices.getName()Generated method - Getter of theBillingPlan.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theBillingPlan.nameattribute defined at extensionsubscriptionservices.voidsetBillingCycleDay(Integer value) Generated method - Setter ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.voidGenerated method - Initial setter ofBillingPlan.idattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofBillingPlan.nameattribute defined at extensionsubscriptionservices.voidGenerated 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, 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:
-
ID
Generated constant - Attribute key ofBillingPlan.idattribute defined at extensionsubscriptionservices.- See Also:
-
NAME
Generated constant - Attribute key ofBillingPlan.nameattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGCYCLEDAY
Generated constant - Attribute key ofBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGCYCLETYPE
Generated constant - Attribute key ofBillingPlan.billingCycleTypeattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGFREQUENCY
Generated constant - Attribute key ofBillingPlan.billingFrequencyattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
BillingPlanModel
public BillingPlanModel()Generated constructor - Default constructor for generic creation. -
BillingPlanModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
BillingPlanModel
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, 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 Details
-
getBillingCycleDay
Generated method - Getter of theBillingPlan.billingCycleDayattribute defined at extensionsubscriptionservices.- Returns:
- the billingCycleDay - Billing Cycle Day
-
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
Generated method - Getter of theBillingPlan.idattribute defined at extensionsubscriptionservices.- Returns:
- the id - Identifier
-
getName
Generated method - Getter of theBillingPlan.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
Generated method - Getter of theBillingPlan.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
-
setBillingCycleDay
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
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
Generated method - Setter ofBillingPlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
Generated method - Setter ofBillingPlan.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-