Class DiscountRowModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class DiscountRowModel
    extends AbstractDiscountRowModel
    Generated model class for type DiscountRow first defined at extension europe1.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _PRODUCT2OWNEUROPE1DISCOUNTS
        Generated relation code constant for relation Product2OwnEurope1Discounts defining source attribute product in extension europe1.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of DiscountRow.catalogVersion attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • ASTARGETPRICE

        public static final java.lang.String ASTARGETPRICE
        Generated constant - Attribute key of DiscountRow.asTargetPrice attribute defined at extension europe1.
        See Also:
        Constant Field Values
      • SAPCONDITIONID

        public static final java.lang.String SAPCONDITIONID
        Generated constant - Attribute key of DiscountRow.sapConditionId attribute defined at extension sapmodel.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DiscountRowModel

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

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DiscountRowModel​(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 DiscountRow at extension europe1
        _productId - initial attribute declared by type PDTRow at extension europe1
    • Method Detail

      • getAsTargetPrice

        @Accessor(qualifier="asTargetPrice",
                  type=GETTER)
        public java.lang.Boolean getAsTargetPrice()
        Generated method - Getter of the DiscountRow.asTargetPrice attribute defined at extension europe1.
        Returns:
        the asTargetPrice
      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the DiscountRow.catalogVersion attribute defined at extension europe1.
        Returns:
        the catalogVersion
      • getSapConditionId

        @Accessor(qualifier="sapConditionId",
                  type=GETTER)
        public java.lang.String getSapConditionId()
        Generated method - Getter of the DiscountRow.sapConditionId attribute defined at extension sapmodel.
        Returns:
        the sapConditionId - Unique identifier of Price Condition.
      • setAsTargetPrice

        @Accessor(qualifier="asTargetPrice",
                  type=SETTER)
        public void setAsTargetPrice​(java.lang.Boolean value)
        Generated method - Setter of DiscountRow.asTargetPrice attribute defined at extension europe1.
        Parameters:
        value - the asTargetPrice
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of DiscountRow.catalogVersion attribute defined at extension europe1.
        Parameters:
        value - the catalogVersion
      • setProduct

        @Accessor(qualifier="product",
                  type=SETTER)
        public void setProduct​(ProductModel value)
        Generated method - Initial setter of PDTRow.product 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 ProductModel.
        Overrides:
        setProduct in class PDTRowModel
        Parameters:
        value - the product
      • setSapConditionId

        @Accessor(qualifier="sapConditionId",
                  type=SETTER)
        public void setSapConditionId​(java.lang.String value)
        Generated method - Setter of DiscountRow.sapConditionId attribute defined at extension sapmodel.
        Parameters:
        value - the sapConditionId - Unique identifier of Price Condition.