2022-02-01 07:14:27 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2022-02-01 07:14:27 +01:00
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2022-02-01 07:14:27 +01:00
|
|
|
namespace App\Import\Providers;
|
|
|
|
|
|
|
|
interface ImportInterface
|
|
|
|
{
|
|
|
|
public function import(string $entity);
|
|
|
|
|
|
|
|
public function transform(array $data);
|
2022-02-09 22:53:48 +01:00
|
|
|
|
|
|
|
public function client();
|
|
|
|
|
|
|
|
public function product();
|
|
|
|
|
|
|
|
public function invoice();
|
|
|
|
|
|
|
|
public function payment();
|
|
|
|
|
|
|
|
public function vendor();
|
|
|
|
|
|
|
|
public function expense();
|
2022-06-21 11:57:17 +02:00
|
|
|
}
|