You are on page 1of 2

Assignment no #2

Cs (504)

Student Name: UMAR FAROOQ KHAN

Student Id: (BC210211287)

Question No. 1: (15 Marks)

You are required to Draw a Sequence Diagram for the “online payment” According to the
following message sequence.

Note: You are also required to identify and draw message types for sequence diagram.

 User will select the payment method.


 User will get the payment form.
 User will provides Bank details (account number and CVC Code)
 Bank will verify the user details (detail validate or in case of unsuccessful an error
code generate).
 Bankwill send OTP to user.
 User will enter OTP.
 Bank will deduct amount from current balance.
 Bank will update Current balance.
 Payment successful and order status.

SOLUTION:-

You might also like