1 | <?php |
||
6 | class Payment extends AbstractButtons |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $title; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $payload; |
||
18 | |||
19 | /** |
||
20 | * @var \Kerox\Messenger\Model\Common\Buttons\Payment\PaymentSummary |
||
21 | */ |
||
22 | protected $paymentSummary; |
||
23 | |||
24 | /** |
||
25 | * Payment constructor. |
||
26 | * |
||
27 | * @param string $payload |
||
28 | * @param \Kerox\Messenger\Model\Common\Buttons\Payment\PaymentSummary $paymentSummary |
||
29 | */ |
||
30 | public function __construct(string $payload, PaymentSummary $paymentSummary) |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public function jsonSerialize(): array |
||
55 | } |
||
56 |