Handshake Interview Question

I was asking to design a vending machine