Class GeneratedOrderRestriction

    • Field Detail

      • TOTAL

        public static final java.lang.String TOTAL
        Qualifier of the OrderRestriction.total attribute
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Qualifier of the OrderRestriction.currency attribute
        See Also:
        Constant Field Values
      • NET

        public static final java.lang.String NET
        Qualifier of the OrderRestriction.net attribute
        See Also:
        Constant Field Values
      • VALUEOFGOODSONLY

        public static final java.lang.String VALUEOFGOODSONLY
        Qualifier of the OrderRestriction.valueofgoodsonly attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedOrderRestriction

        public GeneratedOrderRestriction()
    • Method Detail

      • getCurrency

        public Currency getCurrency​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.currency attribute.
        Returns:
        the currency - the currency of the total sum of an order for which the given voucher is valid.
      • getCurrency

        public Currency getCurrency()
        Generated method - Getter of the OrderRestriction.currency attribute.
        Returns:
        the currency - the currency of the total sum of an order for which the given voucher is valid.
      • setCurrency

        public void setCurrency​(SessionContext ctx,
                                Currency value)
        Generated method - Setter of the OrderRestriction.currency attribute.
        Parameters:
        value - the currency - the currency of the total sum of an order for which the given voucher is valid.
      • setCurrency

        public void setCurrency​(Currency value)
        Generated method - Setter of the OrderRestriction.currency attribute.
        Parameters:
        value - the currency - the currency of the total sum of an order for which the given voucher is valid.
      • isNet

        public java.lang.Boolean isNet​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.net attribute.
        Returns:
        the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • isNet

        public java.lang.Boolean isNet()
        Generated method - Getter of the OrderRestriction.net attribute.
        Returns:
        the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • isNetAsPrimitive

        public boolean isNetAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.net attribute.
        Returns:
        the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • isNetAsPrimitive

        public boolean isNetAsPrimitive()
        Generated method - Getter of the OrderRestriction.net attribute.
        Returns:
        the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • setNet

        public void setNet​(SessionContext ctx,
                           java.lang.Boolean value)
        Generated method - Setter of the OrderRestriction.net attribute.
        Parameters:
        value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • setNet

        public void setNet​(java.lang.Boolean value)
        Generated method - Setter of the OrderRestriction.net attribute.
        Parameters:
        value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • setNet

        public void setNet​(SessionContext ctx,
                           boolean value)
        Generated method - Setter of the OrderRestriction.net attribute.
        Parameters:
        value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • setNet

        public void setNet​(boolean value)
        Generated method - Setter of the OrderRestriction.net attribute.
        Parameters:
        value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
      • getTotal

        public java.lang.Double getTotal​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.total attribute.
        Returns:
        the total - the total sum of an order for which the given voucher is valid.
      • getTotal

        public java.lang.Double getTotal()
        Generated method - Getter of the OrderRestriction.total attribute.
        Returns:
        the total - the total sum of an order for which the given voucher is valid.
      • getTotalAsPrimitive

        public double getTotalAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.total attribute.
        Returns:
        the total - the total sum of an order for which the given voucher is valid.
      • getTotalAsPrimitive

        public double getTotalAsPrimitive()
        Generated method - Getter of the OrderRestriction.total attribute.
        Returns:
        the total - the total sum of an order for which the given voucher is valid.
      • setTotal

        public void setTotal​(SessionContext ctx,
                             java.lang.Double value)
        Generated method - Setter of the OrderRestriction.total attribute.
        Parameters:
        value - the total - the total sum of an order for which the given voucher is valid.
      • setTotal

        public void setTotal​(java.lang.Double value)
        Generated method - Setter of the OrderRestriction.total attribute.
        Parameters:
        value - the total - the total sum of an order for which the given voucher is valid.
      • setTotal

        public void setTotal​(SessionContext ctx,
                             double value)
        Generated method - Setter of the OrderRestriction.total attribute.
        Parameters:
        value - the total - the total sum of an order for which the given voucher is valid.
      • setTotal

        public void setTotal​(double value)
        Generated method - Setter of the OrderRestriction.total attribute.
        Parameters:
        value - the total - the total sum of an order for which the given voucher is valid.
      • isValueofgoodsonly

        public java.lang.Boolean isValueofgoodsonly​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.valueofgoodsonly attribute.
        Returns:
        the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • isValueofgoodsonly

        public java.lang.Boolean isValueofgoodsonly()
        Generated method - Getter of the OrderRestriction.valueofgoodsonly attribute.
        Returns:
        the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • isValueofgoodsonlyAsPrimitive

        public boolean isValueofgoodsonlyAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the OrderRestriction.valueofgoodsonly attribute.
        Returns:
        the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • isValueofgoodsonlyAsPrimitive

        public boolean isValueofgoodsonlyAsPrimitive()
        Generated method - Getter of the OrderRestriction.valueofgoodsonly attribute.
        Returns:
        the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • setValueofgoodsonly

        public void setValueofgoodsonly​(SessionContext ctx,
                                        java.lang.Boolean value)
        Generated method - Setter of the OrderRestriction.valueofgoodsonly attribute.
        Parameters:
        value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • setValueofgoodsonly

        public void setValueofgoodsonly​(java.lang.Boolean value)
        Generated method - Setter of the OrderRestriction.valueofgoodsonly attribute.
        Parameters:
        value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • setValueofgoodsonly

        public void setValueofgoodsonly​(SessionContext ctx,
                                        boolean value)
        Generated method - Setter of the OrderRestriction.valueofgoodsonly attribute.
        Parameters:
        value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).
      • setValueofgoodsonly

        public void setValueofgoodsonly​(boolean value)
        Generated method - Setter of the OrderRestriction.valueofgoodsonly attribute.
        Parameters:
        value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping costs).