Class RegularCustomerOrderQuantityRestrictionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class RegularCustomerOrderQuantityRestrictionModel
    extends RestrictionModel
    Generated model class for type RegularCustomerOrderQuantityRestriction first defined at extension voucher.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ORDERQUANTITY
        Generated constant - Attribute key of RegularCustomerOrderQuantityRestriction.orderQuantity attribute defined at extension voucher.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RegularCustomerOrderQuantityRestrictionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RegularCustomerOrderQuantityRestrictionModel​(java.lang.Integer _orderQuantity,
                                                            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:
        _orderQuantity - initial attribute declared by type RegularCustomerOrderQuantityRestriction at extension voucher
        _voucher - initial attribute declared by type Restriction at extension voucher
      • RegularCustomerOrderQuantityRestrictionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RegularCustomerOrderQuantityRestrictionModel​(java.lang.Integer _orderQuantity,
                                                            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:
        _orderQuantity - initial attribute declared by type RegularCustomerOrderQuantityRestriction at extension voucher
        _owner - initial attribute declared by type Item at extension core
        _voucher - initial attribute declared by type Restriction at extension voucher
    • Method Detail

      • getOrderQuantity

        @Accessor(qualifier="orderQuantity",
                  type=GETTER)
        public java.lang.Integer getOrderQuantity()
        Generated method - Getter of the RegularCustomerOrderQuantityRestriction.orderQuantity attribute defined at extension voucher.
        Returns:
        the orderQuantity - restrict to customers with a total of x completed orders.
      • setOrderQuantity

        @Accessor(qualifier="orderQuantity",
                  type=SETTER)
        public void setOrderQuantity​(java.lang.Integer value)
        Generated method - Setter of RegularCustomerOrderQuantityRestriction.orderQuantity attribute defined at extension voucher.
        Parameters:
        value - the orderQuantity - restrict to customers with a total of x completed orders.