All Implemented Interfaces:
Serializable

public class FlashBuyCouponModel extends SingleCodeCouponModel
Generated model class for type FlashBuyCoupon first defined at extension timedaccesspromotionengineservices.

Flash buy special coupon.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String RULE
      Generated constant - Attribute key of FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.
      See Also:
    • MAXPRODUCTQUANTITYPERORDER

      public static final String MAXPRODUCTQUANTITYPERORDER
      Generated constant - Attribute key of FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Generated constant - Attribute key of FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.
      See Also:
    • ORIGINALMAXORDERQUANTITY

      public static final String ORIGINALMAXORDERQUANTITY
      Generated constant - Attribute key of FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.
      See Also:
  • Constructor Details

    • FlashBuyCouponModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public FlashBuyCouponModel(String _couponId)
      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:
      _couponId - initial attribute declared by type AbstractCoupon at extension couponservices
    • FlashBuyCouponModel

      @Deprecated(since="4.1.1", forRemoval=true) public FlashBuyCouponModel(String _couponId, ItemModel _owner)
      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:
      _couponId - initial attribute declared by type AbstractCoupon at extension couponservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getMaxProductQuantityPerOrder

      @Accessor(qualifier="maxProductQuantityPerOrder", type=GETTER) public Integer getMaxProductQuantityPerOrder()
      Generated method - Getter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.
      Returns:
      the maxProductQuantityPerOrder
    • getOriginalMaxOrderQuantity

      @Accessor(qualifier="originalMaxOrderQuantity", type=GETTER) public Integer getOriginalMaxOrderQuantity()
      Generated method - Getter of the FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.
      Returns:
      the originalMaxOrderQuantity
    • getProduct

      @Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
      Generated method - Getter of the FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.
      Returns:
      the product
    • getRule

      Generated method - Getter of the FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.
      Returns:
      the rule
    • setMaxProductQuantityPerOrder

      @Accessor(qualifier="maxProductQuantityPerOrder", type=SETTER) public void setMaxProductQuantityPerOrder(Integer value)
      Generated method - Setter of FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.
      Parameters:
      value - the maxProductQuantityPerOrder
    • setOriginalMaxOrderQuantity

      @Accessor(qualifier="originalMaxOrderQuantity", type=SETTER) public void setOriginalMaxOrderQuantity(Integer value)
      Generated method - Setter of FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.
      Parameters:
      value - the originalMaxOrderQuantity
    • setProduct

      @Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
      Generated method - Setter of FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.
      Parameters:
      value - the product
    • setRule

      @Accessor(qualifier="rule", type=SETTER) public void setRule(PromotionSourceRuleModel value)
      Generated method - Setter of FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.
      Parameters:
      value - the rule