Class DonationConfirmationController
java.lang.Object
ui.controller.donation.DonationConfirmationController
- All Implemented Interfaces:
NavigationAware, DonationSessionAware
public class DonationConfirmationController
extends Object
implements NavigationAware, DonationSessionAware
Controller for the donation confirmation page.
Displays the organization name and donation amount after a successful donation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDonationSession(DonationSession session) Sets the donation session and updates the confirmation labels.voidsetOnNavigate(Consumer<Page> onNavigate) Sets the navigation callback.
-
Constructor Details
-
DonationConfirmationController
public DonationConfirmationController()
-
-
Method Details
-
setDonationSession
Sets the donation session and updates the confirmation labels.- Specified by:
setDonationSessionin interfaceDonationSessionAware- Parameters:
session- the completed donation session