Class RegularCustomerOrderQuantityRestrictionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.voucher.model.RestrictionModel
de.hybris.platform.voucher.model.RegularCustomerOrderQuantityRestrictionModel
All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String ORDERQUANTITY
      Generated constant - Attribute key of RegularCustomerOrderQuantityRestriction.orderQuantity attribute defined at extension voucher.
      See Also:
  • Constructor Details

    • RegularCustomerOrderQuantityRestrictionModel

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

      public RegularCustomerOrderQuantityRestrictionModel(de.hybris.platform.servicelayer.model.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(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(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 Details

    • getOrderQuantity

      @Accessor(qualifier="orderQuantity", type=GETTER) public 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(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.