payment_index added class to wrap and test requirements.