1 | <?php |
||
10 | final class PaymentRequired extends AbstractApiProblem |
||
11 | { |
||
12 | /** |
||
13 | * @var string[] |
||
14 | */ |
||
15 | private $paymentTypes = []; |
||
16 | |||
17 | /** |
||
18 | * @return int |
||
19 | */ |
||
20 | 2 | public function getStatus(): int |
|
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | 2 | public function getType(): string |
|
32 | |||
33 | /** |
||
34 | * @param array $paymentTypes |
||
35 | * |
||
36 | * @return ApiProblemInterface |
||
37 | */ |
||
38 | 1 | public function withPaymentTypes(array $paymentTypes): ApiProblemInterface |
|
45 | |||
46 | /** |
||
47 | * @return string[] |
||
48 | */ |
||
49 | 2 | public function getPaymentTypes(): array |
|
53 | } |
||
54 |