2015-07-05 12:57:44 -05:00
|
|
|
<?php
|
|
|
|
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;
|
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
|
|
|
|
*/
|
|
|
|
public function setData($data);
|
|
|
|
|
2016-01-20 14:23:39 -06:00
|
|
|
/**
|
|
|
|
* @param int $processorType
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function setProcessorType($processorType);
|
|
|
|
|
2015-07-05 12:57:44 -05:00
|
|
|
/**
|
|
|
|
* @param array $row
|
|
|
|
*/
|
|
|
|
public function setRow($row);
|
2015-07-09 14:26:40 -05:00
|
|
|
}
|