162.22 Designation of enforcement methods and penalties for violation of municipal ordinances.—The governing body of a municipality may designate the enforcement methods and penalties to be imposed for the violation of ordinances adopted by the municipality. These enforcement methods may include, but are not limited to, the issuance of a citation, a summons, or a notice to appear in county court or arrest for violation of municipal ordinances as provided for in chapter 901. Unless otherwise specifically authorized and provided for by law, a person convicted of violating a municipal ordinance may be sentenced to pay a fine, not to exceed $500, and may be sentenced to a definite term of imprisonment, not to exceed 60 days, in a municipal detention facility or other facility as authorized by law.