Class ExternalDiscountValueModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.sap.c4c.quote.model.ExternalDiscountValueModel
All Implemented Interfaces:
Serializable

public class ExternalDiscountValueModel extends ItemModel
Generated model class for type ExternalDiscountValue first defined at extension c4cquote.
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 relation code constant for relation AbstractOrder2ExternalDiscountValue defining source attribute order in extension c4cquote.
    static final String
    Generated relation code constant for relation AbstractOrderEntry2ExternalDiscountValue defining source attribute orderEntry in extension c4cquote.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.code attribute defined at extension c4cquote.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.level attribute defined at extension c4cquote.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.order attribute defined at extension c4cquote.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.type attribute defined at extension c4cquote.
    static final String
    Generated constant - Attribute key of ExternalDiscountValue.value attribute defined at extension c4cquote.

    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.
    ExternalDiscountValueModel(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 ExternalDiscountValue.code attribute defined at extension c4cquote.
    Generated method - Getter of the ExternalDiscountValue.level attribute defined at extension c4cquote.
    Generated method - Getter of the ExternalDiscountValue.order attribute defined at extension c4cquote.
    Generated method - Getter of the ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
    Generated method - Getter of the ExternalDiscountValue.type attribute defined at extension c4cquote.
    Generated method - Getter of the ExternalDiscountValue.value attribute defined at extension c4cquote.
    void
    setCode(String value)
    Generated method - Setter of ExternalDiscountValue.code attribute defined at extension c4cquote.
    void
    Generated method - Setter of ExternalDiscountValue.level attribute defined at extension c4cquote.
    void
    Generated method - Setter of ExternalDiscountValue.order attribute defined at extension c4cquote.
    void
    Generated method - Setter of ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
    void
    setType(String value)
    Generated method - Setter of ExternalDiscountValue.type attribute defined at extension c4cquote.
    void
    Generated method - Setter of ExternalDiscountValue.value attribute defined at extension c4cquote.

    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:
    • _ABSTRACTORDER2EXTERNALDISCOUNTVALUE

      public static final String _ABSTRACTORDER2EXTERNALDISCOUNTVALUE
      Generated relation code constant for relation AbstractOrder2ExternalDiscountValue defining source attribute order in extension c4cquote.
      See Also:
    • _ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE

      public static final String _ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE
      Generated relation code constant for relation AbstractOrderEntry2ExternalDiscountValue defining source attribute orderEntry in extension c4cquote.
      See Also:
    • VALUE

      public static final String VALUE
      Generated constant - Attribute key of ExternalDiscountValue.value attribute defined at extension c4cquote.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of ExternalDiscountValue.code attribute defined at extension c4cquote.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of ExternalDiscountValue.type attribute defined at extension c4cquote.
      See Also:
    • LEVEL

      public static final String LEVEL
      Generated constant - Attribute key of ExternalDiscountValue.level attribute defined at extension c4cquote.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of ExternalDiscountValue.order attribute defined at extension c4cquote.
      See Also:
    • ORDERENTRY

      public static final String ORDERENTRY
      Generated constant - Attribute key of ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
      See Also:
  • Constructor Details

    • ExternalDiscountValueModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ExternalDiscountValueModel(String _code)
      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:
      _code - initial attribute declared by type ExternalDiscountValue at extension c4cquote
    • ExternalDiscountValueModel

      @Deprecated(since="4.1.1", forRemoval=true) public ExternalDiscountValueModel(String _code, 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:
      _code - initial attribute declared by type ExternalDiscountValue at extension c4cquote
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the ExternalDiscountValue.code attribute defined at extension c4cquote.
      Returns:
      the code - Discount code
    • getLevel

      @Accessor(qualifier="level", type=GETTER) public Integer getLevel()
      Generated method - Getter of the ExternalDiscountValue.level attribute defined at extension c4cquote.
      Returns:
      the level - Discount level
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the ExternalDiscountValue.order attribute defined at extension c4cquote.
      Returns:
      the order
    • getOrderEntry

      @Accessor(qualifier="orderEntry", type=GETTER) public AbstractOrderEntryModel getOrderEntry()
      Generated method - Getter of the ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
      Returns:
      the orderEntry
    • getType

      @Accessor(qualifier="type", type=GETTER) public String getType()
      Generated method - Getter of the ExternalDiscountValue.type attribute defined at extension c4cquote.
      Returns:
      the type - Discount type
    • getValue

      @Accessor(qualifier="value", type=GETTER) public Double getValue()
      Generated method - Getter of the ExternalDiscountValue.value attribute defined at extension c4cquote.
      Returns:
      the value - External Discount Value
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of ExternalDiscountValue.code attribute defined at extension c4cquote.
      Parameters:
      value - the code - Discount code
    • setLevel

      @Accessor(qualifier="level", type=SETTER) public void setLevel(Integer value)
      Generated method - Setter of ExternalDiscountValue.level attribute defined at extension c4cquote.
      Parameters:
      value - the level - Discount level
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of ExternalDiscountValue.order attribute defined at extension c4cquote.
      Parameters:
      value - the order
    • setOrderEntry

      @Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(AbstractOrderEntryModel value)
      Generated method - Setter of ExternalDiscountValue.orderEntry attribute defined at extension c4cquote.
      Parameters:
      value - the orderEntry
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(String value)
      Generated method - Setter of ExternalDiscountValue.type attribute defined at extension c4cquote.
      Parameters:
      value - the type - Discount type
    • setValue

      @Accessor(qualifier="value", type=SETTER) public void setValue(Double value)
      Generated method - Setter of ExternalDiscountValue.value attribute defined at extension c4cquote.
      Parameters:
      value - the value - External Discount Value