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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationTmaAbstractOrderCompositePrice2TmaAbstractOrderPricedefining source attributeparentPricein extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.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.TmaAbstractOrderPriceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) 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 parametersTmaAbstractOrderPriceModel(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 theTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices.getId()Generated method - Getter of theTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices.getName()Generated method - Getter of theTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.voidsetCatalogCode(String value) Generated method - Setter ofTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Initial setter ofTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.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:
-
_TMAABSTRACTORDERCOMPOSITEPRICE2TMAABSTRACTORDERPRICE
Generated relation code constant for relationTmaAbstractOrderCompositePrice2TmaAbstractOrderPricedefining source attributeparentPricein extensiontuadatacommonsservices.- See Also:
-
ID
Generated constant - Attribute key ofTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices.- See Also:
-
NAME
Generated constant - Attribute key ofTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.- See Also:
-
CATALOGCODE
Generated constant - Attribute key ofTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.- See Also:
-
PARENTPRICE
Generated constant - Attribute key ofTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.- See Also:
-
GLOBALPRICEALTERATIONS
Generated constant - Attribute key ofTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices.- 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, 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 typeTmaAbstractOrderPriceat extensiontuadatacommonsservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTmaAbstractOrderPriceat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCatalogCode
Generated method - Getter of theTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.- 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 theTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the globalPriceAlterations - Collection of applicable discounts alterations.
-
getId
Generated method - Getter of theTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices.- Returns:
- the id - Identifier of the Abstract Order Price
-
getName
Generated method - Getter of theTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.- Returns:
- the name - Catalog name of the Abstract Order Price
-
getParentPrice
@Accessor(qualifier="parentPrice", type=GETTER) public TmaAbstractOrderCompositePriceModel getParentPrice()Generated method - Getter of theTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.- Returns:
- the parentPrice - Price attribute containing applicable prices.
-
setCatalogCode
Generated method - Setter ofTmaAbstractOrderPrice.catalogCodeattribute defined at extensiontuadatacommonsservices.- 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 ofTmaAbstractOrderPrice.globalPriceAlterationsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the globalPriceAlterations - Collection of applicable discounts alterations.
-
setId
Generated method - Initial setter ofTmaAbstractOrderPrice.idattribute defined at extensiontuadatacommonsservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier of the Abstract Order Price
-
setName
Generated method - Setter ofTmaAbstractOrderPrice.nameattribute defined at extensiontuadatacommonsservices.- 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 ofTmaAbstractOrderPrice.parentPriceattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the parentPrice - Price attribute containing applicable prices.
-