Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Negative Payment in FBN during Change Itinerary use case

 
Ara Tatous
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a scenario:
1- User is logged-in.
2- User selects Change-Itineary.
3- User selects an itinerary.
4- User deletes a segment.
5- User goes to "Prepare Itinerary", but doesn't add any segment.
6- User gets redirected to Price Itinerary and eventualy Pay Itinerary use case.
Now user is owed one segment flight money. So do we have to check this condition and actually credit user's credit card instead of usual charging of the credit card?
[ December 19, 2006: Message edited by: Ara Tatous ]
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your sequence diagram has enough space to cover this condition then you should depict it.

But here is how I look at this thing:

The overall marks for Seq Diag is 12 so your main focus should be on Class and Component diagram. Good score in these would help you.

While this condition needs to be addressed when the actual design/construction starts but has very little bearing (or rather none) on the overall system architecture.
 
Ara Tatous
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply. Actually, I've already taken that into my diagram.
User can change savedPaid/savedNotPaid itineray up until one hour before the flight without loosing any money. After that there's no refund for any cancelation.

My sequence diagram have grown out of proportion. I put more time on my SDs than the class or componenet diagrams.
 
saurabh suman
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My suggestion ,please do go into the implementation detail to this extent. This will make your diagram complex and difficult to understand.

If you want to show this anyway, it is better to use the state pattern and attach that to transaction. In this way while deleting the segment you will take care of deduction also (strictly speaking any logic involved for deduction as depending upon policy of company full amount,partial amount or some percentage will be deducted)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic