Class PromotionPriceRowModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.PromotionPriceRowModel
- All Implemented Interfaces:
Serializable
Generated model class for type PromotionPriceRow first defined at extension promotions.
- 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 model type code constant.static final StringGenerated constant - Attribute key ofPromotionPriceRow.currencyattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofPromotionPriceRow.priceattribute defined at extensionpromotions.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.PromotionPriceRowModel(CurrencyModel _currency) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPromotionPriceRowModel(CurrencyModel _currency, 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 parametersPromotionPriceRowModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of thePromotionPriceRow.currencyattribute defined at extensionpromotions.getPrice()Generated method - Getter of thePromotionPriceRow.priceattribute defined at extensionpromotions.voidsetCurrency(CurrencyModel value) Generated method - Setter ofPromotionPriceRow.currencyattribute defined at extensionpromotions.voidGenerated method - Setter ofPromotionPriceRow.priceattribute defined at extensionpromotions.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:
-
CURRENCY
Generated constant - Attribute key ofPromotionPriceRow.currencyattribute defined at extensionpromotions.- See Also:
-
PRICE
Generated constant - Attribute key ofPromotionPriceRow.priceattribute defined at extensionpromotions.- See Also:
-
-
Constructor Details
-
PromotionPriceRowModel
public PromotionPriceRowModel()Generated constructor - Default constructor for generic creation. -
PromotionPriceRowModel
public PromotionPriceRowModel(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
-
PromotionPriceRowModel
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 typePromotionPriceRowat extensionpromotions
-
PromotionPriceRowModel
@Deprecated(since="4.1.1", forRemoval=true) public PromotionPriceRowModel(CurrencyModel _currency, 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:
_currency- initial attribute declared by typePromotionPriceRowat extensionpromotions_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCurrency
Generated method - Getter of thePromotionPriceRow.currencyattribute defined at extensionpromotions.- Returns:
- the currency
-
getPrice
Generated method - Getter of thePromotionPriceRow.priceattribute defined at extensionpromotions.- Returns:
- the price
-
setCurrency
Generated method - Setter ofPromotionPriceRow.currencyattribute defined at extensionpromotions.- Parameters:
value- the currency
-
setPrice
Generated method - Setter ofPromotionPriceRow.priceattribute defined at extensionpromotions.- Parameters:
value- the price
-