The final deal, agreed in Azerbaijan, will see developed countries pay $300 billion a year by 2035 to help poorer countries mitigate the impact of climate change.