-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Logic to Handle "Others" Purchase Type (#59)
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.
- Loading branch information
1 parent
b49a84e
commit a3c8933
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters