firefly-iii/app/Helpers/Csv/Converter/RabobankDebetCredit.php
2016-02-05 12:08:25 +01:00

27 lines
413 B
PHP

<?php
declare(strict_types = 1);
namespace FireflyIII\Helpers\Csv\Converter;
/**
* Class RabobankDebetCredit
*
* @package FireflyIII\Helpers\Csv\Converter
*/
class RabobankDebetCredit extends BasicConverter implements ConverterInterface
{
/**
* @return int
*/
public function convert()
{
if ($this->value == 'D') {
return -1;
}
return 1;
}
}