Class CouponFlowTriggerPayload

  • All Implemented Interfaces:
    EliquaAbstractRequestPayload

    public class CouponFlowTriggerPayload
    extends FlowTriggerPayload
    Payload class for triggering flows related to coupons.

    Extends FlowTriggerPayload to provide coupon-specific properties used in initiating or processing coupon-related flows.

    Key properties include:

    • couponCode – the unique identifier for the coupon
    • couponSetCode – an identifier for a set or group of coupons
    • extraFields – optional key-value pairs for additional metadata

    The subject of this payload is set to "COUPON" for proper deserialization and routing of this payload type.

    See Also:
    FlowTriggerPayload
    • Field Detail

      • SUBJECT

        public static final String SUBJECT
        Constant subject string used to identify this payload type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CouponFlowTriggerPayload

        public CouponFlowTriggerPayload()
    • Method Detail

      • getSubject

        public String getSubject()
        Returns the subject identifier used for polymorphic deserialization.
        Specified by:
        getSubject in class FlowTriggerPayload
        Returns:
        the subject string identifying this payload type