1 | <?php |
||
9 | class PaymentsList |
||
10 | { |
||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | protected $totalResults; |
||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | protected $offset; |
||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | protected $limit; |
||
23 | /** |
||
24 | * @var Payment[] |
||
25 | */ |
||
26 | protected $results = [ ]; |
||
27 | |||
28 | /** |
||
29 | * @return int |
||
30 | */ |
||
31 | public function getTotalResults() |
||
35 | |||
36 | /** |
||
37 | * @param int $totalResults |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function setTotalResults($totalResults) |
||
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | public function getOffset() |
||
54 | |||
55 | /** |
||
56 | * @param int $offset |
||
57 | * @return $this |
||
58 | */ |
||
59 | public function setOffset($offset) |
||
65 | |||
66 | /** |
||
67 | * @return int |
||
68 | */ |
||
69 | public function getLimit() |
||
73 | |||
74 | /** |
||
75 | * @param int $limit |
||
76 | * @return $this |
||
77 | */ |
||
78 | public function setLimit($limit) |
||
84 | |||
85 | /** |
||
86 | * @return Payment[] |
||
87 | */ |
||
88 | public function getResults() |
||
92 | |||
93 | /** |
||
94 | * @param Payment[] $results |
||
95 | * @return $this |
||
96 | */ |
||
97 | public function setResults(array $results) |
||
103 | } |
||
104 |