302. Damages fixed by contract.

Where the contract itself fixes the damages, the ordinary rules are excluded and the courts will give effect to the agreement between