OpenXE/classes/Modules/SubscriptionCycle/SubscriptionModuleInterface.php
2023-02-27 10:39:04 +01:00

17 lines
515 B
PHP

<?php
/*
* SPDX-FileCopyrightText: 2022 Andreas Palm
* SPDX-License-Identifier: LicenseRef-EGPL-3.1
*/
namespace Xentral\Modules\SubscriptionCycle;
use DateTimeInterface;
interface SubscriptionModuleInterface
{
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;
}