Class AbstractFirmEvent<B extends es.kukenan.smartfi.events.common.AbstractEventBody>

java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.firm.events.AbstractFirmEvent<B>
Type Parameters:
B - the events body type.
All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
Direct Known Subclasses:
FirmEcommerceEvent, FirmPendingNotificationEvent, UserPsd2ScaUpdatedEvent

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

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

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

    UTC
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractFirmEvent(String typeId, String version)
    Minimal constructor.
    AbstractFirmEvent(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, getUserId, getVersion, hashCode, setBody, setChannel, setCompanyId, setCreationDate, setCreationTs, setManager, setMessageId, setOperationType, setOrigin, setRequestId, setSession, setUserId, 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 client management context.
      See Also:
  • Constructor Details

    • AbstractFirmEvent

      public AbstractFirmEvent(String typeId, String version)
      Minimal constructor.
      Parameters:
      typeId - events type (typeId is the unique identifier of the events type in the platform).
      version - event version.
    • AbstractFirmEvent

      public AbstractFirmEvent(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 events.
      typeId - events type (typeId is the unique identifier of the events type in the platform).
      operationType - operation type (some kind of events sub-type).
      messageId - arbitrary application-specific identifier for the message/events.
      version - events version.
      creationTs - events creation timestamp (milliseconds from EPOCH).
      channel - events channel.
      session - session identifier.
      manager - manager that generate events.
      userId - person identifier.
      body - events body.