mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
More code for import.
This commit is contained in:
37
app/Import/Specifics/AbnAmroDescription.php
Normal file
37
app/Import/Specifics/AbnAmroDescription.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* AbnAmroDescription.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Import\Specifics;
|
||||
|
||||
/**
|
||||
* Class AbnAmroDescription
|
||||
*
|
||||
* @package FireflyIII\Import\Specifics
|
||||
*/
|
||||
class AbnAmroDescription implements SpecificInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getName(): string
|
||||
{
|
||||
return 'ABN Amro description';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getDescription(): string
|
||||
{
|
||||
return 'Fixes possible problems with ABN Amro descriptions.';
|
||||
}
|
||||
}
|
36
app/Import/Specifics/RabobankDescription.php
Normal file
36
app/Import/Specifics/RabobankDescription.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* RabobankDescription.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Import\Specifics;
|
||||
|
||||
/**
|
||||
* Class RabobankDescription
|
||||
*
|
||||
* @package FireflyIII\Import\Specifics
|
||||
*/
|
||||
class RabobankDescription implements SpecificInterface
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getName(): string
|
||||
{
|
||||
return 'Rabobank description';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getDescription(): string
|
||||
{
|
||||
return 'Fixes possible problems with Rabobank descriptions.';
|
||||
}
|
||||
}
|
31
app/Import/Specifics/SpecificInterface.php
Normal file
31
app/Import/Specifics/SpecificInterface.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* SpecificInterface.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Import\Specifics;
|
||||
|
||||
/**
|
||||
* Interface SpecificInterface
|
||||
*
|
||||
* @package FireflyIII\Import\Specifics
|
||||
*/
|
||||
interface SpecificInterface
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getName(): string;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
static public function getDescription(): string;
|
||||
|
||||
}
|
Reference in New Issue
Block a user