Any provision, stipulation, or condition in a contract for carriage or other agreement made or entered into by or between a railroad and the owner or shipper of any freight, which provides that written or verbal notice of loss or injury, or of a claim, shall be made or given to the railroad or to any agent or officer thereof, or to any other person within any period less than four months from the date of the occurrence of any such loss or injury, is void.
SDCL 49-16A-36