PayPal Interview Question

asked me to add some methods