Implemented class to calculate rebates.