The Diet has enacted a law that sets the procedure for class-action lawsuits aimed at helping consumers who have suffered financial damage from unscrupulous sales methods receive compensation from companies.