1 | <?php |
||
6 | class PaymentNatureService implements HydratableInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | private $name; |
||
12 | |||
13 | /** |
||
14 | * @var boolean |
||
15 | */ |
||
16 | private $supportsRefunds; |
||
17 | |||
18 | /** |
||
19 | * @var boolean |
||
20 | */ |
||
21 | private $supportsRelease; |
||
22 | |||
23 | /** |
||
24 | * @var boolean |
||
25 | */ |
||
26 | private $supportsMultipleCaptures; |
||
27 | |||
28 | /** |
||
29 | * @var boolean |
||
30 | */ |
||
31 | private $supportsMultipleRefunds; |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | 3 | public function getName() : string |
|
40 | |||
41 | /** |
||
42 | * @return bool |
||
43 | */ |
||
44 | 3 | public function isSupportsRefunds() : bool |
|
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | 3 | public function isSupportsRelease() : bool |
|
56 | |||
57 | /** |
||
58 | * @return bool |
||
59 | */ |
||
60 | 3 | public function isSupportsMultipleCaptures() : bool |
|
64 | |||
65 | /** |
||
66 | * @return bool |
||
67 | */ |
||
68 | 3 | public function isSupportsMultipleRefunds() : bool |
|
72 | |||
73 | 27 | public function hydrateXml(\SimpleXMLElement $xml) |
|
85 | } |
||
86 |