Class CustomerFlowTriggerPayload

  • All Implemented Interfaces:
    EliquaAbstractRequestPayload

    public class CustomerFlowTriggerPayload
    extends FlowTriggerPayload
    Payload class for triggering flows related to customers.

    This class extends FlowTriggerPayload and provides customer-specific properties required for initiating or processing a flow in the context of a customer.

    Key properties include:

    • customerCode – the unique identifier for the customer
    • extraFields – optional key-value pairs for additional metadata

    The subject of this payload is set to "CUSTOMER" for deserialization and flow-routing purposes.

    See Also:
    FlowTriggerPayload
    • Field Detail

      • SUBJECT

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

      • CustomerFlowTriggerPayload

        public CustomerFlowTriggerPayload()
    • Method Detail

      • getSubject

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