(a) A warehouse, by giving notice to the person on whose account the goods are held and any other person known to claim an interest in the goods, may require payment of any charges and removal of the goods from the warehouse at the termination of the period of storage fixed by the document of title or, if a period is not fixed, within a stated period not less than thirty days after the warehouse gives notice. If the goods are not removed before the date specified in the notice, the warehouse may sell them pursuant to §