Agreement reached to resolve class action