Skip to content

Feat: adds audit logging and multi-currency support to BankAtm #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

kksaunders251
Copy link
Contributor

Still working on this! It's super red!!

…osits

- Modified BankAtm, AuditLog, and CurrencyConverter to support new features
- Added MoneyOrder class for handling money order transactions
- Implemented SimpleCurrencyConverter for basic currency conversion logic
- Introduced CurrencyConverterException to handle conversion errors
- Updated BankAtmTest with new test cases for added functionality
Copy link
Contributor

@anthonydmays anthonydmays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting needs to be fixed.

@@ -11,6 +11,12 @@ public class BankAtm {

private final Map<UUID, Customer> customerById = new HashMap<>();
private final Map<String, CheckingAccount> accountByNumber = new HashMap<>();
private final AuditLog auditLog;

public BankAtm(AuditLog auditLog) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A constructor doesn't exist without a class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants