Class ProductPriceDiscountPromotionByPaymentTypeModel

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.ProductPromotionModel
de.hybris.platform.b2bacceleratorservices.model.promotions.ProductPriceDiscountPromotionByPaymentTypeModel
All Implemented Interfaces:
Serializable

public class ProductPriceDiscountPromotionByPaymentTypeModel extends ProductPromotionModel
Generated model class for type ProductPriceDiscountPromotionByPaymentType first defined at extension b2bacceleratorservices.

Deprecated since 6.3, please use promotion engine instead.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String PRODUCTDISCOUNTPRICE
      Generated constant - Attribute key of ProductPriceDiscountPromotionByPaymentType.productDiscountPrice attribute defined at extension b2bacceleratorservices.
      See Also:
    • MESSAGEFIRED

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

      public static final String MESSAGECOULDHAVEFIRED
      Generated constant - Attribute key of ProductPriceDiscountPromotionByPaymentType.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.
      See Also:
    • PAYMENTTYPE

      public static final String PAYMENTTYPE
      Generated constant - Attribute key of ProductPriceDiscountPromotionByPaymentType.paymentType attribute defined at extension b2bacceleratorservices.
      See Also:
  • Constructor Details

    • ProductPriceDiscountPromotionByPaymentTypeModel

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

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

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

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

    • getMessageCouldHaveFired

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

      @Accessor(qualifier="paymentType", type=GETTER) public CheckoutPaymentType getPaymentType()
      Generated method - Getter of the ProductPriceDiscountPromotionByPaymentType.paymentType attribute defined at extension b2bacceleratorservices.
      Returns:
      the paymentType - Payment type for Checkout summary
    • getProductDiscountPrice

      @Accessor(qualifier="productDiscountPrice", type=GETTER) public Collection<PromotionPriceRowModel> getProductDiscountPrice()
      Generated method - Getter of the ProductPriceDiscountPromotionByPaymentType.productDiscountPrice attribute defined at extension b2bacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the productDiscountPrice - Fixed price for discount in specific currencies.
    • setMessageCouldHaveFired

      @Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value)
      Generated method - Setter of ProductPriceDiscountPromotionByPaymentType.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.
      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 ProductPriceDiscountPromotionByPaymentType.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.
      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 ProductPriceDiscountPromotionByPaymentType.messageFired attribute defined at extension b2bacceleratorservices.
      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 ProductPriceDiscountPromotionByPaymentType.messageFired attribute defined at extension b2bacceleratorservices.
      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
    • setPaymentType

      @Accessor(qualifier="paymentType", type=SETTER) public void setPaymentType(CheckoutPaymentType value)
      Generated method - Setter of ProductPriceDiscountPromotionByPaymentType.paymentType attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the paymentType - Payment type for Checkout summary
    • setProductDiscountPrice

      @Accessor(qualifier="productDiscountPrice", type=SETTER) public void setProductDiscountPrice(Collection<PromotionPriceRowModel> value)
      Generated method - Setter of ProductPriceDiscountPromotionByPaymentType.productDiscountPrice attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the productDiscountPrice - Fixed price for discount in specific currencies.