linkmobility-php-client/src/RecipientsList/RecipientsListInterface.php

37 lines
928 B
PHP
Raw Normal View History

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;
use D3\LinkmobilityClient\Client;
2022-06-20 14:47:33 +02:00
use D3\LinkmobilityClient\ValueObject\Recipient;
interface RecipientsListInterface
{
/**
* @deprecated unused client parameter will remove
* @param Client $client
*/
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;
public function getRecipientsList(): array;
2022-07-13 10:41:23 +02:00
}