Class CachedPromotionResultModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.PromotionResultModel
de.hybris.platform.promotions.model.CachedPromotionResultModel
All Implemented Interfaces:
Serializable

public class CachedPromotionResultModel extends PromotionResultModel
Generated model class for type CachedPromotionResult first defined at extension promotions.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String CACHEDACTIONS
      Generated constant - Attribute key of CachedPromotionResult.cachedActions attribute defined at extension promotions.
      See Also:
    • CACHEDCONSUMEDENTRIES

      public static final String CACHEDCONSUMEDENTRIES
      Generated constant - Attribute key of CachedPromotionResult.cachedConsumedEntries attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • CachedPromotionResultModel

      public CachedPromotionResultModel()
      Generated constructor - Default constructor for generic creation.
    • CachedPromotionResultModel

      public CachedPromotionResultModel(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
    • CachedPromotionResultModel

      @Deprecated(since="4.1.1", forRemoval=true) public CachedPromotionResultModel(AbstractOrderModel _order)
      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:
      _order - initial attribute declared by type PromotionResult at extension promotions
    • CachedPromotionResultModel

      @Deprecated(since="4.1.1", forRemoval=true) public CachedPromotionResultModel(AbstractOrderModel _order, 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:
      _order - initial attribute declared by type PromotionResult at extension promotions
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCachedActions

      @Accessor(qualifier="cachedActions", type=GETTER) public Collection<AbstractPromotionActionModel> getCachedActions()
      Generated method - Getter of the CachedPromotionResult.cachedActions attribute defined at extension promotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cachedActions - Cached list of actions
    • getCachedConsumedEntries

      @Accessor(qualifier="cachedConsumedEntries", type=GETTER) public Collection<CachedPromotionOrderEntryConsumedModel> getCachedConsumedEntries()
      Generated method - Getter of the CachedPromotionResult.cachedConsumedEntries attribute defined at extension promotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cachedConsumedEntries - Cached list of consumed entries
    • setCachedActions

      @Accessor(qualifier="cachedActions", type=SETTER) public void setCachedActions(Collection<AbstractPromotionActionModel> value)
      Generated method - Setter of CachedPromotionResult.cachedActions attribute defined at extension promotions.
      Parameters:
      value - the cachedActions - Cached list of actions
    • setCachedConsumedEntries

      @Accessor(qualifier="cachedConsumedEntries", type=SETTER) public void setCachedConsumedEntries(Collection<CachedPromotionOrderEntryConsumedModel> value)
      Generated method - Setter of CachedPromotionResult.cachedConsumedEntries attribute defined at extension promotions.
      Parameters:
      value - the cachedConsumedEntries - Cached list of consumed entries