Class CouponRequestPlain
- java.lang.Object
-
- com.inteliqua.rest.coupon.payload.CouponBasicPayload
-
- com.inteliqua.rest.coupon.payload.CouponRequest
-
- com.inteliqua.rest.coupon.payload.CouponRequestPlain
-
- All Implemented Interfaces:
EliquaAbstractRequestPayload
public class CouponRequestPlain extends CouponRequest
Represents plain coupon creation data.This class extends
CouponRequestand provides the basic data needed for creating a coupon request. TheCouponRequestPlainis a specific type of coupon request with the type value set to "PLAIN".- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description CouponRequestPlain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Gets the type of this coupon request.StringtoString()Provides a string representation of this coupon request.-
Methods inherited from class com.inteliqua.rest.coupon.payload.CouponRequest
addAtrribute, getAction, getAttributes, getCouponCode, getCouponSetCode, isCouponValidity, setAction, setCouponCode, setCouponSetCode, setCouponValidity
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
The type of this coupon request (PLAIN).- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Gets the type of this coupon request.- Specified by:
getTypein classCouponRequest- Returns:
- The type of the coupon request, which is "PLAIN" for this class.
-
toString
public String toString()
Provides a string representation of this coupon request.This method overrides the
CouponRequest.toString()method to include the specific data fromCouponRequestPlain.- Overrides:
toStringin classCouponRequest- Returns:
- A string representation of the coupon request.
-
-