Class RegularCustomerOrderTotalRestrictionModel

All Implemented Interfaces:
Serializable

public class RegularCustomerOrderTotalRestrictionModel extends RestrictionModel
Generated model class for type RegularCustomerOrderTotalRestriction first defined at extension voucher.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ALLORDERSTOTAL

      public static final String ALLORDERSTOTAL
      Generated constant - Attribute key of RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.
      See Also:
    • NET

      public static final String NET
      Generated constant - Attribute key of RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.
      See Also:
    • VALUEOFGOODSONLY

      public static final String VALUEOFGOODSONLY
      Generated constant - Attribute key of RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.
      See Also:
  • Constructor Details

    • RegularCustomerOrderTotalRestrictionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public RegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, VoucherModel _voucher)
      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:
      _allOrdersTotal - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher
      _currency - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher
      _voucher - initial attribute declared by type Restriction at extension voucher
    • RegularCustomerOrderTotalRestrictionModel

      @Deprecated(since="4.1.1", forRemoval=true) public RegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, ItemModel _owner, VoucherModel _voucher)
      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:
      _allOrdersTotal - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher
      _currency - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher
      _owner - initial attribute declared by type Item at extension core
      _voucher - initial attribute declared by type Restriction at extension voucher
  • Method Details

    • getAllOrdersTotal

      @Accessor(qualifier="allOrdersTotal", type=GETTER) public Double getAllOrdersTotal()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.
      Returns:
      the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.
      Returns:
      the currency - the currency associated with the orderTotalSum.
    • getNet

      @Accessor(qualifier="net", type=GETTER) public Boolean getNet()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.
      Returns:
      the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • getValueofgoodsonly

      @Accessor(qualifier="valueofgoodsonly", type=GETTER) public Boolean getValueofgoodsonly()
      Generated method - Getter of the RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.
      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).
    • setAllOrdersTotal

      @Accessor(qualifier="allOrdersTotal", type=SETTER) public void setAllOrdersTotal(Double value)
      Generated method - Setter of RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.
      Parameters:
      value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
    • setCurrency

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.
      Parameters:
      value - the currency - the currency associated with the orderTotalSum.
    • setNet

      @Accessor(qualifier="net", type=SETTER) public void setNet(Boolean value)
      Generated method - Setter of RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.
      Parameters:
      value - the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
    • setValueofgoodsonly

      @Accessor(qualifier="valueofgoodsonly", type=SETTER) public void setValueofgoodsonly(Boolean value)
      Generated method - Setter of RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.
      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).