protected static function needsAmountConversion(array $parameters)
{
$hasCurrency = isset($parameters['currency']);
$currencies = ['BIF', 'DJF', 'JPY', 'KRW', 'PYG', 'VND', 'XAF', 'XPF', 'CLP', 'GNF', 'KMF', 'MGA', 'RWF', 'VUV', 'XOF'];
return !$hasCurrency || $hasCurrency && !in_array($parameters['currency'], $currencies);
}