2021-05-21 08:49:41 +02:00
|
|
|
<?php
|
2023-02-27 10:39:04 +01:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2022 Andreas Palm
|
|
|
|
* SPDX-License-Identifier: LicenseRef-EGPL-3.1
|
|
|
|
*/
|
2021-05-21 08:49:41 +02:00
|
|
|
|
|
|
|
namespace Xentral\Modules\SubscriptionCycle;
|
|
|
|
|
|
|
|
use DateTimeInterface;
|
|
|
|
|
|
|
|
interface SubscriptionModuleInterface
|
|
|
|
{
|
2022-10-18 13:41:34 +02:00
|
|
|
public function CreateInvoice(int $address, DateTimeInterface $calculationDate = null);
|
|
|
|
public function CreateOrder(int $address, DateTimeInterface $calculationDate = null);
|
|
|
|
public function GetPositions(int $address, string $documentType, DateTimeInterface $calculationDate = null): array;
|
2021-05-21 08:49:41 +02:00
|
|
|
}
|