The amount of alimony payable under an agreement on payment of alimony shall be determined by the parties in that agreement.

The amount of alimony established by an agreement on payment of alimony for minor children may not be less than the amount of alimony they would have received if they had been recovered in court.