Class GeneratedOrderRestriction

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

public abstract class GeneratedOrderRestriction extends Restriction
Generated class for type OrderRestriction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedOrderRestriction

      public GeneratedOrderRestriction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedRestriction
    • 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 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 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, 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).
    • 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 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 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, 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.
    • 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 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 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, 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).
    • 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).