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

public class SubscriptionTermModel extends ItemModel
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

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.id attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.name attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.

    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
    Generated constructor - Default constructor for generic creation.
    SubscriptionTermModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 Type
    Method
    Description
    Generated method - Getter of the SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the SubscriptionTerm.id attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.name attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.name attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
    Generated method - Getter of the SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices.
    void
    setId(String value)
    Generated method - Initial setter of SubscriptionTerm.id attribute defined at extension subscriptionservices.
    void
    setName(String value)
    Generated method - Setter of SubscriptionTerm.name attribute defined at extension subscriptionservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of SubscriptionTerm.name attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of SubscriptionTerm.id attribute defined at extension subscriptionservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of SubscriptionTerm.name attribute defined at extension subscriptionservices.
      See Also:
    • TERMOFSERVICENUMBER

      public static final String TERMOFSERVICENUMBER
      Generated constant - Attribute key of SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
      See Also:
    • CANCELLABLE

      public static final String CANCELLABLE
      Generated constant - Attribute key of SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
      See Also:
    • TERMOFSERVICERENEWAL

      public static final String TERMOFSERVICERENEWAL
      Generated constant - Attribute key of SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.
      See Also:
    • TERMOFSERVICEFREQUENCY

      public static final String TERMOFSERVICEFREQUENCY
      Generated constant - Attribute key of SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
      See Also:
    • BILLINGPLAN

      public static final String BILLINGPLAN
      Generated constant - Attribute key of SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
      See Also:
    • SUBSCRIPTIONPRODUCTS

      public static final String SUBSCRIPTIONPRODUCTS
      Generated constant - Attribute key of SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices.
      See Also:
    • PRICEPLANS

      public static final String PRICEPLANS
      Generated constant - Attribute key of SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices.
      See Also:
    • DISCOUNTROWS

      public static final String DISCOUNTROWS
      Generated constant - Attribute key of SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • SubscriptionTermModel

      public SubscriptionTermModel()
      Generated constructor - Default constructor for generic creation.
    • SubscriptionTermModel

      public SubscriptionTermModel(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
    • SubscriptionTermModel

      @Deprecated(since="4.1.1", forRemoval=true) public SubscriptionTermModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type SubscriptionTerm at extension subscriptionservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type SubscriptionTerm at extension subscriptionservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getBillingPlan

      @Accessor(qualifier="billingPlan", type=GETTER) public BillingPlanModel getBillingPlan()
      Generated method - Getter of the SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
      Returns:
      the billingPlan - Billing Plan
    • getCancellable

      @Accessor(qualifier="cancellable", type=GETTER) public Boolean getCancellable()
      Generated method - Getter of the SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
      Returns:
      the cancellable - Cancellable
    • getDiscountRows

      @Accessor(qualifier="discountRows", type=GETTER) public Set<AbstractDiscountRowModel> getDiscountRows()
      Generated method - Getter of the SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the discountRows - Discount rows containing Subscription Terms for which the discount is available.
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the SubscriptionTerm.id attribute defined at extension subscriptionservices.
      Returns:
      the id - Identifier
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the SubscriptionTerm.name attribute defined at extension subscriptionservices.
      Returns:
      the name - Name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the SubscriptionTerm.name attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - Name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getPricePlans

      @Accessor(qualifier="pricePlans", type=GETTER) public Set<PriceRowModel> getPricePlans()
      Generated method - Getter of the SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the pricePlans - Price configurations containing Subscription Terms for which the price is available.
    • getSubscriptionProducts

      @Accessor(qualifier="subscriptionProducts", type=GETTER) public Collection<ProductModel> getSubscriptionProducts()
      Generated method - Getter of the SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices. 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 the SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
      Returns:
      the termOfServiceFrequency - Term of Service Frequency
    • getTermOfServiceNumber

      @Accessor(qualifier="termOfServiceNumber", type=GETTER) public Integer getTermOfServiceNumber()
      Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
      Returns:
      the termOfServiceNumber - Term of Service Number
    • getTermOfServiceRenewal

      @Accessor(qualifier="termOfServiceRenewal", type=GETTER) public TermOfServiceRenewal getTermOfServiceRenewal()
      Generated method - Getter of the SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.
      Returns:
      the termOfServiceRenewal - Term of Service Renewal
    • setBillingPlan

      @Accessor(qualifier="billingPlan", type=SETTER) public void setBillingPlan(BillingPlanModel value)
      Generated method - Setter of SubscriptionTerm.billingPlan attribute defined at extension subscriptionservices.
      Parameters:
      value - the billingPlan - Billing Plan
    • setCancellable

      @Accessor(qualifier="cancellable", type=SETTER) public void setCancellable(Boolean value)
      Generated method - Setter of SubscriptionTerm.cancellable attribute defined at extension subscriptionservices.
      Parameters:
      value - the cancellable - Cancellable
    • setDiscountRows

      @Accessor(qualifier="discountRows", type=SETTER) public void setDiscountRows(Set<AbstractDiscountRowModel> value)
      Generated method - Setter of SubscriptionTerm.discountRows attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the discountRows - Discount rows containing Subscription Terms for which the discount is available.
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of SubscriptionTerm.id attribute defined at extension subscriptionservices. 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(String value)
      Generated method - Setter of SubscriptionTerm.name attribute defined at extension subscriptionservices.
      Parameters:
      value - the name - Name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of SubscriptionTerm.name attribute defined at extension subscriptionservices.
      Parameters:
      value - the name - Name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setPricePlans

      @Accessor(qualifier="pricePlans", type=SETTER) public void setPricePlans(Set<PriceRowModel> value)
      Generated method - Setter of SubscriptionTerm.pricePlans attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the pricePlans - Price configurations containing Subscription Terms for which the price is available.
    • setSubscriptionProducts

      @Accessor(qualifier="subscriptionProducts", type=SETTER) public void setSubscriptionProducts(Collection<ProductModel> value)
      Generated method - Setter of SubscriptionTerm.subscriptionProducts attribute defined at extension subscriptionservices.
      Parameters:
      value - the subscriptionProducts
    • setTermOfServiceFrequency

      @Accessor(qualifier="termOfServiceFrequency", type=SETTER) public void setTermOfServiceFrequency(TermOfServiceFrequency value)
      Generated method - Setter of SubscriptionTerm.termOfServiceFrequency attribute defined at extension subscriptionservices.
      Parameters:
      value - the termOfServiceFrequency - Term of Service Frequency
    • setTermOfServiceNumber

      @Accessor(qualifier="termOfServiceNumber", type=SETTER) public void setTermOfServiceNumber(Integer value)
      Generated method - Setter of SubscriptionTerm.termOfServiceNumber attribute defined at extension subscriptionservices.
      Parameters:
      value - the termOfServiceNumber - Term of Service Number
    • setTermOfServiceRenewal

      @Accessor(qualifier="termOfServiceRenewal", type=SETTER) public void setTermOfServiceRenewal(TermOfServiceRenewal value)
      Generated method - Setter of SubscriptionTerm.termOfServiceRenewal attribute defined at extension subscriptionservices.
      Parameters:
      value - the termOfServiceRenewal - Term of Service Renewal