1 | <?php |
||
7 | class PaymentError implements ErrorInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | * @Serializer\Type("string") |
||
12 | * @Serializer\SerializedName("errorGroup") |
||
13 | */ |
||
14 | protected $errorGroup; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | * @Serializer\Type("string") |
||
19 | * @Serializer\SerializedName("errorCode") |
||
20 | */ |
||
21 | protected $errorCode; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | * @Serializer\Type("string") |
||
26 | * @Serializer\SerializedName("errorMessage") |
||
27 | */ |
||
28 | protected $errorMessage; |
||
29 | |||
30 | /** |
||
31 | * Gets errorCode value. |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getErrorCode() |
||
39 | |||
40 | /** |
||
41 | * Gets errorGroup value. |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getErrorGroup() |
||
49 | |||
50 | /** |
||
51 | * Gets errorMessage value. |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getErrorMessage() |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function getCode() |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function getMessage() |
||
75 | } |
||
76 |