Change record status: 
Project: 
Introduced in branch: 
8.x-2.x
Introduced in version: 
8.x-2.0-rc2
Description: 

The TaxRateAmount value object has been renamed to TaxRatePercentage.
The getAmount() method on the object has been renamed to getNumber().

The matching TaxRate methods have also been updated:
getAmounts() -> getPercentages()
getAmount() -> getPercentage()

This affects local tax type plugins.

Before:

      'rates' => [
        [
          'id' => 'standard',
          'label' => $labels['standard'],
          'amounts' => [
            ['amount' => '0.2', 'start_date' => '1995-01-01'],
          ],
          'default' => TRUE,
        ],
      ],

After:

      'rates' => [
        [
          'id' => 'standard',
          'label' => $labels['standard'],
          'percentages' => [
            ['number' => '0.2', 'start_date' => '1995-01-01'],
          ],
          'default' => TRUE,
        ],
      ],
Impacts: 
Module developers