A firm sells some products to a foreign country. The foreign…

A firm sells some products to a foreign country. The foreign country pays the firm in dollars but in exchange the firm agrees to spend some of the proceeds from the sale on textiles produced by the foreign country. What type of countertrade arrangement are the two parties engaged in?