-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathInvoiceSequenceInterface.php
More file actions
37 lines (25 loc) · 925 Bytes
/
InvoiceSequenceInterface.php
File metadata and controls
37 lines (25 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\InvoicingPlugin\Entity;
use Sylius\Component\Resource\Model\ResourceInterface;
use Sylius\Component\Resource\Model\VersionedInterface;
use Sylius\InvoicingPlugin\Enum\InvoiceSequenceScopeEnum;
interface InvoiceSequenceInterface extends ResourceInterface, VersionedInterface
{
public function getIndex(): int;
public function incrementIndex(): void;
public function getType(): ?InvoiceSequenceScopeEnum;
public function setType(?InvoiceSequenceScopeEnum $type): void;
public function getYear(): ?int;
public function getMonth(): ?int;
public function setYear(?int $year): void;
public function setMonth(?int $month): void;
}