B. Bank
Bank is the third party in communication between the
customer and the shopping system. Bank will have
communication with both customer as well as the admin of
the shopping system. All the operations that include banking should be atomic and maintain consistency in payment
details. Bank should be maintain atomicity in crediting
amount from the customer’s account and debiting that
particular amount into the account of the shopping system
that customer has bought.