Class SubscriptionTermModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.SubscriptionTermModel
- All Implemented Interfaces:
Serializable
Generated model class for type SubscriptionTerm 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 ofSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.idattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofSubscriptionTerm.termOfServiceRenewalattribute 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 contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSubscriptionTermModel(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 theSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.getId()Generated method - Getter of theSubscriptionTerm.idattribute defined at extensionsubscriptionservices.getName()Generated method - Getter of theSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.Generated method - Getter of theSubscriptionTerm.termOfServiceRenewalattribute defined at extensionsubscriptionservices.voidsetBillingPlan(BillingPlanModel value) Generated method - Setter ofSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.voidsetCancellable(Boolean value) Generated method - Setter ofSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.voidGenerated method - Initial setter ofSubscriptionTerm.idattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.voidsetTermOfServiceNumber(Integer value) Generated method - Setter ofSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofSubscriptionTerm.termOfServiceRenewalattribute 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 ofSubscriptionTerm.idattribute defined at extensionsubscriptionservices.- See Also:
-
NAME
Generated constant - Attribute key ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.- See Also:
-
TERMOFSERVICENUMBER
Generated constant - Attribute key ofSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.- See Also:
-
CANCELLABLE
Generated constant - Attribute key ofSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.- See Also:
-
TERMOFSERVICERENEWAL
Generated constant - Attribute key ofSubscriptionTerm.termOfServiceRenewalattribute defined at extensionsubscriptionservices.- See Also:
-
TERMOFSERVICEFREQUENCY
Generated constant - Attribute key ofSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGPLAN
Generated constant - Attribute key ofSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.- See Also:
-
SUBSCRIPTIONPRODUCTS
Generated constant - Attribute key ofSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
SubscriptionTermModel
public SubscriptionTermModel()Generated constructor - Default constructor for generic creation. -
SubscriptionTermModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SubscriptionTermModel
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 typeSubscriptionTermat extensionsubscriptionservices
-
SubscriptionTermModel
@Deprecated(since="4.1.1", forRemoval=true) public SubscriptionTermModel(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 typeSubscriptionTermat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBillingPlan
Generated method - Getter of theSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.- Returns:
- the billingPlan - Billing Plan
-
getCancellable
Generated method - Getter of theSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.- Returns:
- the cancellable - Cancellable
-
getId
Generated method - Getter of theSubscriptionTerm.idattribute defined at extensionsubscriptionservices.- Returns:
- the id - Identifier
-
getName
Generated method - Getter of theSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
Generated method - Getter of theSubscriptionTerm.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
-
getSubscriptionProducts
@Accessor(qualifier="subscriptionProducts", type=GETTER) public Collection<ProductModel> getSubscriptionProducts()Generated method - Getter of theSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the subscriptionProducts
-
getTermOfServiceFrequency
@Accessor(qualifier="termOfServiceFrequency", type=GETTER) public TermOfServiceFrequency getTermOfServiceFrequency()Generated method - Getter of theSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.- Returns:
- the termOfServiceFrequency - Term of Service Frequency
-
getTermOfServiceNumber
Generated method - Getter of theSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.- Returns:
- the termOfServiceNumber - Term of Service Number
-
getTermOfServiceRenewal
@Accessor(qualifier="termOfServiceRenewal", type=GETTER) public TermOfServiceRenewal getTermOfServiceRenewal()Generated method - Getter of theSubscriptionTerm.termOfServiceRenewalattribute defined at extensionsubscriptionservices.- Returns:
- the termOfServiceRenewal - Term of Service Renewal
-
setBillingPlan
Generated method - Setter ofSubscriptionTerm.billingPlanattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingPlan - Billing Plan
-
setCancellable
Generated method - Setter ofSubscriptionTerm.cancellableattribute defined at extensionsubscriptionservices.- Parameters:
value- the cancellable - Cancellable
-
setId
Generated method - Initial setter ofSubscriptionTerm.idattribute defined at extensionsubscriptionservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier
-
setName
Generated method - Setter ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
Generated method - Setter ofSubscriptionTerm.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setSubscriptionProducts
@Accessor(qualifier="subscriptionProducts", type=SETTER) public void setSubscriptionProducts(Collection<ProductModel> value) Generated method - Setter ofSubscriptionTerm.subscriptionProductsattribute defined at extensionsubscriptionservices.- Parameters:
value- the subscriptionProducts
-
setTermOfServiceFrequency
@Accessor(qualifier="termOfServiceFrequency", type=SETTER) public void setTermOfServiceFrequency(TermOfServiceFrequency value) Generated method - Setter ofSubscriptionTerm.termOfServiceFrequencyattribute defined at extensionsubscriptionservices.- Parameters:
value- the termOfServiceFrequency - Term of Service Frequency
-
setTermOfServiceNumber
@Accessor(qualifier="termOfServiceNumber", type=SETTER) public void setTermOfServiceNumber(Integer value) Generated method - Setter ofSubscriptionTerm.termOfServiceNumberattribute defined at extensionsubscriptionservices.- Parameters:
value- the termOfServiceNumber - Term of Service Number
-
setTermOfServiceRenewal
@Accessor(qualifier="termOfServiceRenewal", type=SETTER) public void setTermOfServiceRenewal(TermOfServiceRenewal value) Generated method - Setter ofSubscriptionTerm.termOfServiceRenewalattribute defined at extensionsubscriptionservices.- Parameters:
value- the termOfServiceRenewal - Term of Service Renewal
-