OpenXE/classes/Modules/ShopimporterAmazon/Service/InvoiceUploadQueueInterface.php
2021-05-21 08:49:41 +02:00

22 lines
584 B
PHP

<?php
declare(strict_types=1);
namespace Xentral\Modules\ShopimporterAmazon\Service;
use DateTimeInterface;
use Xentral\Modules\ShopimporterAmazon\Data\InvoiceUpload;
interface InvoiceUploadQueueInterface
{
/**
* get next Invoice Request to Invoice-information and PDF to Amazon. This has to be sent in 3 seconds interval
*
* @param int $shopId
* @param DateTimeInterface $startDate
*
* @return InvoiceUpload|null
*/
public function getNextInvoiceUploadRequest(int $shopId, DateTimeInterface $startDate): ?InvoiceUpload;
}