If a direct contractor is not paid the amount due pursuant to a written contract within 35 days after the date payment is due under the contract, and there is no dispute as to the satisfactory performance of the contractor, the contractor may give the owner a stop work notice. The notice shall comply with the requirements of Chapter 2 (commencing with Section 8100) of Title 1.