Alterações em Bilhetes Aéreos
Tabela de decisão para determinar se a passagem aérea de um cliente é elegível para alteração ou cancelamento com taxa de alteração, com base na data da compra, no tempo restante até o voo e se a passagem foi comprada durante um evento especial ou promoção.
David Škarka
Template author
This Decision Table determines whether a client’s plane ticket is eligible for modification or cancellation and calculates the specific amendment fee. It evaluates the request based on the time of purchase, the time remaining until the flight, the ticket class, and whether the ticket was associated with a special event or promotion.
Solution Components
The logic is encapsulated in a single Decision Table named "Flight Tickets Amendments", which processes the following inputs: TicketClass, IsPromo, IsSpecialEvent, DaysSincePurchase, and DaysUntilFlight.
The rule logic is segmented by ticket type as follows:
1. Promotional and Special Event Tickets
Promotional Tickets: If a ticket is part of a promotion (and not a special event), the customer may cancel within 1 day of purchase for a 50 EUR fee; otherwise, no changes are allowed.
Special Event Tickets: These tickets can be cancelled within 1 day of purchase for a 100 EUR fee; if more than 1 day has passed, neither cancellation nor modification is permitted.
2. Economy Class (Standard) For non-promotional, non-special event Economy tickets, the rules depend strictly on the Days Until Flight:
More than 30 days: Cancellation and modification are both allowed for a 25 EUR fee.
Between 7 and 30 days: Cancellation and modification are both allowed for a 50 EUR fee.
Between 3 and 6 days: The customer cannot cancel, but may modify the ticket for a 100 EUR fee.
Less than 3 days: No cancellation or modification is allowed.
3. Business Class For non-promotional, non-special event Business tickets:
3 or more days until flight: Cancellation and modification are both allowed for a 10 EUR fee.
Less than 3 days until flight: The customer cannot cancel, but may modify the ticket for a 30 EUR fee.
4. Flex Class
Any timeframe: Flex tickets (non-promotional/non-special event) allow both cancellation and modification at any time for a 10 EUR fee.
Use this Decision Table to automate customer service requests regarding ticket changes. The output provides boolean flags for canCancel and canModify, alongside the specific string value for the amendmentFee.
More Templates
See Other Templates
Teste A/B
Descubra uma maneira simples de atribuir um grupo de teste para realizar testes A/B em suas decisões.
Precificação baseada em risco
Descubra uma maneira simples de aplicar uma matriz de precificação baseada em risco adequada ao tipo de cliente.
Critérios de Elegibilidade e Regras da Política
Descubra uma maneira simples de definir e executar vários conjuntos de regras e obter o resultado da decisão final.