mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-16 04:57:15 +01:00
22 lines
584 B
PHP
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;
|
|
}
|