Class OrderThresholdChangeDeliveryModePromotionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.AbstractPromotionModel
de.hybris.platform.promotions.model.OrderPromotionModel
de.hybris.platform.promotions.model.OrderThresholdChangeDeliveryModePromotionModel
- All Implemented Interfaces:
Serializable
Generated model class for type OrderThresholdChangeDeliveryModePromotion 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 ofOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions.Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLEFields 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.OrderThresholdChangeDeliveryModePromotionModel(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 parametersOrderThresholdChangeDeliveryModePromotionModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.getMessageFired(Locale loc) Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions.voidsetDeliveryMode(DeliveryModeModel value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.voidsetMessageCouldHaveFired(String value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.voidsetMessageCouldHaveFired(String value, Locale loc) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.voidsetMessageFired(String value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.voidsetMessageFired(String value, Locale loc) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.voidGenerated method - Setter ofOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions.Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
getCode, getDescription, getDetailsURL, getEnabled, getEndDate, getImmutableKey, getImmutableKeyHash, getName, getName, getPriority, getPromotionGroup, getPromotionType, getPromotionType, getRestrictions, getStartDate, getTitle, setCode, setDescription, setDetailsURL, setEnabled, setEndDate, setImmutableKey, setImmutableKeyHash, setName, setName, setPriority, setPromotionGroup, setRestrictions, setStartDate, setTitleMethods 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:
-
THRESHOLDTOTALS
Generated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions.- See Also:
-
DELIVERYMODE
Generated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.- See Also:
-
MESSAGEFIRED
Generated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.- See Also:
-
MESSAGECOULDHAVEFIRED
Generated constant - Attribute key ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- See Also:
-
-
Constructor Details
-
OrderThresholdChangeDeliveryModePromotionModel
public OrderThresholdChangeDeliveryModePromotionModel()Generated constructor - Default constructor for generic creation. -
OrderThresholdChangeDeliveryModePromotionModel
public OrderThresholdChangeDeliveryModePromotionModel(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
-
OrderThresholdChangeDeliveryModePromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderThresholdChangeDeliveryModePromotionModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeAbstractPromotionat extensionpromotions
-
OrderThresholdChangeDeliveryModePromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderThresholdChangeDeliveryModePromotionModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeAbstractPromotionat extensionpromotions_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getDeliveryMode
Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.- Returns:
- the deliveryMode - The delivery mode to apply once the threshold is reached.
-
getMessageCouldHaveFired
Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Returns:
- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
-
getMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired(Locale loc) Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
loc- the value localization key- Returns:
- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getMessageFired
Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.- Returns:
- the messageFired - The message to show when the promotion has fired.
-
getMessageFired
Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
loc- the value localization key- Returns:
- the messageFired - The message to show when the promotion has fired.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getThresholdTotals
@Accessor(qualifier="thresholdTotals", type=GETTER) public Collection<PromotionPriceRowModel> getThresholdTotals()Generated method - Getter of theOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the thresholdTotals - The cart total value threshold in specific currencies.
-
setDeliveryMode
@Accessor(qualifier="deliveryMode", type=SETTER) public void setDeliveryMode(DeliveryModeModel value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.deliveryModeattribute defined at extensionpromotions.- Parameters:
value- the deliveryMode - The delivery mode to apply once the threshold is reached.
-
setMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
value- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
-
setMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value, Locale loc) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
value- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setMessageFired
Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
value- the messageFired - The message to show when the promotion has fired.
-
setMessageFired
@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value, Locale loc) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
value- the messageFired - The message to show when the promotion has fired.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setThresholdTotals
@Accessor(qualifier="thresholdTotals", type=SETTER) public void setThresholdTotals(Collection<PromotionPriceRowModel> value) Generated method - Setter ofOrderThresholdChangeDeliveryModePromotion.thresholdTotalsattribute defined at extensionpromotions.- Parameters:
value- the thresholdTotals - The cart total value threshold in specific currencies.
-