Class OrderThresholdChangeDeliveryModePromotionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class OrderThresholdChangeDeliveryModePromotionModel extends OrderPromotionModel
Generated model class for type OrderThresholdChangeDeliveryModePromotion first defined at extension promotions.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • THRESHOLDTOTALS

      public static final String THRESHOLDTOTALS
      Generated constant - Attribute key of OrderThresholdChangeDeliveryModePromotion.thresholdTotals attribute defined at extension promotions.
      See Also:
    • DELIVERYMODE

      public static final String DELIVERYMODE
      Generated constant - Attribute key of OrderThresholdChangeDeliveryModePromotion.deliveryMode attribute defined at extension promotions.
      See Also:
    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Generated constant - Attribute key of OrderThresholdChangeDeliveryModePromotion.messageFired attribute defined at extension promotions.
      See Also:
    • MESSAGECOULDHAVEFIRED

      public static final String MESSAGECOULDHAVEFIRED
      Generated constant - Attribute key of OrderThresholdChangeDeliveryModePromotion.messageCouldHaveFired attribute defined at extension promotions.
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type AbstractPromotion at extension promotions
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type AbstractPromotion at extension promotions
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getDeliveryMode

      @Accessor(qualifier="deliveryMode", type=GETTER) public DeliveryModeModel getDeliveryMode()
      Generated method - Getter of the OrderThresholdChangeDeliveryModePromotion.deliveryMode attribute defined at extension promotions.
      Returns:
      the deliveryMode - The delivery mode to apply once the threshold is reached.
    • getMessageCouldHaveFired

      @Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired()
      Generated method - Getter of the OrderThresholdChangeDeliveryModePromotion.messageCouldHaveFired attribute defined at extension promotions.
      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 the OrderThresholdChangeDeliveryModePromotion.messageCouldHaveFired attribute defined at extension promotions.
      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

      @Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired()
      Generated method - Getter of the OrderThresholdChangeDeliveryModePromotion.messageFired attribute defined at extension promotions.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getMessageFired

      @Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired(Locale loc)
      Generated method - Getter of the OrderThresholdChangeDeliveryModePromotion.messageFired attribute defined at extension promotions.
      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 the OrderThresholdChangeDeliveryModePromotion.thresholdTotals attribute defined at extension promotions. 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 of OrderThresholdChangeDeliveryModePromotion.deliveryMode attribute defined at extension promotions.
      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 of OrderThresholdChangeDeliveryModePromotion.messageCouldHaveFired attribute defined at extension promotions.
      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 of OrderThresholdChangeDeliveryModePromotion.messageCouldHaveFired attribute defined at extension promotions.
      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

      @Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value)
      Generated method - Setter of OrderThresholdChangeDeliveryModePromotion.messageFired attribute defined at extension promotions.
      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 of OrderThresholdChangeDeliveryModePromotion.messageFired attribute defined at extension promotions.
      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 of OrderThresholdChangeDeliveryModePromotion.thresholdTotals attribute defined at extension promotions.
      Parameters:
      value - the thresholdTotals - The cart total value threshold in specific currencies.