Class GeneratedProductOneToOnePerfectPartnerPromotion

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
ProductOneToOnePerfectPartnerPromotion

public abstract class GeneratedProductOneToOnePerfectPartnerPromotion extends ProductPromotion
Generated class for type ProductOneToOnePerfectPartnerPromotion.
See Also:
  • Field Details

    • BASEPRODUCT

      public static final String BASEPRODUCT
      Qualifier of the ProductOneToOnePerfectPartnerPromotion.baseProduct attribute
      See Also:
    • PARTNERPRODUCT

      public static final String PARTNERPRODUCT
      Qualifier of the ProductOneToOnePerfectPartnerPromotion.partnerProduct attribute
      See Also:
    • BUNDLEPRICES

      public static final String BUNDLEPRICES
      Qualifier of the ProductOneToOnePerfectPartnerPromotion.bundlePrices attribute
      See Also:
    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Qualifier of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute
      See Also:
    • MESSAGECOULDHAVEFIRED

      public static final String MESSAGECOULDHAVEFIRED
      Qualifier of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedProductOneToOnePerfectPartnerPromotion

      public GeneratedProductOneToOnePerfectPartnerPromotion()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedProductPromotion
    • getBaseProduct

      public abstract Product getBaseProduct(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.baseProduct attribute.
      Returns:
      the baseProduct - The base product.
    • getBaseProduct

      public Product getBaseProduct()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.baseProduct attribute.
      Returns:
      the baseProduct - The base product.
    • setBaseProduct

      public abstract void setBaseProduct(SessionContext ctx, Product value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.baseProduct attribute.
      Parameters:
      value - the baseProduct - The base product.
    • setBaseProduct

      public void setBaseProduct(Product value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.baseProduct attribute.
      Parameters:
      value - the baseProduct - The base product.
    • getBundlePrices

      public Collection<PromotionPriceRow> getBundlePrices(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.bundlePrices attribute.
      Returns:
      the bundlePrices - Fixed bundle price for both the products in specific currencies.
    • getBundlePrices

      public Collection<PromotionPriceRow> getBundlePrices()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.bundlePrices attribute.
      Returns:
      the bundlePrices - Fixed bundle price for both the products in specific currencies.
    • setBundlePrices

      public void setBundlePrices(SessionContext ctx, Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.bundlePrices attribute.
      Parameters:
      value - the bundlePrices - Fixed bundle price for both the products in specific currencies.
    • setBundlePrices

      public void setBundlePrices(Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.bundlePrices attribute.
      Parameters:
      value - the bundlePrices - Fixed bundle price for both the products in specific currencies.
    • getMessageCouldHaveFired

      public String getMessageCouldHaveFired(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Returns:
      the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getMessageCouldHaveFired

      public String getMessageCouldHaveFired()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Returns:
      the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getAllMessageCouldHaveFired

      public Map<Language,String> getAllMessageCouldHaveFired(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Returns:
      the localized messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getAllMessageCouldHaveFired

      public Map<Language,String> getAllMessageCouldHaveFired()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Returns:
      the localized messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setMessageCouldHaveFired

      public void setMessageCouldHaveFired(SessionContext ctx, String value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setMessageCouldHaveFired

      public void setMessageCouldHaveFired(String value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setAllMessageCouldHaveFired

      public void setAllMessageCouldHaveFired(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setAllMessageCouldHaveFired

      public void setAllMessageCouldHaveFired(Map<Language,String> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getMessageFired

      public String getMessageFired(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getMessageFired

      public String getMessageFired()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Returns:
      the localized messageFired - The message to show when the promotion has fired.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Returns:
      the localized messageFired - The message to show when the promotion has fired.
    • setMessageFired

      public void setMessageFired(SessionContext ctx, String value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setMessageFired

      public void setMessageFired(String value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setAllMessageFired

      public void setAllMessageFired(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setAllMessageFired

      public void setAllMessageFired(Map<Language,String> value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • getPartnerProduct

      public Product getPartnerProduct(SessionContext ctx)
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.partnerProduct attribute.
      Returns:
      the partnerProduct - The partner product.
    • getPartnerProduct

      public Product getPartnerProduct()
      Generated method - Getter of the ProductOneToOnePerfectPartnerPromotion.partnerProduct attribute.
      Returns:
      the partnerProduct - The partner product.
    • setPartnerProduct

      public void setPartnerProduct(SessionContext ctx, Product value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.partnerProduct attribute.
      Parameters:
      value - the partnerProduct - The partner product.
    • setPartnerProduct

      public void setPartnerProduct(Product value)
      Generated method - Setter of the ProductOneToOnePerfectPartnerPromotion.partnerProduct attribute.
      Parameters:
      value - the partnerProduct - The partner product.