comercio electrónico y venta minorista

Taxas do vendedor

Esta tabela de decisão calcula as taxas do vendedor com base no preço do carro e em taxas especiais.

DecisionRules

David Škarka

Autor do modelo

This Decision Table calculates Seller Fees based on the car price and special fees.

Solution components
  • A 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.

Check icon A checkmark inside a circle signifying "yes" Minus icon A minus inside a circle signifying "no" PROS Icon A plus symbol representing positive aspects or benefits. CONS Icon A minus symbol representing negative aspects or drawbacks.

Mais modelos

Ver outros modelos