Global Payments Interview Question

oops, advance oops, design patterns, sql