NEW YORK -- The Los Angeles Angels will pay $2 million directly to Josh Hamilton's charitable foundation under his $125 million contract.

Under the five-year deal completed Saturday, the All-Star outfielder receives a $10 million signing bonus and salaries of $15 million in each of the next two seasons, $23 million in 2015 and $30 million apiece in 2016 and 2017.

On each June 1 of the contract, the Angels will donate $400,000 to The Four Twelve Foundation, Hamilton's charity.

After initially saying the $2 million would not count in its regular payroll calculations, MLB concluded Tuesday the money will be included as noncash compensation in its opening-day payrolls. The money also is included in the Angels' luxury tax payroll.

As part of the deal, the team is giving Hamilton a suite between first and third base to be used by his family for home games during the next two seasons. For the final three years of the deal, Hamilton can purchase a suite between first and third base at a cost of $150,000 annually.

Hamilton also gets a hotel suite on road trips.

He would receive a $50,000 if he's an All-Star, $75,000 if he wins a Gold Glove, $75,000 if he wins a Silver Slugger, $75,000 if he's the league championship series MVP and $100,000 if he's the World Series MVP.

Hamilton gets $500,000 if he's voted AL MVP and $75,000 if he finishes second or third.