The assignee of any nonnegotiable chose in action, assigned in writing, may maintain thereon in the assignee’s own name any action which, but for the assignment, might be maintained by the assignor; subject, however, to all equities and setoffs existing in favor of the party liable against the assignor and which existed at the time of the assignment or at any time thereafter until notice thereof was given to the party liable, except as otherwise provided.