Oregon Attorney General Dan Rayfield heralded the settlement, saying “our children are not a business model.”