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

Closed
opened 11 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.
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.