Class CotPushNotificationEvent
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.eventsender.events.AbstractCotPushNotificationEvent<CotPushNotificationEventBody>
es.kukenan.smartfi.microservice.eventsender.events.CotPushNotificationEvent
- All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
public class CotPushNotificationEvent
extends AbstractCotPushNotificationEvent<CotPushNotificationEventBody>
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.eventsender.events.AbstractCotPushNotificationEvent
CONTEXTFields inherited from class es.kukenan.smartfi.events.common.AbstractEvent
UTC -
Constructor Summary
Constructors -
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
-
Field Details
-
TYPE_ID
Unique platform event type identifier.- See Also:
-
VERSION
Event version.- See Also:
-
-
Constructor Details
-
CotPushNotificationEvent
public CotPushNotificationEvent()Default constructor. -
CotPushNotificationEvent
public CotPushNotificationEvent(String requestId, String companyId, String origin, String operationType, String messageId, Long creationTs, String channel, String session, String manager, String userId, CotPushNotificationEventBody 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.
-
-
Method Details
-
toString
To string.- Overrides:
toStringin classes.kukenan.smartfi.events.common.AbstractEvent<CotPushNotificationEventBody>- Returns:
- the string
-