PayPal interview question

asked me to add some methods