This UML activity diagram illustrates the restaurant billing and payment process, beginning when the waiter requests a bill. The POS system generates the bill, and the waiter presents it to the customer. A decision is made to determine if the payment method is cash, card, or e-wallet.
For cash, payment is received, entered into POS, and change given if required. For card payments, the card is swiped/inserted, a bank request is sent, and approval or failure is handled. E-wallet transactions are processed and confirmed. The flow converges to update POS, generate a receipt, and thank the customer, visually showing sequential steps, decisions, and parallel outcomes.