Skip to content

Commit

Permalink
corrected segment_id
Browse files Browse the repository at this point in the history
  • Loading branch information
SamJaarsma committed Dec 21, 2023
1 parent 7567064 commit 5333837
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions proto/cmp/services/transport/v1alpha1/search_result_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,41 +24,40 @@ message TransportSearchResult {
// Option to carry through an offer identifier for other stateful provider systems
// like NDC AirShopping RS
string offer_id = 2;
string segment_id = 3;

// Travellers
repeated cmp.types.v1alpha1.Traveller travellers = 4;
repeated cmp.types.v1alpha1.Traveller travellers = 3;

// Travelling trip. See `search.proto` documentation
Trip travelling_trip = 5;
Trip travelling_trip = 4;

// Returning trip. See `search.proto` documentation
Trip returning_trip = 6;
Trip returning_trip = 5;

// Total Price
cmp.types.v1alpha1.PriceDetail total_price = 7;
cmp.types.v1alpha1.PriceDetail total_price = 6;

// Services
repeated cmp.types.v1alpha1.ServiceFact included_services = 8;
repeated cmp.types.v1alpha1.ServiceFact compulsory_extras = 9;
repeated cmp.types.v1alpha1.ServiceFact optional_extras = 10;
repeated cmp.types.v1alpha1.ServiceFact included_services = 7;
repeated cmp.types.v1alpha1.ServiceFact compulsory_extras = 8;
repeated cmp.types.v1alpha1.ServiceFact optional_extras = 9;

// Rate Rules
repeated cmp.types.v1alpha1.RateRule rate_rules = 11;
repeated cmp.types.v1alpha1.RateRule rate_rules = 10;

// Fulfillment
repeated cmp.types.v1alpha1.Fulfillment fulfillments = 12; //FIXME: Can linktype be an ENUM?
repeated cmp.types.v1alpha1.Fulfillment fulfillments = 11; //FIXME: Can linktype be an ENUM?

// Validity of the search option.
//
// `DateTimeRange` type with `start_date` and `end_date` in which the option can
// be booked. If the start_date is omitted, the offer can be booked until the
// end-date.
cmp.types.v1alpha1.DateTimeRange validity = 13;
cmp.types.v1alpha1.DateTimeRange validity = 12;

// Cancel Policy
cmp.types.v1alpha1.CancelPolicy cancel_policy = 14;
cmp.types.v1alpha1.CancelPolicy cancel_policy = 13;

// Observations
string observations = 15;
string observations = 14;
}

0 comments on commit 5333837

Please sign in to comment.