Class BackofficeMonitorProductEventCreatedBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.backoffice.events.created.BackofficeMonitorProductEventCreatedBody
public class BackofficeMonitorProductEventCreatedBody
extends es.kukenan.smartfi.events.common.AbstractEventBody
Base class for the body of product 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 @NotBlank IntegerBack office ID.private @NotNull Stringuser ID.private StringCard brand.private StringCard holder.private StringCard locking.private LocalDateCard register date.private StringCard situation.private IntegerCard type.private StringEntity.private LocalDateCard expiration date.private StringType movement.private StringCard PAN.private Stringproduct Id.private StringProduct status.private StringProduct subtype identifier.private Stringproduct type.private StringRelation type. -
Constructor Summary
ConstructorsConstructorDescriptionBackofficeMonitorProductEventCreatedBody(String principal, Integer backOfficeId, String id, String productId, String productType) Full state constructor version 1.BackofficeMonitorProductEventCreatedBody(String principal, Integer backOfficeId, String id, String productId, String productType, String entity, String productSubtypeId, String productStatus, String cardSituation, String cardLocking, LocalDate expirationDate, String cardBrand, String pan, Integer cardType, LocalDate cardRegisterDate, String cardHolder, String relationType, 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. -
movementType
Type movement. -
relationType
Relation type.
-
-
Constructor Details
-
BackofficeMonitorProductEventCreatedBody
public BackofficeMonitorProductEventCreatedBody(String principal, Integer backOfficeId, String id, String productId, 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
-
BackofficeMonitorProductEventCreatedBody
public BackofficeMonitorProductEventCreatedBody(String principal, Integer backOfficeId, String id, String productId, String productType, String entity, String productSubtypeId, String productStatus, String cardSituation, String cardLocking, LocalDate expirationDate, String cardBrand, String pan, Integer cardType, LocalDate cardRegisterDate, String cardHolder, String relationType, 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
-