For my deposit use case in the communication diagram below: I make 3 successive calls to the Account
class which contains isPreferred()
, isCardHolder()
, and updateBalance()
. I don't know if the looping symbol I used above Account
is a way to display multiple calls to the same class, so any help is appreciated.
My operation sequence:
The possible sequence scenario I'm aiming for: 1, 2, 3, 3, 3, 4, 5 (printReceipt).