mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-09 07:33:06 -06:00
27 lines
413 B
PHP
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;
|
|
}
|
|
}
|