Class BackofficeCardProductEventUpdatedBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.backoffice.events.card.update.BackofficeCardProductEventUpdatedBody
public class BackofficeCardProductEventUpdatedBody
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 @NotBlank StringBack office user ID.Card beneficiary number.Brand name.Card cancelation reason.Card type identifier.Card type name.private @NotBlank StringExpiration date.Card holder.private @NotBlank StringCard identifier.private @NotBlank StringPAN Number.private @NotBlank StringProduct identifier.private @NotBlank StringProduct type identifier.Prepared date to card swap in stolen cards.Card register date.Card situation identifier.Card situation name.private @NotBlank StringCard status identifier.private @NotBlank StringCard status name.Card new pan generated. -
Constructor Summary
ConstructorsConstructorDescriptionBackofficeCardProductEventUpdatedBody(String principal, Integer backOfficeId, String backOfficeUserId, String productId, String productTypeId, String id, String pan, String statusId, String statusName, Optional<String> brand, Optional<String> situationId, Optional<String> situationName, String expirationDate, Optional<String> holder, Optional<Integer> cardTypeId, Optional<String> cardTypeName, Optional<String> registerDate, Optional<String> cancelationReason, Optional<String> beneficiaryNumber, Optional<String> trasferredtoCardId, Optional<String> readinessDate) Full state constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
id
Card identifier. -
backOfficeId
Back office ID. -
backOfficeUserId
Back office user ID. -
productId
Product identifier. -
productTypeId
Product type identifier. -
pan
PAN Number. -
statusId
Card status identifier. -
statusName
Card status name. -
brand
Brand name. -
situationId
Card situation identifier. -
situationName
Card situation name. -
expirationDate
Expiration date. -
holder
Card holder. -
cardTypeId
Card type identifier. -
cardTypeName
Card type name. -
registerDate
Card register date. -
cancelationReason
Card cancelation reason. -
beneficiaryNumber
Card beneficiary number. -
trasferredtoCardId
Card new pan generated. -
readinessDate
Prepared date to card swap in stolen cards.
-
-
Constructor Details
-
BackofficeCardProductEventUpdatedBody
public BackofficeCardProductEventUpdatedBody(String principal, Integer backOfficeId, String backOfficeUserId, String productId, String productTypeId, String id, String pan, String statusId, String statusName, Optional<String> brand, Optional<String> situationId, Optional<String> situationName, String expirationDate, Optional<String> holder, Optional<Integer> cardTypeId, Optional<String> cardTypeName, Optional<String> registerDate, Optional<String> cancelationReason, Optional<String> beneficiaryNumber, Optional<String> trasferredtoCardId, Optional<String> readinessDate) Full state constructor.- Parameters:
principal- value of property principal in Notification EventbackOfficeId- identifier of backoffice.backOfficeUserId- back office user id.productId- product unique identifier.productTypeId- product type.id- card identifierpan- PAN numberstatusId- card status identifierstatusName- card status namebrand- brand namesituationId- card situation identifiersituationName- card situation nameexpirationDate- card expiration dateholder- holder namecardTypeId- card type identifiercardTypeName- card type nameregisterDate- registration datecancelationReason- cancelation reasonbeneficiaryNumber- beneficiary numbertrasferredtoCardId- new PAN generatedreadinessDate- prepare date for pan swap to stolen cards.
-