Class ProductPerfectPartnerBundlePromotionModel

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

public class ProductPerfectPartnerBundlePromotionModel extends ProductPromotionModel
Generated model class for type ProductPerfectPartnerBundlePromotion first defined at extension promotions.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String BASEPRODUCT
      Generated constant - Attribute key of ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.
      See Also:
    • PARTNERPRODUCTS

      public static final String PARTNERPRODUCTS
      Generated constant - Attribute key of ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions.
      See Also:
    • QUALIFYINGCOUNT

      public static final String QUALIFYINGCOUNT
      Generated constant - Attribute key of ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.
      See Also:
    • BUNDLEPRICES

      public static final String BUNDLEPRICES
      Generated constant - Attribute key of ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions.
      See Also:
    • MESSAGEFIRED

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

      public static final String MESSAGECOULDHAVEFIRED
      Generated constant - Attribute key of ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • ProductPerfectPartnerBundlePromotionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ProductPerfectPartnerBundlePromotionModel(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
    • ProductPerfectPartnerBundlePromotionModel

      @Deprecated(since="4.1.1", forRemoval=true) public ProductPerfectPartnerBundlePromotionModel(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

    • getBaseProduct

      @Accessor(qualifier="baseProduct", type=GETTER) public ProductModel getBaseProduct()
      Generated method - Getter of the ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.
      Returns:
      the baseProduct - The base product.
    • getBundlePrices

      @Accessor(qualifier="bundlePrices", type=GETTER) public Collection<PromotionPriceRowModel> getBundlePrices()
      Generated method - Getter of the ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the bundlePrices - Fixed bundle price for the base product and selected partner products in specific currencies.
    • getMessageCouldHaveFired

      @Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired()
      Generated method - Getter of the ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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
    • getPartnerProducts

      @Accessor(qualifier="partnerProducts", type=GETTER) public Collection<ProductModel> getPartnerProducts()
      Generated method - Getter of the ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the partnerProducts - The collections of potential partner products.
    • getQualifyingCount

      @Accessor(qualifier="qualifyingCount", type=GETTER) public Integer getQualifyingCount()
      Generated method - Getter of the ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.
      Returns:
      the qualifyingCount - The number of partner products required to qualify for the promotion.
    • setBaseProduct

      @Accessor(qualifier="baseProduct", type=SETTER) public void setBaseProduct(ProductModel value)
      Generated method - Setter of ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.
      Parameters:
      value - the baseProduct - The base product.
    • setBundlePrices

      @Accessor(qualifier="bundlePrices", type=SETTER) public void setBundlePrices(Collection<PromotionPriceRowModel> value)
      Generated method - Setter of ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions.
      Parameters:
      value - the bundlePrices - Fixed bundle price for the base product and selected partner products in specific currencies.
    • setMessageCouldHaveFired

      @Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value)
      Generated method - Setter of ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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 ProductPerfectPartnerBundlePromotion.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
    • setPartnerProducts

      @Accessor(qualifier="partnerProducts", type=SETTER) public void setPartnerProducts(Collection<ProductModel> value)
      Generated method - Setter of ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions.
      Parameters:
      value - the partnerProducts - The collections of potential partner products.
    • setQualifyingCount

      @Accessor(qualifier="qualifyingCount", type=SETTER) public void setQualifyingCount(Integer value)
      Generated method - Setter of ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.
      Parameters:
      value - the qualifyingCount - The number of partner products required to qualify for the promotion.