Class AbstractDiscountRowModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of AbstractDiscountRow.currency attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • DISCOUNT

        public static final java.lang.String DISCOUNT
        Generated constant - Attribute key of AbstractDiscountRow.discount attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • ABSOLUTE

        public static final java.lang.String ABSOLUTE
        Generated constant - Attribute key of AbstractDiscountRow.absolute attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • VALUE

        public static final java.lang.String VALUE
        Generated constant - Attribute key of AbstractDiscountRow.value attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • DISCOUNTSTRING

        public static final java.lang.String DISCOUNTSTRING
        Generated constant - Attribute key of AbstractDiscountRow.discountString attribute defined at extension europe1.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractDiscountRowModel

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

        public AbstractDiscountRowModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • AbstractDiscountRowModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractDiscountRowModel​(DiscountModel _discount)
        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:
        _discount - initial attribute declared by type AbstractDiscountRow at extension europe1
      • AbstractDiscountRowModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractDiscountRowModel​(DiscountModel _discount,
                                        ItemModel _owner,
                                        ProductDiscountGroup _pg,
                                        ProductModel _product,
                                        java.lang.String _productId)
        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:
        _discount - initial attribute declared by type AbstractDiscountRow at extension europe1
        _owner - initial attribute declared by type Item at extension core
        _pg - initial attribute declared by type AbstractDiscountRow at extension europe1
        _product - initial attribute declared by type PDTRow at extension europe1
        _productId - initial attribute declared by type PDTRow at extension europe1
    • Method Detail

      • getAbsolute

        @Accessor(qualifier="absolute",
                  type=GETTER)
        public java.lang.Boolean getAbsolute()
        Generated method - Getter of the AbstractDiscountRow.absolute dynamic attribute defined at extension europe1.
        Returns:
        the absolute
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the AbstractDiscountRow.currency attribute defined at extension europe1.
        Returns:
        the currency
      • getDiscount

        @Accessor(qualifier="discount",
                  type=GETTER)
        public DiscountModel getDiscount()
        Generated method - Getter of the AbstractDiscountRow.discount attribute defined at extension europe1.
        Returns:
        the discount
      • getDiscountString

        @Accessor(qualifier="discountString",
                  type=GETTER)
        public java.lang.String getDiscountString()
        Generated method - Getter of the AbstractDiscountRow.discountString dynamic attribute defined at extension europe1.
        Returns:
        the discountString
      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.lang.Double getValue()
        Generated method - Getter of the AbstractDiscountRow.value attribute defined at extension europe1.
        Returns:
        the value
      • setCurrency

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of AbstractDiscountRow.currency attribute defined at extension europe1.
        Parameters:
        value - the currency
      • setDiscount

        @Accessor(qualifier="discount",
                  type=SETTER)
        public void setDiscount​(DiscountModel value)
        Generated method - Initial setter of AbstractDiscountRow.discount attribute defined at extension europe1. Can only be used at creation of model - before first save.
        Parameters:
        value - the discount
      • setPg

        @Accessor(qualifier="pg",
                  type=SETTER)
        public void setPg​(HybrisEnumValue value)
        Generated method - Initial setter of PDTRow.pg attribute defined at extension europe1 and redeclared at extension europe1. Can only be used at creation of model - before first save. Will only accept values of type ProductDiscountGroup.
        Overrides:
        setPg in class PDTRowModel
        Parameters:
        value - the pg
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.lang.Double value)
        Generated method - Setter of AbstractDiscountRow.value attribute defined at extension europe1.
        Parameters:
        value - the value