Package de.hybris.platform.europe1.model
Class PriceRowModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.europe1.model.PDTRowModel
-
- de.hybris.platform.europe1.model.PriceRowModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SubscriptionPricePlanModel
public class PriceRowModel extends PDTRowModel
Generated model class for type PriceRow first defined at extension europe1.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_PRODUCT2OWNEUROPE1PRICES
Generated relation code constant for relationProduct2OwnEurope1Prices
defining source attributeproduct
in extensioneurope1
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofPriceRow.catalogVersion
attribute defined at extensioneurope1
.static java.lang.String
CHANNEL
Generated constant - Attribute key ofPriceRow.channel
attribute defined at extensioneurope1
.static java.lang.String
CURRENCY
Generated constant - Attribute key ofPriceRow.currency
attribute defined at extensioneurope1
.static java.lang.String
GIVEAWAYPRICE
Generated constant - Attribute key ofPriceRow.giveAwayPrice
attribute defined at extensioneurope1
.static java.lang.String
MATCHVALUE
Generated constant - Attribute key ofPriceRow.matchValue
attribute defined at extensioneurope1
.static java.lang.String
MINQTD
Generated constant - Attribute key ofPriceRow.minqtd
attribute defined at extensioneurope1
.static java.lang.String
NET
Generated constant - Attribute key ofPriceRow.net
attribute defined at extensioneurope1
.static java.lang.String
PRICE
Generated constant - Attribute key ofPriceRow.price
attribute defined at extensioneurope1
.static java.lang.String
SAPCONDITIONID
Generated constant - Attribute key ofPriceRow.sapConditionId
attribute defined at extensionsapmodel
.static java.lang.String
SEQUENCEID
Generated constant - Attribute key ofPriceRow.sequenceId
attribute defined at extensionacceleratorservices
.static java.lang.String
UNIT
Generated constant - Attribute key ofPriceRow.unit
attribute defined at extensioneurope1
.static java.lang.String
UNITFACTOR
Generated constant - Attribute key ofPriceRow.unitFactor
attribute defined at extensioneurope1
.-
Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER
-
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 PriceRowModel()
Generated constructor - Default constructor for generic creation.PriceRowModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, java.lang.Double _price, ProductModel _product, java.lang.String _productId, UnitModel _unit)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPriceRowModel(CurrencyModel _currency, java.lang.Double _price, UnitModel _unit)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPriceRowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogVersionModel
getCatalogVersion()
Generated method - Getter of thePriceRow.catalogVersion
attribute defined at extensioneurope1
.PriceRowChannel
getChannel()
Generated method - Getter of thePriceRow.channel
attribute defined at extensioneurope1
.CurrencyModel
getCurrency()
Generated method - Getter of thePriceRow.currency
attribute defined at extensioneurope1
.java.lang.Boolean
getGiveAwayPrice()
Generated method - Getter of thePriceRow.giveAwayPrice
attribute defined at extensioneurope1
.java.lang.Integer
getMatchValue()
Generated method - Getter of thePriceRow.matchValue
attribute defined at extensioneurope1
.java.lang.Long
getMinqtd()
Generated method - Getter of thePriceRow.minqtd
attribute defined at extensioneurope1
.java.lang.Boolean
getNet()
Generated method - Getter of thePriceRow.net
attribute defined at extensioneurope1
.java.lang.Double
getPrice()
Generated method - Getter of thePriceRow.price
attribute defined at extensioneurope1
.java.lang.String
getSapConditionId()
Generated method - Getter of thePriceRow.sapConditionId
attribute defined at extensionsapmodel
.java.lang.Long
getSequenceId()
Generated method - Getter of thePriceRow.sequenceId
attribute defined at extensionacceleratorservices
.UnitModel
getUnit()
Generated method - Getter of thePriceRow.unit
attribute defined at extensioneurope1
.java.lang.Integer
getUnitFactor()
Generated method - Getter of thePriceRow.unitFactor
attribute defined at extensioneurope1
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofPriceRow.catalogVersion
attribute defined at extensioneurope1
.void
setChannel(PriceRowChannel value)
Generated method - Setter ofPriceRow.channel
attribute defined at extensioneurope1
.void
setCurrency(CurrencyModel value)
Generated method - Setter ofPriceRow.currency
attribute defined at extensioneurope1
.void
setGiveAwayPrice(java.lang.Boolean value)
Generated method - Setter ofPriceRow.giveAwayPrice
attribute defined at extensioneurope1
.void
setMatchValue(java.lang.Integer value)
Generated method - Setter ofPriceRow.matchValue
attribute defined at extensioneurope1
.void
setMinqtd(java.lang.Long value)
Generated method - Setter ofPriceRow.minqtd
attribute defined at extensioneurope1
.void
setNet(java.lang.Boolean value)
Generated method - Setter ofPriceRow.net
attribute defined at extensioneurope1
.void
setPg(HybrisEnumValue value)
Generated method - Initial setter ofPDTRow.pg
attribute defined at extensioneurope1
and redeclared at extensioneurope1
.void
setPrice(java.lang.Double value)
Generated method - Setter ofPriceRow.price
attribute defined at extensioneurope1
.void
setProduct(ProductModel value)
Generated method - Initial setter ofPDTRow.product
attribute defined at extensioneurope1
and redeclared at extensioneurope1
.void
setSapConditionId(java.lang.String value)
Generated method - Setter ofPriceRow.sapConditionId
attribute defined at extensionsapmodel
.void
setSequenceId(java.lang.Long value)
Generated method - Setter ofPriceRow.sequenceId
attribute defined at extensionacceleratorservices
.void
setUnit(UnitModel value)
Generated method - Setter ofPriceRow.unit
attribute defined at extensioneurope1
.void
setUnitFactor(java.lang.Integer value)
Generated method - Setter ofPriceRow.unitFactor
attribute defined at extensioneurope1
.-
Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifier
-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PRODUCT2OWNEUROPE1PRICES
public static final java.lang.String _PRODUCT2OWNEUROPE1PRICES
Generated relation code constant for relationProduct2OwnEurope1Prices
defining source attributeproduct
in extensioneurope1
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofPriceRow.catalogVersion
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
MATCHVALUE
public static final java.lang.String MATCHVALUE
Generated constant - Attribute key ofPriceRow.matchValue
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofPriceRow.currency
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
MINQTD
public static final java.lang.String MINQTD
Generated constant - Attribute key ofPriceRow.minqtd
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
NET
public static final java.lang.String NET
Generated constant - Attribute key ofPriceRow.net
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
PRICE
public static final java.lang.String PRICE
Generated constant - Attribute key ofPriceRow.price
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofPriceRow.unit
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
UNITFACTOR
public static final java.lang.String UNITFACTOR
Generated constant - Attribute key ofPriceRow.unitFactor
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
GIVEAWAYPRICE
public static final java.lang.String GIVEAWAYPRICE
Generated constant - Attribute key ofPriceRow.giveAwayPrice
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
CHANNEL
public static final java.lang.String CHANNEL
Generated constant - Attribute key ofPriceRow.channel
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
SAPCONDITIONID
public static final java.lang.String SAPCONDITIONID
Generated constant - Attribute key ofPriceRow.sapConditionId
attribute defined at extensionsapmodel
.- See Also:
- Constant Field Values
-
SEQUENCEID
public static final java.lang.String SEQUENCEID
Generated constant - Attribute key ofPriceRow.sequenceId
attribute defined at extensionacceleratorservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PriceRowModel
public PriceRowModel()
Generated constructor - Default constructor for generic creation.
-
PriceRowModel
public PriceRowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
PriceRowModel
@Deprecated(since="4.1.1", forRemoval=true) public PriceRowModel(CurrencyModel _currency, java.lang.Double _price, UnitModel _unit)
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:
_currency
- initial attribute declared by typePriceRow
at extensioneurope1
_price
- initial attribute declared by typePriceRow
at extensioneurope1
_unit
- initial attribute declared by typePriceRow
at extensioneurope1
-
PriceRowModel
@Deprecated(since="4.1.1", forRemoval=true) public PriceRowModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, java.lang.Double _price, ProductModel _product, java.lang.String _productId, UnitModel _unit)
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:
_currency
- initial attribute declared by typePriceRow
at extensioneurope1
_owner
- initial attribute declared by typeItem
at extensioncore
_pg
- initial attribute declared by typePriceRow
at extensioneurope1
_price
- initial attribute declared by typePriceRow
at extensioneurope1
_product
- initial attribute declared by typePriceRow
at extensioneurope1
_productId
- initial attribute declared by typePDTRow
at extensioneurope1
_unit
- initial attribute declared by typePriceRow
at extensioneurope1
-
-
Method Detail
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of thePriceRow.catalogVersion
attribute defined at extensioneurope1
.- Returns:
- the catalogVersion
-
getChannel
@Accessor(qualifier="channel", type=GETTER) public PriceRowChannel getChannel()
Generated method - Getter of thePriceRow.channel
attribute defined at extensioneurope1
.- Returns:
- the channel
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of thePriceRow.currency
attribute defined at extensioneurope1
.- Returns:
- the currency
-
getGiveAwayPrice
@Accessor(qualifier="giveAwayPrice", type=GETTER) public java.lang.Boolean getGiveAwayPrice()
Generated method - Getter of thePriceRow.giveAwayPrice
attribute defined at extensioneurope1
.- Returns:
- the giveAwayPrice
-
getMatchValue
@Accessor(qualifier="matchValue", type=GETTER) public java.lang.Integer getMatchValue()
Generated method - Getter of thePriceRow.matchValue
attribute defined at extensioneurope1
.- Returns:
- the matchValue
-
getMinqtd
@Accessor(qualifier="minqtd", type=GETTER) public java.lang.Long getMinqtd()
Generated method - Getter of thePriceRow.minqtd
attribute defined at extensioneurope1
.- Returns:
- the minqtd
-
getNet
@Accessor(qualifier="net", type=GETTER) public java.lang.Boolean getNet()
Generated method - Getter of thePriceRow.net
attribute defined at extensioneurope1
.- Returns:
- the net
-
getPrice
@Accessor(qualifier="price", type=GETTER) public java.lang.Double getPrice()
Generated method - Getter of thePriceRow.price
attribute defined at extensioneurope1
.- Returns:
- the price
-
getSapConditionId
@Accessor(qualifier="sapConditionId", type=GETTER) public java.lang.String getSapConditionId()
Generated method - Getter of thePriceRow.sapConditionId
attribute defined at extensionsapmodel
.- Returns:
- the sapConditionId - Unique identifier of Price Condition.
-
getSequenceId
@Accessor(qualifier="sequenceId", type=GETTER) public java.lang.Long getSequenceId()
Generated method - Getter of thePriceRow.sequenceId
attribute defined at extensionacceleratorservices
.- Returns:
- the sequenceId - Attribute is used in batch import process for avoiding multiple imports.
-
getUnit
@Accessor(qualifier="unit", type=GETTER) public UnitModel getUnit()
Generated method - Getter of thePriceRow.unit
attribute defined at extensioneurope1
.- Returns:
- the unit
-
getUnitFactor
@Accessor(qualifier="unitFactor", type=GETTER) public java.lang.Integer getUnitFactor()
Generated method - Getter of thePriceRow.unitFactor
attribute defined at extensioneurope1
.- Returns:
- the unitFactor
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofPriceRow.catalogVersion
attribute defined at extensioneurope1
.- Parameters:
value
- the catalogVersion
-
setChannel
@Accessor(qualifier="channel", type=SETTER) public void setChannel(PriceRowChannel value)
Generated method - Setter ofPriceRow.channel
attribute defined at extensioneurope1
.- Parameters:
value
- the channel
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofPriceRow.currency
attribute defined at extensioneurope1
.- Parameters:
value
- the currency
-
setGiveAwayPrice
@Accessor(qualifier="giveAwayPrice", type=SETTER) public void setGiveAwayPrice(java.lang.Boolean value)
Generated method - Setter ofPriceRow.giveAwayPrice
attribute defined at extensioneurope1
.- Parameters:
value
- the giveAwayPrice
-
setMatchValue
@Accessor(qualifier="matchValue", type=SETTER) public void setMatchValue(java.lang.Integer value)
Generated method - Setter ofPriceRow.matchValue
attribute defined at extensioneurope1
.- Parameters:
value
- the matchValue
-
setMinqtd
@Accessor(qualifier="minqtd", type=SETTER) public void setMinqtd(java.lang.Long value)
Generated method - Setter ofPriceRow.minqtd
attribute defined at extensioneurope1
.- Parameters:
value
- the minqtd
-
setNet
@Accessor(qualifier="net", type=SETTER) public void setNet(java.lang.Boolean value)
Generated method - Setter ofPriceRow.net
attribute defined at extensioneurope1
.- Parameters:
value
- the net
-
setPg
@Accessor(qualifier="pg", type=SETTER) public void setPg(HybrisEnumValue value)
Generated method - Initial setter ofPDTRow.pg
attribute defined at extensioneurope1
and redeclared at extensioneurope1
. Can only be used at creation of model - before first save. Will only accept values of typeProductPriceGroup
.- Overrides:
setPg
in classPDTRowModel
- Parameters:
value
- the pg
-
setPrice
@Accessor(qualifier="price", type=SETTER) public void setPrice(java.lang.Double value)
Generated method - Setter ofPriceRow.price
attribute defined at extensioneurope1
.- Parameters:
value
- the price
-
setProduct
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
Generated method - Initial setter ofPDTRow.product
attribute defined at extensioneurope1
and redeclared at extensioneurope1
. Can only be used at creation of model - before first save. Will only accept values of typeProductModel
.- Overrides:
setProduct
in classPDTRowModel
- Parameters:
value
- the product
-
setSapConditionId
@Accessor(qualifier="sapConditionId", type=SETTER) public void setSapConditionId(java.lang.String value)
Generated method - Setter ofPriceRow.sapConditionId
attribute defined at extensionsapmodel
.- Parameters:
value
- the sapConditionId - Unique identifier of Price Condition.
-
setSequenceId
@Accessor(qualifier="sequenceId", type=SETTER) public void setSequenceId(java.lang.Long value)
Generated method - Setter ofPriceRow.sequenceId
attribute defined at extensionacceleratorservices
.- Parameters:
value
- the sequenceId - Attribute is used in batch import process for avoiding multiple imports.
-
setUnit
@Accessor(qualifier="unit", type=SETTER) public void setUnit(UnitModel value)
Generated method - Setter ofPriceRow.unit
attribute defined at extensioneurope1
.- Parameters:
value
- the unit
-
-