Class CustomerUpdatedEvent
java.lang.Object
com.brodygaudel.bank.common.event.BaseEvent<String>
com.brodygaudel.bank.common.event.customer.CustomerUpdatedEvent
Event representing the update of customer information in the system.
This event is triggered when existing customer details are successfully updated. It includes details such as the customer's unique identifier, updated personal information, and the timestamp of the last update.
- See Also:
-
Constructor Summary
ConstructorDescriptionCustomerUpdatedEvent
(String id, String nic, String firstname, String name, String placeOfBirth, LocalDate dateOfBirth, String nationality, Sex sex, LocalDateTime lastUpdate) Constructs a new CustomerUpdatedEvent with the specified updated details. -
Method Summary
-
Constructor Details
-
CustomerUpdatedEvent
public CustomerUpdatedEvent(String id, String nic, String firstname, String name, String placeOfBirth, LocalDate dateOfBirth, String nationality, Sex sex, LocalDateTime lastUpdate) Constructs a new CustomerUpdatedEvent with the specified updated details.- Parameters:
id
- The unique identifier associated with the event.nic
- The National Identity Card (NIC) of the customer after the update.firstname
- The updated first name of the customer.name
- The updated last name of the customer.placeOfBirth
- The updated place of birth of the customer.dateOfBirth
- The updated date of birth of the customer.nationality
- The updated nationality of the customer.sex
- The updated gender/sex of the customer.lastUpdate
- The timestamp representing the last update of the customer information.
-