1 | <?php |
||
8 | final class DirectPlusResponse extends AbstractResponse |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $subscriberRef; |
||
14 | |||
15 | /** |
||
16 | * @var string|false False if empty. |
||
17 | */ |
||
18 | private $bearer; |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function __construct(array $parameters) |
||
24 | { |
||
25 | parent::__construct($parameters); |
||
26 | |||
27 | $this->subscriberRef = $this->filteredParameters['REFABONNE']; |
||
28 | $this->bearer = $this->filteredParameters['PORTEUR']; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getSubscriberRef() |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getBearer() |
||
46 | } |
||
47 |