Class CardProductCreatedEvent
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.contracts.events.AbstractCardsEvents<CardProductCreatedEventBody>
es.kukenan.smartfi.microservice.contracts.events.product.CardProductCreatedEvent
- All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
Class that describes the contract of the user created event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUnique platform event type identifier.static final StringEvent version.Fields inherited from class es.kukenan.smartfi.microservice.contracts.events.AbstractCardsEvents
CONTEXTFields inherited from class es.kukenan.smartfi.events.common.AbstractEvent
UTC -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CardProductCreatedEvent(String requestId, String companyId, String origin, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, CardProductCreatedEventBody 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
-
TYPE_ID
Unique platform event type identifier.- See Also:
-
VERSION
Event version.- See Also:
-
-
Constructor Details
-
CardProductCreatedEvent
public CardProductCreatedEvent()Default constructor. -
CardProductCreatedEvent
public CardProductCreatedEvent(String requestId, String companyId, String origin, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, CardProductCreatedEventBody 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.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.
-