Class CardUpdatedEventBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.contracts.events.BaseCardsEventBody
es.kukenan.smartfi.microservice.contracts.events.updated.CardUpdatedEventBody
Base class for the body of any Users micro-service event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCard brand.Card cancelationReason.private StringEntity bank.private @NotBlank StringCard expirationDate.Card holder.private @NotBlank StringCard internal id.private @NotBlank Stringcard pan.Prepared date for pan swap to stolen cards.Card registerDate.Card situation id.private @NotBlank StringCard status id.Card trasferredtoCardID .Card type id.private @NotBlank StringSkyline user identifier. -
Constructor Summary
ConstructorsConstructorDescriptionCardUpdatedEventBody(String id, String userId, String pan, String statusId, Optional<String> brand, String entityId, Optional<String> situationId, String expirationDate, Optional<String> holder, Optional<Integer> typeId, Optional<String> registerDate, Optional<String> cancelationReason, Optional<String> trasferredtoCardId, Optional<String> readinessDate) Full state constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if there are changes registered for the card related to the event.Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
id
Card internal id. -
userId
Skyline user identifier. -
pan
card pan. -
statusId
Card status id. -
brand
Card brand. -
entityId
Entity bank. -
situationId
Card situation id. -
expirationDate
Card expirationDate. -
holder
Card holder. -
typeId
Card type id. -
registerDate
Card registerDate. -
cancelationReason
Card cancelationReason. -
trasferredtoCardId
Card trasferredtoCardID . -
readinessDate
Prepared date for pan swap to stolen cards.
-
-
Constructor Details
-
CardUpdatedEventBody
public CardUpdatedEventBody(String id, String userId, String pan, String statusId, Optional<String> brand, String entityId, Optional<String> situationId, String expirationDate, Optional<String> holder, Optional<Integer> typeId, Optional<String> registerDate, Optional<String> cancelationReason, Optional<String> trasferredtoCardId, Optional<String> readinessDate) Full state constructor.- Parameters:
id- card identifier.userId- Skyline user identifier.pan- card identifier.statusId- status identifierbrand- card brand.entityId- entity bank.situationId- card situation identifier.expirationDate- card expirationDate.holder- card holder.typeId- card type identifierregisterDate- card registerDate.cancelationReason- card cancelationDate.trasferredtoCardId- new card pan.readinessDate- Prepared date for pan swap to stolen cards.
-
-
Method Details
-
containsChanges
public boolean containsChanges()Returns if there are changes registered for the card related to the event.- Returns:
- true if there are changes registered for the card related to the event.
-