1 | <?php |
||
5 | class Statements |
||
6 | { |
||
7 | /** @var string */ |
||
8 | protected $status; |
||
9 | |||
10 | /** @var float */ |
||
11 | protected $credit; |
||
12 | |||
13 | /** @var float */ |
||
14 | protected $debet; |
||
15 | |||
16 | /** @var Statement[] */ |
||
17 | protected $statements = []; |
||
18 | |||
19 | public static function fromResponse(\SimpleXMLElement $statements) |
||
28 | |||
29 | /** |
||
30 | * @param string $status |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function setStatus($status) |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getStatus() |
||
48 | |||
49 | /** |
||
50 | * @param float $debet |
||
51 | * |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function setDebet($debet) |
||
60 | |||
61 | /** |
||
62 | * @return float |
||
63 | */ |
||
64 | public function getDebet() |
||
68 | |||
69 | /** |
||
70 | * @param float $credit |
||
71 | * |
||
72 | * @return $this |
||
73 | */ |
||
74 | public function setCredit($credit) |
||
80 | |||
81 | /** |
||
82 | * @return float |
||
83 | */ |
||
84 | public function getCredit() |
||
88 | |||
89 | /** |
||
90 | * @param Statement[] $statements |
||
91 | * |
||
92 | * @return $this |
||
93 | */ |
||
94 | public function setStatements($statements) |
||
100 | |||
101 | /** |
||
102 | * @return Statement[] |
||
103 | */ |
||
104 | public function getStatements() |
||
108 | |||
109 | } |