Class GeneratedRegularCustomerOrderTotalRestriction

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

public abstract class GeneratedRegularCustomerOrderTotalRestriction extends Restriction
Generated class for type RegularCustomerOrderTotalRestriction.
See Also:
  • Field Details

    • ALLORDERSTOTAL

      public static final String ALLORDERSTOTAL
      Qualifier of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Qualifier of the RegularCustomerOrderTotalRestriction.currency attribute
      See Also:
    • NET

      public static final String NET
      Qualifier of the RegularCustomerOrderTotalRestriction.net attribute
      See Also:
    • VALUEOFGOODSONLY

      public static final String VALUEOFGOODSONLY
      Qualifier of the RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedRegularCustomerOrderTotalRestriction

      public GeneratedRegularCustomerOrderTotalRestriction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedRestriction
    • getAllOrdersTotal

      public Double getAllOrdersTotal(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Returns:
      the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • getAllOrdersTotal

      public Double getAllOrdersTotal()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Returns:
      the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • getAllOrdersTotalAsPrimitive

      public double getAllOrdersTotalAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Returns:
      the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • getAllOrdersTotalAsPrimitive

      public double getAllOrdersTotalAsPrimitive()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Returns:
      the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • setAllOrdersTotal

      public void setAllOrdersTotal(SessionContext ctx, Double value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Parameters:
      value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • setAllOrdersTotal

      public void setAllOrdersTotal(Double value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Parameters:
      value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • setAllOrdersTotal

      public void setAllOrdersTotal(SessionContext ctx, double value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Parameters:
      value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • setAllOrdersTotal

      public void setAllOrdersTotal(double value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute.
      Parameters:
      value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • getCurrency

      public Currency getCurrency(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.currency attribute.
      Returns:
      the currency - the currency associated with the orderTotalSum.
    • getCurrency

      public Currency getCurrency()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.currency attribute.
      Returns:
      the currency - the currency associated with the orderTotalSum.
    • setCurrency

      public void setCurrency(SessionContext ctx, Currency value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.currency attribute.
      Parameters:
      value - the currency - the currency associated with the orderTotalSum.
    • setCurrency

      public void setCurrency(Currency value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.currency attribute.
      Parameters:
      value - the currency - the currency associated with the orderTotalSum.
    • isNet

      public Boolean isNet(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.net attribute.
      Returns:
      the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • isNet

      public Boolean isNet()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.net attribute.
      Returns:
      the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • isNetAsPrimitive

      public boolean isNetAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.net attribute.
      Returns:
      the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • isNetAsPrimitive

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

      public void setNet(SessionContext ctx, Boolean value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.net attribute.
      Parameters:
      value - the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • setNet

      public void setNet(Boolean value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.net attribute.
      Parameters:
      value - the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • setNet

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

      public void setNet(boolean value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.net attribute.
      Parameters:
      value - the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • isValueofgoodsonly

      public Boolean isValueofgoodsonly(SessionContext ctx)
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute.
      Returns:
      the valueofgoodsonly - Specifies if total sum of all orders is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping and payment costs).
    • isValueofgoodsonly

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

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

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

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

      public void setValueofgoodsonly(Boolean value)
      Generated method - Setter of the RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute.
      Parameters:
      value - the valueofgoodsonly - Specifies if total sum of all orders is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping and payment costs).
    • setValueofgoodsonly

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

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