added transaction number interface

This commit is contained in:
Cihan Şentürk
2023-05-15 19:10:45 +03:00
parent c8a5127f65
commit 7a3aa98c56
5 changed files with 65 additions and 28 deletions

View File

@ -0,0 +1,12 @@
<?php
namespace App\Interfaces\Utility;
use App\Models\Common\Contact;
interface TransactionNumber
{
public function getNextNumber(string $type, string $suffix, ?Contact $contact): string;
public function increaseNextNumber(string $type, string $suffix, ?Contact $contact): void;
}