Package com.bank.payment.publishers
Class PaymentGenerateCodePublisher
java.lang.Object
com.bank.payment.publishers.PaymentGenerateCodePublisher
Publisher for sending email to generate a new confirmation code for payments.
- Since:
- 1.0.0
- Version:
- 1.0.0, 06/26/2025
- Author:
- Fernando Cruz Cavina
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Publishes an event to request a new confirmation code for the given email.
-
Constructor Details
-
PaymentGenerateCodePublisher
public PaymentGenerateCodePublisher()
-
-
Method Details
-
publishEventNewCodeConfirmation
Publishes an event to request a new confirmation code for the given email.- Parameters:
email
- the email address to send the confirmation code to
-