file Nested Alt Fragments?

2 months 1 week ago #5884 by russdwright
I am working on a UML Sequence Diagram for performing a microtransaction in a mobile game. One of the things I am trying to account for is when there are credits available but not enough to cover full payment.

Do I create this as a "nested Alt" or do I need to handle it in a different manner?

Please Log in or Create an account to join the conversation.

2 months 1 week ago #5885 by russdwright
OK, a little clarification after doing some additional thinking:
  • Player chooses purchase option
  • Player chooses purchase method
  • Payment system checks for gift credits: if they exist, they process those first. If not or there is a partial amount, it sends payment info to the bank. If gift credit is enough to pay for selected item, payment is processed and item is issued to Player.
  • Bank attempts to process payment. If successful, payment is processed and credits are issued. If not, Player receives an error

Please Log in or Create an account to join the conversation.

2 months 1 week ago #5889 by ebr
Nested Alt fragments seem to d othe job here, No?

EBR

Please Log in or Create an account to join the conversation.

Moderators: tmaebr
Time to create page: 0.035 seconds
^ Back to Top