 Merchant law declined as a cosmopolitan and international system of merchant justice towards the end of medieval times.This was to a large extent due to the adoption of national commercial law codes.It was also connected with an increasing modification of local customs to protect the interests of local merchants.