Skip to content

Refactor RebateService for Tech Interview - #1

Open
miguelfj wants to merge 4 commits into
mainfrom
refactor/rebate-service
Open

Refactor RebateService for Tech Interview#1
miguelfj wants to merge 4 commits into
mainfrom
refactor/rebate-service

Conversation

@miguelfj

Copy link
Copy Markdown
Owner

Implemented the Strategy pattern to make it easier for developers to add new incentive types. New incentive strategies can be registered in the dependency injection container without modifying the RebateService class.

Refactored the RebateService class.
Implemented the storage logic required for this exercise.
Added unit tests for the incentive calculators and RebateService.
Implemented command-line execution for the Rebate Runner.
Note

The storage implementation uses in-memory data stores to keep the project focused on the exercise requirements.

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.

1 participant