1 | <?php |
||
26 | final class ProcessRecurringResponse extends AbstractResponse implements InitializationInterface { |
||
27 | /** |
||
28 | * @var string transaction identifier |
||
29 | */ |
||
30 | private $id = ''; |
||
31 | |||
32 | /** |
||
33 | * @var bool request processing result |
||
34 | */ |
||
35 | private $success = false; |
||
36 | |||
37 | /** |
||
38 | * @var null|CardResponse instance with safely card data |
||
39 | */ |
||
40 | private $Card = null; |
||
41 | |||
42 | /** |
||
43 | * @return string transaction identifier |
||
44 | */ |
||
45 | 1 | public function getId() { |
|
48 | |||
49 | /** |
||
50 | * @return boolean request processing result |
||
51 | */ |
||
52 | 1 | public function isSuccess() { |
|
55 | |||
56 | /** |
||
57 | * @return null|CardResponse instance with safely card data |
||
58 | */ |
||
59 | 1 | public function getCard() { |
|
62 | |||
63 | /** |
||
64 | * @inheritdoc |
||
65 | * @return ProcessRecurringResponse instance, that describes payment recurring process result |
||
66 | */ |
||
67 | 1 | public static function initializeByString($string) { |
|
75 | |||
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | 1 | public function __toString() { |
|
92 | } |
||
93 |