Class SubscriptionModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TmaSubscribedProductModel

    public class SubscriptionModel
    extends ItemModel
    Generated model class for type Subscription first defined at extension subscriptionservices.
    See Also:
    Serialized Form
    • 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 java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String BILLINGFREQUENCY
      Generated constant - Attribute key of Subscription.billingFrequency attribute defined at extension subscriptionservices.
      static java.lang.String BILLINGSYSTEMID
      Generated constant - Attribute key of Subscription.billingsystemId attribute defined at extension subscriptionservices.
      static java.lang.String CANCELLABLE
      Generated constant - Attribute key of Subscription.cancellable attribute defined at extension subscriptionservices.
      static java.lang.String CANCELLEDDATE
      Generated constant - Attribute key of Subscription.cancelledDate attribute defined at extension subscriptionservices.
      static java.lang.String CONTRACTDURATION
      Generated constant - Attribute key of Subscription.contractDuration attribute defined at extension subscriptionservices.
      static java.lang.String CONTRACTFREQUENCY
      Generated constant - Attribute key of Subscription.contractFrequency attribute defined at extension subscriptionservices.
      static java.lang.String CUSTOMERID
      Generated constant - Attribute key of Subscription.customerId attribute defined at extension subscriptionservices.
      static java.lang.String DESCRIPTION
      Generated constant - Attribute key of Subscription.description attribute defined at extension subscriptionservices.
      static java.lang.String ENDDATE
      Generated constant - Attribute key of Subscription.endDate attribute defined at extension subscriptionservices.
      static java.lang.String ID
      Generated constant - Attribute key of Subscription.id attribute defined at extension subscriptionservices.
      static java.lang.String NAME
      Generated constant - Attribute key of Subscription.name attribute defined at extension subscriptionservices.
      static java.lang.String ORDERENTRYNUMBER
      Generated constant - Attribute key of Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
      static java.lang.String ORDERNUMBER
      Generated constant - Attribute key of Subscription.orderNumber attribute defined at extension subscriptionservices.
      static java.lang.String PLACEDON
      Generated constant - Attribute key of Subscription.placedOn attribute defined at extension subscriptionservices.
      static java.lang.String PRODUCTCODE
      Generated constant - Attribute key of Subscription.productCode attribute defined at extension subscriptionservices.
      static java.lang.String RENEWALTYPE
      Generated constant - Attribute key of Subscription.renewalType attribute defined at extension subscriptionservices.
      static java.lang.String STARTDATE
      Generated constant - Attribute key of Subscription.startDate attribute defined at extension subscriptionservices.
      static java.lang.String SUBSCRIPTIONSTATUS
      Generated constant - Attribute key of Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      SubscriptionModel()
      Generated constructor - Default constructor for generic creation.
      SubscriptionModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      SubscriptionModel​(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 parameters
      SubscriptionModel​(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.String getBillingFrequency()
      Generated method - Getter of the Subscription.billingFrequency attribute defined at extension subscriptionservices.
      java.lang.String getBillingsystemId()
      Generated method - Getter of the Subscription.billingsystemId attribute defined at extension subscriptionservices.
      java.lang.Boolean getCancellable()
      Generated method - Getter of the Subscription.cancellable attribute defined at extension subscriptionservices.
      java.util.Date getCancelledDate()
      Generated method - Getter of the Subscription.cancelledDate attribute defined at extension subscriptionservices.
      java.lang.Integer getContractDuration()
      Generated method - Getter of the Subscription.contractDuration attribute defined at extension subscriptionservices.
      java.lang.String getContractFrequency()
      Generated method - Getter of the Subscription.contractFrequency attribute defined at extension subscriptionservices.
      java.lang.String getCustomerId()
      Generated method - Getter of the Subscription.customerId attribute defined at extension subscriptionservices.
      java.lang.String getDescription()
      Generated method - Getter of the Subscription.description attribute defined at extension subscriptionservices.
      java.util.Date getEndDate()
      Generated method - Getter of the Subscription.endDate attribute defined at extension subscriptionservices.
      java.lang.String getId()
      Generated method - Getter of the Subscription.id attribute defined at extension subscriptionservices.
      java.lang.String getName()
      Generated method - Getter of the Subscription.name attribute defined at extension subscriptionservices.
      java.lang.Integer getOrderEntryNumber()
      Generated method - Getter of the Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
      java.lang.String getOrderNumber()
      Generated method - Getter of the Subscription.orderNumber attribute defined at extension subscriptionservices.
      java.util.Date getPlacedOn()
      Generated method - Getter of the Subscription.placedOn attribute defined at extension subscriptionservices.
      java.lang.String getProductCode()
      Generated method - Getter of the Subscription.productCode attribute defined at extension subscriptionservices.
      java.lang.String getRenewalType()
      Generated method - Getter of the Subscription.renewalType attribute defined at extension subscriptionservices.
      java.util.Date getStartDate()
      Generated method - Getter of the Subscription.startDate attribute defined at extension subscriptionservices.
      java.lang.String getSubscriptionStatus()
      Generated method - Getter of the Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
      void setBillingFrequency​(java.lang.String value)
      Generated method - Setter of Subscription.billingFrequency attribute defined at extension subscriptionservices.
      void setBillingsystemId​(java.lang.String value)
      Generated method - Setter of Subscription.billingsystemId attribute defined at extension subscriptionservices.
      void setCancellable​(java.lang.Boolean value)
      Generated method - Setter of Subscription.cancellable attribute defined at extension subscriptionservices.
      void setCancelledDate​(java.util.Date value)
      Generated method - Setter of Subscription.cancelledDate attribute defined at extension subscriptionservices.
      void setContractDuration​(java.lang.Integer value)
      Generated method - Setter of Subscription.contractDuration attribute defined at extension subscriptionservices.
      void setContractFrequency​(java.lang.String value)
      Generated method - Setter of Subscription.contractFrequency attribute defined at extension subscriptionservices.
      void setCustomerId​(java.lang.String value)
      Generated method - Setter of Subscription.customerId attribute defined at extension subscriptionservices.
      void setDescription​(java.lang.String value)
      Generated method - Setter of Subscription.description attribute defined at extension subscriptionservices.
      void setEndDate​(java.util.Date value)
      Generated method - Setter of Subscription.endDate attribute defined at extension subscriptionservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of Subscription.id attribute defined at extension subscriptionservices.
      void setName​(java.lang.String value)
      Generated method - Setter of Subscription.name attribute defined at extension subscriptionservices.
      void setOrderEntryNumber​(java.lang.Integer value)
      Generated method - Setter of Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
      void setOrderNumber​(java.lang.String value)
      Generated method - Setter of Subscription.orderNumber attribute defined at extension subscriptionservices.
      void setPlacedOn​(java.util.Date value)
      Generated method - Setter of Subscription.placedOn attribute defined at extension subscriptionservices.
      void setProductCode​(java.lang.String value)
      Generated method - Setter of Subscription.productCode attribute defined at extension subscriptionservices.
      void setRenewalType​(java.lang.String value)
      Generated method - Setter of Subscription.renewalType attribute defined at extension subscriptionservices.
      void setStartDate​(java.util.Date value)
      Generated method - Setter of Subscription.startDate attribute defined at extension subscriptionservices.
      void setSubscriptionStatus​(java.lang.String value)
      Generated method - Setter of Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
      • 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 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 of Subscription.id attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of Subscription.name attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of Subscription.description attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Generated constant - Attribute key of Subscription.productCode attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • ORDERNUMBER

        public static final java.lang.String ORDERNUMBER
        Generated constant - Attribute key of Subscription.orderNumber attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • ORDERENTRYNUMBER

        public static final java.lang.String ORDERENTRYNUMBER
        Generated constant - Attribute key of Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • BILLINGSYSTEMID

        public static final java.lang.String BILLINGSYSTEMID
        Generated constant - Attribute key of Subscription.billingsystemId attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • STARTDATE

        public static final java.lang.String STARTDATE
        Generated constant - Attribute key of Subscription.startDate attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • ENDDATE

        public static final java.lang.String ENDDATE
        Generated constant - Attribute key of Subscription.endDate attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • RENEWALTYPE

        public static final java.lang.String RENEWALTYPE
        Generated constant - Attribute key of Subscription.renewalType attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONSTATUS

        public static final java.lang.String SUBSCRIPTIONSTATUS
        Generated constant - Attribute key of Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CANCELLABLE

        public static final java.lang.String CANCELLABLE
        Generated constant - Attribute key of Subscription.cancellable attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • BILLINGFREQUENCY

        public static final java.lang.String BILLINGFREQUENCY
        Generated constant - Attribute key of Subscription.billingFrequency attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CONTRACTDURATION

        public static final java.lang.String CONTRACTDURATION
        Generated constant - Attribute key of Subscription.contractDuration attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CONTRACTFREQUENCY

        public static final java.lang.String CONTRACTFREQUENCY
        Generated constant - Attribute key of Subscription.contractFrequency attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • PLACEDON

        public static final java.lang.String PLACEDON
        Generated constant - Attribute key of Subscription.placedOn attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CANCELLEDDATE

        public static final java.lang.String CANCELLEDDATE
        Generated constant - Attribute key of Subscription.cancelledDate attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CUSTOMERID

        public static final java.lang.String CUSTOMERID
        Generated constant - Attribute key of Subscription.customerId attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SubscriptionModel

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

        public SubscriptionModel​(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
      • SubscriptionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SubscriptionModel​(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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _id - initial attribute declared by type Subscription at extension subscriptionservices
      • SubscriptionModel

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

      • getBillingFrequency

        @Accessor(qualifier="billingFrequency",
                  type=GETTER)
        public java.lang.String getBillingFrequency()
        Generated method - Getter of the Subscription.billingFrequency attribute defined at extension subscriptionservices.
        Returns:
        the billingFrequency - Billing Frequency
      • getBillingsystemId

        @Accessor(qualifier="billingsystemId",
                  type=GETTER)
        public java.lang.String getBillingsystemId()
        Generated method - Getter of the Subscription.billingsystemId attribute defined at extension subscriptionservices.
        Returns:
        the billingsystemId - Billingsystem Identifier
      • getCancellable

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

        @Accessor(qualifier="cancelledDate",
                  type=GETTER)
        public java.util.Date getCancelledDate()
        Generated method - Getter of the Subscription.cancelledDate attribute defined at extension subscriptionservices.
        Returns:
        the cancelledDate - Cancellation Date
      • getContractDuration

        @Accessor(qualifier="contractDuration",
                  type=GETTER)
        public java.lang.Integer getContractDuration()
        Generated method - Getter of the Subscription.contractDuration attribute defined at extension subscriptionservices.
        Returns:
        the contractDuration - Contract Duration
      • getContractFrequency

        @Accessor(qualifier="contractFrequency",
                  type=GETTER)
        public java.lang.String getContractFrequency()
        Generated method - Getter of the Subscription.contractFrequency attribute defined at extension subscriptionservices.
        Returns:
        the contractFrequency - Contract Frequency
      • getCustomerId

        @Accessor(qualifier="customerId",
                  type=GETTER)
        public java.lang.String getCustomerId()
        Generated method - Getter of the Subscription.customerId attribute defined at extension subscriptionservices.
        Returns:
        the customerId - Customer Id
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Generated method - Getter of the Subscription.description attribute defined at extension subscriptionservices.
        Returns:
        the description - Description
      • getEndDate

        @Accessor(qualifier="endDate",
                  type=GETTER)
        public java.util.Date getEndDate()
        Generated method - Getter of the Subscription.endDate attribute defined at extension subscriptionservices.
        Returns:
        the endDate - Enddate
      • getId

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

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

        @Accessor(qualifier="orderEntryNumber",
                  type=GETTER)
        public java.lang.Integer getOrderEntryNumber()
        Generated method - Getter of the Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
        Returns:
        the orderEntryNumber - Order Entry Identifier
      • getOrderNumber

        @Accessor(qualifier="orderNumber",
                  type=GETTER)
        public java.lang.String getOrderNumber()
        Generated method - Getter of the Subscription.orderNumber attribute defined at extension subscriptionservices.
        Returns:
        the orderNumber - Order Identifier
      • getPlacedOn

        @Accessor(qualifier="placedOn",
                  type=GETTER)
        public java.util.Date getPlacedOn()
        Generated method - Getter of the Subscription.placedOn attribute defined at extension subscriptionservices.
        Returns:
        the placedOn - Placed on
      • getProductCode

        @Accessor(qualifier="productCode",
                  type=GETTER)
        public java.lang.String getProductCode()
        Generated method - Getter of the Subscription.productCode attribute defined at extension subscriptionservices.
        Returns:
        the productCode - Product Code
      • getRenewalType

        @Accessor(qualifier="renewalType",
                  type=GETTER)
        public java.lang.String getRenewalType()
        Generated method - Getter of the Subscription.renewalType attribute defined at extension subscriptionservices.
        Returns:
        the renewalType - Renewal Type
      • getStartDate

        @Accessor(qualifier="startDate",
                  type=GETTER)
        public java.util.Date getStartDate()
        Generated method - Getter of the Subscription.startDate attribute defined at extension subscriptionservices.
        Returns:
        the startDate - Startdate
      • getSubscriptionStatus

        @Accessor(qualifier="subscriptionStatus",
                  type=GETTER)
        public java.lang.String getSubscriptionStatus()
        Generated method - Getter of the Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
        Returns:
        the subscriptionStatus - Status
      • setBillingFrequency

        @Accessor(qualifier="billingFrequency",
                  type=SETTER)
        public void setBillingFrequency​(java.lang.String value)
        Generated method - Setter of Subscription.billingFrequency attribute defined at extension subscriptionservices.
        Parameters:
        value - the billingFrequency - Billing Frequency
      • setBillingsystemId

        @Accessor(qualifier="billingsystemId",
                  type=SETTER)
        public void setBillingsystemId​(java.lang.String value)
        Generated method - Setter of Subscription.billingsystemId attribute defined at extension subscriptionservices.
        Parameters:
        value - the billingsystemId - Billingsystem Identifier
      • setCancellable

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

        @Accessor(qualifier="cancelledDate",
                  type=SETTER)
        public void setCancelledDate​(java.util.Date value)
        Generated method - Setter of Subscription.cancelledDate attribute defined at extension subscriptionservices.
        Parameters:
        value - the cancelledDate - Cancellation Date
      • setContractDuration

        @Accessor(qualifier="contractDuration",
                  type=SETTER)
        public void setContractDuration​(java.lang.Integer value)
        Generated method - Setter of Subscription.contractDuration attribute defined at extension subscriptionservices.
        Parameters:
        value - the contractDuration - Contract Duration
      • setContractFrequency

        @Accessor(qualifier="contractFrequency",
                  type=SETTER)
        public void setContractFrequency​(java.lang.String value)
        Generated method - Setter of Subscription.contractFrequency attribute defined at extension subscriptionservices.
        Parameters:
        value - the contractFrequency - Contract Frequency
      • setCustomerId

        @Accessor(qualifier="customerId",
                  type=SETTER)
        public void setCustomerId​(java.lang.String value)
        Generated method - Setter of Subscription.customerId attribute defined at extension subscriptionservices.
        Parameters:
        value - the customerId - Customer Id
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Generated method - Setter of Subscription.description attribute defined at extension subscriptionservices.
        Parameters:
        value - the description - Description
      • setEndDate

        @Accessor(qualifier="endDate",
                  type=SETTER)
        public void setEndDate​(java.util.Date value)
        Generated method - Setter of Subscription.endDate attribute defined at extension subscriptionservices.
        Parameters:
        value - the endDate - Enddate
      • setId

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

        @Accessor(qualifier="orderEntryNumber",
                  type=SETTER)
        public void setOrderEntryNumber​(java.lang.Integer value)
        Generated method - Setter of Subscription.orderEntryNumber attribute defined at extension subscriptionservices.
        Parameters:
        value - the orderEntryNumber - Order Entry Identifier
      • setOrderNumber

        @Accessor(qualifier="orderNumber",
                  type=SETTER)
        public void setOrderNumber​(java.lang.String value)
        Generated method - Setter of Subscription.orderNumber attribute defined at extension subscriptionservices.
        Parameters:
        value - the orderNumber - Order Identifier
      • setPlacedOn

        @Accessor(qualifier="placedOn",
                  type=SETTER)
        public void setPlacedOn​(java.util.Date value)
        Generated method - Setter of Subscription.placedOn attribute defined at extension subscriptionservices.
        Parameters:
        value - the placedOn - Placed on
      • setProductCode

        @Accessor(qualifier="productCode",
                  type=SETTER)
        public void setProductCode​(java.lang.String value)
        Generated method - Setter of Subscription.productCode attribute defined at extension subscriptionservices.
        Parameters:
        value - the productCode - Product Code
      • setRenewalType

        @Accessor(qualifier="renewalType",
                  type=SETTER)
        public void setRenewalType​(java.lang.String value)
        Generated method - Setter of Subscription.renewalType attribute defined at extension subscriptionservices.
        Parameters:
        value - the renewalType - Renewal Type
      • setStartDate

        @Accessor(qualifier="startDate",
                  type=SETTER)
        public void setStartDate​(java.util.Date value)
        Generated method - Setter of Subscription.startDate attribute defined at extension subscriptionservices.
        Parameters:
        value - the startDate - Startdate
      • setSubscriptionStatus

        @Accessor(qualifier="subscriptionStatus",
                  type=SETTER)
        public void setSubscriptionStatus​(java.lang.String value)
        Generated method - Setter of Subscription.subscriptionStatus attribute defined at extension subscriptionservices.
        Parameters:
        value - the subscriptionStatus - Status