2022-06-20 14:47:33 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2022-07-13 10:50:45 +02:00
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*
|
|
|
|
* https://www.d3data.de
|
2022-06-20 14:47:33 +02:00
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
2022-07-13 10:50:45 +02:00
|
|
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
|
|
|
* @link https://www.oxidmodule.com
|
2022-06-20 14:47:33 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace D3\LinkmobilityClient\RecipientsList;
|
|
|
|
|
2022-07-01 09:24:16 +02:00
|
|
|
use D3\LinkmobilityClient\Client;
|
2022-06-20 14:47:33 +02:00
|
|
|
use D3\LinkmobilityClient\ValueObject\Recipient;
|
|
|
|
|
|
|
|
interface RecipientsListInterface
|
|
|
|
{
|
2023-01-07 22:50:17 +01:00
|
|
|
/**
|
2023-01-17 15:36:50 +01:00
|
|
|
* @deprecated unused client parameter will remove
|
2023-01-07 22:50:17 +01:00
|
|
|
* @param Client $client
|
|
|
|
*/
|
2022-07-01 09:24:16 +02:00
|
|
|
public function __construct(Client $client);
|
|
|
|
|
2022-07-13 10:41:23 +02:00
|
|
|
public function add(Recipient $recipient): RecipientsListInterface;
|
2022-06-20 14:47:33 +02:00
|
|
|
|
2022-07-13 10:41:23 +02:00
|
|
|
public function clearRecipents(): RecipientsListInterface;
|
2022-06-20 14:47:33 +02:00
|
|
|
|
2022-07-13 10:41:23 +02:00
|
|
|
public function getRecipients(): array;
|
2023-01-11 00:05:20 +01:00
|
|
|
|
|
|
|
public function getRecipientsList(): array;
|
2022-07-13 10:41:23 +02:00
|
|
|
}
|