2015-07-05 12:57:44 -05:00
|
|
|
<?php
|
2016-02-05 05:08:25 -06:00
|
|
|
declare(strict_types = 1);
|
2015-07-05 12:57:44 -05:00
|
|
|
namespace FireflyIII\Helpers\Csv\Specifix;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface SpecifixInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Csv\Specifix
|
|
|
|
*/
|
|
|
|
interface SpecifixInterface
|
|
|
|
{
|
2016-01-20 14:23:39 -06:00
|
|
|
const PRE_PROCESSOR = 1;
|
|
|
|
const POST_PROCESSOR = 2;
|
2016-02-04 00:28:39 -06:00
|
|
|
|
2015-07-05 12:57:44 -05:00
|
|
|
/**
|
|
|
|
* Implement bank and locale related fixes.
|
|
|
|
*/
|
|
|
|
public function fix();
|
|
|
|
|
2016-01-20 14:23:39 -06:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getProcessorType();
|
|
|
|
|
2015-07-05 12:57:44 -05:00
|
|
|
/**
|
|
|
|
* @param array $data
|
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setData(array $data);
|
2015-07-05 12:57:44 -05:00
|
|
|
|
2016-01-20 14:23:39 -06:00
|
|
|
/**
|
|
|
|
* @param int $processorType
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setProcessorType(int $processorType);
|
2016-01-20 14:23:39 -06:00
|
|
|
|
2015-07-05 12:57:44 -05:00
|
|
|
/**
|
|
|
|
* @param array $row
|
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setRow(array $row);
|
2015-07-09 14:26:40 -05:00
|
|
|
}
|