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