EARS: When a seller settles a change or cancellation offer, the system shall record on the order what the customer paid, what the airline returned, the penalty and the forfeited amount.
Story: As a revenue accountant, I want every settled change recorded on the order, so that I can reconcile the order's items against its payments and refunds.
Acceptance criteria:
-
ONE-205.1: When a seller settles a change or cancellation offer, the system shall add the amount due to the airline to the order's payments and the amount due by the airline to its refunds.
-
ONE-205.2: When a seller settles a change or cancellation offer, the system shall add its penalty and forfeited amount to the totals recorded on the order and lower no total recorded before.
-
ONE-205.3: When a seller settles a paid change of an order item, the system shall keep the order's payments less refunds equal to the price of its live items plus the recorded penalties and forfeited amounts.
The penalties and forfeited amounts are kept at order level, as the guide records them from release 24.1, so they stay when the item they came from is replaced. The model keeps totals; the guide's individual records with their links to order items are not modelled.