1 | <?php |
||
12 | class PaymentSettings implements \JsonSerializable |
||
13 | { |
||
14 | use ValidatorTrait; |
||
15 | |||
16 | /** |
||
17 | * @var string|null |
||
18 | */ |
||
19 | protected $privacyUrl; |
||
20 | |||
21 | /** |
||
22 | * @var string|null |
||
23 | */ |
||
24 | protected $publicKey; |
||
25 | |||
26 | /** |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $testUsers = []; |
||
30 | |||
31 | /** |
||
32 | * @return \Kerox\Messenger\Model\ProfileSettings\PaymentSettings |
||
33 | */ |
||
34 | 1 | public static function create(): self |
|
38 | |||
39 | /** |
||
40 | * @throws \Kerox\Messenger\Exception\MessengerException |
||
41 | * |
||
42 | * @return \Kerox\Messenger\Model\ProfileSettings\PaymentSettings |
||
43 | */ |
||
44 | 1 | public function setPrivacyUrl(string $privacyUrl): self |
|
51 | |||
52 | /** |
||
53 | * @return \Kerox\Messenger\Model\ProfileSettings\PaymentSettings |
||
54 | */ |
||
55 | 1 | public function setPublicKey(string $publicKey): self |
|
61 | |||
62 | /** |
||
63 | * @return \Kerox\Messenger\Model\ProfileSettings\PaymentSettings |
||
64 | */ |
||
65 | 1 | public function addTestUser(int $testUser): self |
|
71 | |||
72 | 1 | public function toArray(): array |
|
82 | |||
83 | 1 | public function jsonSerialize(): array |
|
87 | } |
||
88 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.