West German banks have agreed to grant the Soviet Union a $2.08 billion line of credit to help modernize its consumer-goods industry, a banking spokesman says.

Harald Schmitz, spokesman for Deutsche Bank, said Deutsche Bank is the lead financial institution in a consortium that will provide the line of credit.

"The credit will be for financing the modernization of the Soviet Union's consumer-goods and food-processing industries," Schmitz said.