A contract may provide for the construction and maintenance of water works or other facilities and for the payment by or for the parties to the contract of such proportionate part of the cost of the acquisition, construction, or maintenance of such water works or other facilities as may be stated in the contract. Payments shall be made at such time and in such amounts as provided by the contract.