firefly-iii/app/Helpers/Csv/Converter/RabobankDebetCredit.php
2015-07-06 22:23:34 +02:00

26 lines
388 B
PHP

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