Update applyRules to return the minimum commission instead of the first one #16

Closed
opened 4 months ago by inga-lovinde · 0 comments
Owner

According to documentation:

The lowest commission shall be used if there are multiple rules matching.

Yet applyRules returns the first non-zero commission.

According to documentation: > The **lowest** commission shall be used if there are **multiple** rules matching. Yet `applyRules` returns the first non-zero commission.
inga-lovinde closed this issue 4 months ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: inga-lovinde/test-assignment-payments#16
Loading…
There is no content yet.