Class BackofficeMonitorProductEventUpdatedBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorProductEventUpdatedBody
public class BackofficeMonitorProductEventUpdatedBody
extends es.kukenan.smartfi.events.common.AbstractEventBody
Base class for the body of product updated backoffice Events.
Please note that @JsonInclude(Include.NON_NULL) annotation is specially important to make Optional.empty fields to be
serialized as null properties and null fields to bo not serialized at all.
This way, the event receptor will be able to distinguish not fields to leave unchanged (null) from fields to be removed (
Optional.empty).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotNull IntegerBack office ID.private @NotNull Stringuser ID.Card brand.Card holder.Card locking.Card register date.Card situation.Card type.Entity.Card expiration date.Movement type.Card PAN.product Id.Product status.Product subtype identifier.product type.Relation type. -
Constructor Summary
ConstructorsConstructorDescriptionBackofficeMonitorProductEventUpdatedBody(String principal, Integer backOfficeId, String id, Optional<String> productId, Optional<String> productType) Full state constructor version 1.BackofficeMonitorProductEventUpdatedBody(String principal, Integer backOfficeId, String id, Optional<String> productId, Optional<String> productType, Optional<String> entity, Optional<String> productSubtypeId, Optional<String> productStatus, Optional<String> cardSituation, Optional<String> cardlocking, Optional<LocalDate> expirationDate, Optional<String> cardBrand, Optional<String> pan, Optional<Integer> cardType, Optional<LocalDate> cardRegisterDate, Optional<String> cardHolder, Optional<String> relationType, Optional<String> movementType) Full state constructor version 2. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
backOfficeId
Back office ID. -
backOfficeUserId
user ID. -
productId
product Id. -
productType
product type. -
entity
Entity. -
productSubtypeId
Product subtype identifier. -
productStatus
Product status. -
cardSituation
Card situation. -
cardlocking
Card locking. -
expirationDate
Card expiration date. -
cardBrand
Card brand. -
pan
Card PAN. -
cardType
Card type. -
cardRegisterDate
Card register date. -
cardHolder
Card holder. -
relationType
Relation type. -
movementType
Movement type.
-
-
Constructor Details
-
BackofficeMonitorProductEventUpdatedBody
public BackofficeMonitorProductEventUpdatedBody(String principal, Integer backOfficeId, String id, Optional<String> productId, Optional<String> productType) Full state constructor version 1.- Parameters:
principal- value of property principal in Notification EventbackOfficeId- where the value come fromid- person numberproductId- product identifierproductType- product type
-
BackofficeMonitorProductEventUpdatedBody
public BackofficeMonitorProductEventUpdatedBody(String principal, Integer backOfficeId, String id, Optional<String> productId, Optional<String> productType, Optional<String> entity, Optional<String> productSubtypeId, Optional<String> productStatus, Optional<String> cardSituation, Optional<String> cardlocking, Optional<LocalDate> expirationDate, Optional<String> cardBrand, Optional<String> pan, Optional<Integer> cardType, Optional<LocalDate> cardRegisterDate, Optional<String> cardHolder, Optional<String> relationType, Optional<String> movementType) Full state constructor version 2.- Parameters:
principal- value of property principal in Notification EventbackOfficeId- where the value come fromid- person numberproductId- product identifierproductType- product typeentity- entityproductSubtypeId- product subtype identifierproductStatus- product statuscardSituation- card situationcardlocking- card lockingexpirationDate- expiration datecardBrand- card brandpan- PANcardType- card typecardRegisterDate- card register datecardHolder- card holderrelationType- relation type.movementType- movement type.
-