1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
invoiceninja/app/Services/Bank/BankService.php

28 lines
588 B
PHP
Raw Normal View History

2022-08-08 11:07:35 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
2024-04-12 06:15:41 +02:00
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
2022-08-08 11:07:35 +02:00
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Services\Bank;
2022-08-12 07:25:18 +02:00
use App\Models\BankTransaction;
2022-09-07 13:27:53 +02:00
use App\Models\Invoice;
2022-08-08 11:07:35 +02:00
2022-11-11 05:28:49 +01:00
class BankService
2022-08-08 11:07:35 +02:00
{
2023-02-16 02:36:09 +01:00
public function __construct(public BankTransaction $bank_transaction)
{
}
2022-08-12 05:41:55 +02:00
2022-11-20 03:55:19 +01:00
public function processRules()
2022-08-08 11:07:35 +02:00
{
2022-11-20 03:55:19 +01:00
(new ProcessBankRules($this->bank_transaction))->run();
2022-08-12 06:23:23 +02:00
}
2023-02-16 02:36:09 +01:00
}