Class AbstractOnboardingEvent<B extends BaseOnboardingEventBody>

java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.onboarding.events.AbstractOnboardingEvent<B>
Type Parameters:
B - the event body type.
All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
Direct Known Subclasses:
OnboardingAlreadyClientEvent, OnboardingAmlVerificationPendingEvent, OnboardingCompletedEvent, OnboardingEvidencesVerificationPendingEvent, OnboardingInitiatedEvent, OnboardingKoEvent, OnboardingUpdatedEvent, OnboardingValidatedEvent

public abstract class AbstractOnboardingEvent<B extends BaseOnboardingEventBody> extends es.kukenan.smartfi.events.common.AbstractEvent<B>
Class that describes the contract of the events generated by the Onboarding context.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant value for the context field, unique for onboarding context.

    Fields inherited from class es.kukenan.smartfi.events.common.AbstractEvent

    UTC
  • Constructor Summary

    Constructors
    Constructor
    Description
    Minimal constructor.
    AbstractOnboardingEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body)
    State constructor.
  • Method Summary

    Methods inherited from class es.kukenan.smartfi.events.common.AbstractEvent

    canEqual, equals, getBody, getChannel, getCompanyId, getContext, getCreationDate, getCreationTs, getManager, getMessageId, getOperationType, getOrigin, getRequestId, getSession, getTypeId, getUserAgent, getUserId, getUserIp, getVersion, hashCode, setBody, setChannel, setCompanyId, setCreationDate, setCreationTs, setManager, setMessageId, setOperationType, setOrigin, setRequestId, setSession, setUserAgent, setUserId, setUserIp, setVersion, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • CONTEXT

      public static final String CONTEXT
      Constant value for the context field, unique for onboarding context.
      See Also:
  • Constructor Details

    • AbstractOnboardingEvent

      public AbstractOnboardingEvent(String typeId)
      Minimal constructor.
      Parameters:
      typeId - event type (the pair origin-typeId is the unique identifier of the event type in the platform).
    • AbstractOnboardingEvent

      public AbstractOnboardingEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body)
      State constructor.
      Parameters:
      requestId - the request identifier (transaction).
      companyId - company/bank identifier (multi-tenant context, BC/BF).
      origin - service that have produced this event.
      typeId - event type (the pair origin-typeId is the unique identifier of the event type in the platform).
      operationType - operation type (some kind of event sub-type).
      messageId - arbitrary application-specific identifier for the message/event.
      version - message version.
      creationTs - event creation timestamp (milliseconds from EPOCH).
      channel - event channel.
      session - session identifier.
      manager - manager that generate event.
      userId - user identifier.
      body - event body.