Package com.inteliqua.rest.flow.payload
Class CouponFlowTriggerPayload
- java.lang.Object
-
- com.inteliqua.rest.flow.payload.FlowTriggerPayload
-
- com.inteliqua.rest.flow.payload.CouponFlowTriggerPayload
-
- All Implemented Interfaces:
EliquaAbstractRequestPayload
public class CouponFlowTriggerPayload extends FlowTriggerPayload
Payload class for triggering flows related to coupons.Extends
FlowTriggerPayloadto provide coupon-specific properties used in initiating or processing coupon-related flows.Key properties include:
couponCode– the unique identifier for the couponcouponSetCode– an identifier for a set or group of couponsextraFields– optional key-value pairs for additional metadata
The
subjectof this payload is set to"COUPON"for proper deserialization and routing of this payload type.- See Also:
FlowTriggerPayload
-
-
Constructor Summary
Constructors Constructor Description CouponFlowTriggerPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSubject()Returns the subject identifier used for polymorphic deserialization.
-
-
-
Field Detail
-
SUBJECT
public static final String SUBJECT
Constant subject string used to identify this payload type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubject
public String getSubject()
Returns the subject identifier used for polymorphic deserialization.- Specified by:
getSubjectin classFlowTriggerPayload- Returns:
- the subject string identifying this payload type
-
-