Class FlashBuyCouponModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Flash buy special coupon.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

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

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

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

        public static final java.lang.String ORIGINALMAXORDERQUANTITY
        Generated constant - Attribute key of FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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​(java.lang.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 Detail

      • getMaxProductQuantityPerOrder

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

        @Accessor(qualifier="originalMaxOrderQuantity",
                  type=GETTER)
        public java.lang.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
      • setMaxProductQuantityPerOrder

        @Accessor(qualifier="maxProductQuantityPerOrder",
                  type=SETTER)
        public void setMaxProductQuantityPerOrder​(java.lang.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​(java.lang.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