Class CouponRedemptionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CouponRedemptionModel
    extends ItemModel
    Generated model class for type CouponRedemption first defined at extension couponservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String COUPONCODE
        Generated constant - Attribute key of CouponRedemption.couponCode attribute defined at extension couponservices.
        See Also:
        Constant Field Values
      • COUPON

        public static final java.lang.String COUPON
        Generated constant - Attribute key of CouponRedemption.coupon attribute defined at extension couponservices.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of CouponRedemption.order attribute defined at extension couponservices.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of CouponRedemption.user attribute defined at extension couponservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CouponRedemptionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CouponRedemptionModel​(AbstractCouponModel _coupon,
                                     java.lang.String _couponCode)
        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:
        _coupon - initial attribute declared by type CouponRedemption at extension couponservices
        _couponCode - initial attribute declared by type CouponRedemption at extension couponservices
      • CouponRedemptionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CouponRedemptionModel​(AbstractCouponModel _coupon,
                                     java.lang.String _couponCode,
                                     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:
        _coupon - initial attribute declared by type CouponRedemption at extension couponservices
        _couponCode - initial attribute declared by type CouponRedemption at extension couponservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCouponCode

        @Accessor(qualifier="couponCode",
                  type=GETTER)
        public java.lang.String getCouponCode()
        Generated method - Getter of the CouponRedemption.couponCode attribute defined at extension couponservices.
        Returns:
        the couponCode
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the CouponRedemption.user attribute defined at extension couponservices.
        Returns:
        the user
      • setCoupon

        @Accessor(qualifier="coupon",
                  type=SETTER)
        public void setCoupon​(AbstractCouponModel value)
        Generated method - Setter of CouponRedemption.coupon attribute defined at extension couponservices.
        Parameters:
        value - the coupon
      • setCouponCode

        @Accessor(qualifier="couponCode",
                  type=SETTER)
        public void setCouponCode​(java.lang.String value)
        Generated method - Setter of CouponRedemption.couponCode attribute defined at extension couponservices.
        Parameters:
        value - the couponCode
      • setOrder

        @Accessor(qualifier="order",
                  type=SETTER)
        public void setOrder​(AbstractOrderModel value)
        Generated method - Setter of CouponRedemption.order attribute defined at extension couponservices.
        Parameters:
        value - the order
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of CouponRedemption.user attribute defined at extension couponservices.
        Parameters:
        value - the user