OpenXE/classes/Modules/SubscriptionCycle/SubscriptionModuleInterface.php

17 lines
515 B
PHP
Raw Permalink Normal View History

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
{
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
}