Skip to content
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

Add the Logic to Handle "Others" Purchase Type #59

Merged
merged 11 commits into from
Jul 23, 2024

Conversation

LideLinusZhang
Copy link
Owner

Say we want to purchase something at Canadian Tire, but none of our credit cards has a home improvement purchase reward. In this situation, the app should use "Others" purchase reward to determine the reward amount. This PR adds this logic and a safeguard to ensure there won't be a null reference exception.

@LideLinusZhang LideLinusZhang self-assigned this Jul 23, 2024
@LideLinusZhang LideLinusZhang changed the title Add the Logic to Handle "Others" Purchase Type. Add the Logic to Handle "Others" Purchase Type Jul 23, 2024
@LideLinusZhang LideLinusZhang linked an issue Jul 23, 2024 that may be closed by this pull request
@LideLinusZhang LideLinusZhang merged commit a3c8933 into main Jul 23, 2024
2 checks passed
@LideLinusZhang LideLinusZhang deleted the linus/choosing_optimal_card branch July 23, 2024 03:53
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.

Algorithm for Choosing Optimal Card
3 participants