UnionInternationalCheminsdeFer / OSDM

Projects related to an open sales & distribution API for public transportation.
https://osdm.io
Apache License 2.0
53 stars 21 forks source link

Indicator for overriden aftersales conditions #362

Closed stinacarlstedt closed 4 months ago

stinacarlstedt commented 10 months ago

During a disruption (or for other reasons) the aftersales conditions in the original booking can be overriden, so that a NO_FLEX-ticket becomes MID or FULL_FLEX to allow the passenger to reach their final destination. Currently, there is no way to signal to a client that such an override has been activated. We propose an update to the AbstractBookingPart to allow the operator to pass information to the distributor or the end-client around this override.

CGantert345 commented 10 months ago
stinacarlstedt commented 10 months ago

Proposed modelling:

image
stinacarlstedt commented 10 months ago

Updates to RefundType and ExchangeableType, to include flag and initial condition. Breaking change from v 3.

stinacarlstedt commented 10 months ago

Intermediate solution:

image
stinacarlstedt commented 10 months ago

We should also review whether the term should be AfterSale or AfterSales - we use both currently. Later...

ConscritNeuneu commented 10 months ago

I think the correct term is aftersales but I'm not native.

stinacarlstedt commented 10 months ago

Update proposed to the webhook enum:

image
jspetrak commented 5 months ago

@CGantert345 to draft PR