Problem
Logic 3 Acceptable Payments & Product Inventory (Payment and Cancel states)
• Credit card,
• Bank card
• NFC phone
• Vending machine phone application
1) $ NO CASH $
2) Following a successful payment, inventory must be adjusted in real-time (hint: local and remote data)
3) Inventory minimum stock levels must be enforced (if the quantity in-stock reaches the minimum stock level set for that product's row & column location, more products should be ordered
4) Dispense the items only after payment is successful.
5) Create two separately sub-processes: Payment and Cancel (states) that cover the software logic involving payment, inventory adjustments, dispensing the items, and cancelling the session. I need a draw flow chart as a picture please and thanks.