Mastercard Interview Question

OOP problem. Had to basically code an entire class that could do various things.