Seller Fees
This Decision Table calculates Seller Fees based on the car price and special fees.
David Škarka
Template author
This Decision Table calculates Seller Fees based on the car price and special fees.
Solution componentsA Decision Table named 'Seller Fees' calculates the total fee, special fees, and assigns a fee segment based on the given car price.
- The logic evaluates the carPrice.price against "Minimum Car Price" and "Maximum Car Price" columns to determine which rule row applies.
For each validated price range, the table executes specific calculation functions:
Fee to Pay: Calculates the total fee using a formula (typically a percentage of the car price plus a fixed constant, rounded to 2 decimal places).
Special Fees: Calculates the special fee result using a percentage of the input specialFees plus a fixed constant.
Fee Segment: Assigns a specific segment ID (e.g., "1", "2", "16") corresponding to the identified price bracket.
Use this Decision Table to automatically compute seller transaction costs dynamically as car prices vary.
More Templates
See Other Templates
A/B Testing
Discover a simple way to assign a test group for performing A/B Testing on your decisions.
Risk Based Pricing
Discover a simple way to apply a suitable Risk Based Pricing matrix based on a type of client.
Eligibility and Policy Rules
Discover a simple way to define and execute various sets of rules and get the final decision outcome.