Class TmaAbstractOrderPriceModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderPriceModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TmaAbstractOrderComponentPriceModel, TmaAbstractOrderCompositePriceModel

public class TmaAbstractOrderPriceModel extends ItemModel
Generated model class for type TmaAbstractOrderPrice first defined at extension tuadatacommonsservices.

Entity storing pricing info on cart.

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 TmaAbstractOrderCompositePrice2TmaAbstractOrderPrice defining source attribute parentPrice in extension tuadatacommonsservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaAbstractOrderPrice.id attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.

    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.
    TmaAbstractOrderPriceModel(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 TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaAbstractOrderPrice.id attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices.
    void
    setId(String value)
    Generated method - Initial setter of TmaAbstractOrderPrice.id attribute defined at extension tuadatacommonsservices.
    void
    setName(String value)
    Generated method - Setter of TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.

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

      public static final String _TMAABSTRACTORDERCOMPOSITEPRICE2TMAABSTRACTORDERPRICE
      Generated relation code constant for relation TmaAbstractOrderCompositePrice2TmaAbstractOrderPrice defining source attribute parentPrice in extension tuadatacommonsservices.
      See Also:
    • ID

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

      public static final String NAME
      Generated constant - Attribute key of TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
      See Also:
    • CATALOGCODE

      public static final String CATALOGCODE
      Generated constant - Attribute key of TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
      See Also:
    • PARENTPRICE

      public static final String PARENTPRICE
      Generated constant - Attribute key of TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.
      See Also:
    • GLOBALPRICEALTERATIONS

      public static final String GLOBALPRICEALTERATIONS
      Generated constant - Attribute key of TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • TmaAbstractOrderPriceModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public TmaAbstractOrderPriceModel(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 TmaAbstractOrderPrice at extension tuadatacommonsservices
    • TmaAbstractOrderPriceModel

      @Deprecated(since="4.1.1", forRemoval=true) public TmaAbstractOrderPriceModel(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 TmaAbstractOrderPrice at extension tuadatacommonsservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCatalogCode

      @Accessor(qualifier="catalogCode", type=GETTER) public String getCatalogCode()
      Generated method - Getter of the TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
      Returns:
      the catalogCode - Code of the entity based on which the cart price has been created.
    • getGlobalPriceAlterations

      @Accessor(qualifier="globalPriceAlterations", type=GETTER) public Set<TmaAbstractOrderDiscountAlterationPriceModel> getGlobalPriceAlterations()
      Generated method - Getter of the TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the globalPriceAlterations - Collection of applicable discounts alterations.
    • getId

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

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
      Returns:
      the name - Catalog name of the Abstract Order Price
    • getParentPrice

      @Accessor(qualifier="parentPrice", type=GETTER) public TmaAbstractOrderCompositePriceModel getParentPrice()
      Generated method - Getter of the TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.
      Returns:
      the parentPrice - Price attribute containing applicable prices.
    • setCatalogCode

      @Accessor(qualifier="catalogCode", type=SETTER) public void setCatalogCode(String value)
      Generated method - Setter of TmaAbstractOrderPrice.catalogCode attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the catalogCode - Code of the entity based on which the cart price has been created.
    • setGlobalPriceAlterations

      @Accessor(qualifier="globalPriceAlterations", type=SETTER) public void setGlobalPriceAlterations(Set<TmaAbstractOrderDiscountAlterationPriceModel> value)
      Generated method - Setter of TmaAbstractOrderPrice.globalPriceAlterations attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the globalPriceAlterations - Collection of applicable discounts alterations.
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of TmaAbstractOrderPrice.id attribute defined at extension tuadatacommonsservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the id - Identifier of the Abstract Order Price
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of TmaAbstractOrderPrice.name attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the name - Catalog name of the Abstract Order Price
    • setParentPrice

      @Accessor(qualifier="parentPrice", type=SETTER) public void setParentPrice(TmaAbstractOrderCompositePriceModel value)
      Generated method - Setter of TmaAbstractOrderPrice.parentPrice attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the parentPrice - Price attribute containing applicable prices.