• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What object(s) should the search for flights return

 
Andrew Zilahi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would like to hear other people's opinion about how to handle search results in prepare Itinerary use case. Options include returning collection of either Itinerary or Segments. Another option is to build custom search request/response objects.

Any thoughts?

Regards,
Andrew
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrew,

I think that is your job define the best design for this. Try to create an design that you promote to 'ideal' and share your toughts.

Best regards,
 
Newman Huang
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi andrew,
before you can make a decision, you need to make clear the business meaning for thoese domain objects - itinerary, segment... try to answer and confirm it, and then you can work forward.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic