Class BackOfficeProductCreatedEvent
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.backoffice.events.AbstractBackofficeMonitorEvent<BackofficeMonitorProductEventCreatedBody>
es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent
- All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
public class BackOfficeProductCreatedEvent
extends AbstractBackofficeMonitorEvent<BackofficeMonitorProductEventCreatedBody>
Class that describes the contract of the events generated by backoffice microservice.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUnique platform events type identifier.static final StringEvent version.Fields inherited from class es.kukenan.smartfi.microservice.backoffice.events.AbstractBackofficeMonitorEvent
CONTEXTFields inherited from class es.kukenan.smartfi.events.common.AbstractEvent
UTC -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.BackOfficeProductCreatedEvent(String requestId, String companyId, String messageId, String origin, String operationType, String version, Long creationTs, String channel, String session, String manager, String userId, BackofficeMonitorProductEventCreatedBody 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
-
Field Details
-
VERSION
Event version.- See Also:
-
TYPE_ID
Unique platform events type identifier.- See Also:
-
-
Constructor Details
-
BackOfficeProductCreatedEvent
public BackOfficeProductCreatedEvent()Default constructor. -
BackOfficeProductCreatedEvent
public BackOfficeProductCreatedEvent(String requestId, String companyId, String messageId, String origin, String operationType, String version, Long creationTs, String channel, String session, String manager, String userId, BackofficeMonitorProductEventCreatedBody body) State constructor.- Parameters:
requestId- the request identifier (transaction).companyId- company/bank identifier (multi-tenant context, BC/BF).messageId- arbitrary application-specific identifier for the message/events.origin- service that have produced this events.operationType- operation type (some kind of events sub-type).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.
-