java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.security.gateway.events.AbstractSecurityGatewayEvent<OtpGeneratedEventBody>
es.kukenan.smartfi.microservice.security.gateway.events.otp.OtpGeneratedEvent
All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event

public class OtpGeneratedEvent extends AbstractSecurityGatewayEvent<OtpGeneratedEventBody>
Class that describes the contract of the OTP generated event.
  • Field Details

  • Constructor Details

    • OtpGeneratedEvent

      public OtpGeneratedEvent()
      Default constructor.
    • OtpGeneratedEvent

      public OtpGeneratedEvent(String requestId, String companyId, String origin, String operationType, String messageId, Long creationTs, String channel, String session, String manager, String userId, OtpGeneratedEventBody 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.
      operationType - operation type (some kind of event sub-type).
      messageId - arbitrary application-specific identifier for the message/event.
      creationTs - event creation timestamp (milliseconds from epoch).
      channel - event channel.
      session - session identifier.
      manager - manager that generate event.
      userId - user identifier.
      body - event body.
    • OtpGeneratedEvent

      public OtpGeneratedEvent(String requestId, String companyId, String origin, String operationType, String messageId, Long creationTs, String channel, String session, String manager, String userId, OtpGeneratedEventBody body, String userIp, String userAgent)
      State constructor.
      Parameters:
      requestId - the request identifier (transaction).
      companyId - company/bank identifier (multi-tenant context, BC/BF).
      origin - service that have produced this event.
      operationType - operation type (some kind of event sub-type).
      messageId - arbitrary application-specific identifier for the message/event.
      creationTs - event creation timestamp (milliseconds from epoch).
      channel - event channel.
      session - session identifier.
      manager - manager that generate event.
      userId - user identifier.
      body - event body.
      userIp - user IP Address.
      userAgent - user-agent header info.