e9f28af14a43c1852cb52b3ac748af5220ffe5d1
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class PaymentHistory extends PPModel {
7         /**
8          * A list of Payment resources
9          * @array
10          * @param PayPal\Api\Payment $payments
11          */
12         public function setPayments($payments) {
13                 $this->payments = $payments;
14                 return $this;
15         }
16
17         /**
18          * A list of Payment resources
19          * @return PayPal\Api\Payment
20          */
21         public function getPayments() {
22                 return $this->payments;
23         }
24
25
26         /**
27          * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
28          * @param integer $count
29          */
30         public function setCount($count) {
31                 $this->count = $count;
32                 return $this;
33         }
34
35         /**
36          * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
37          * @return integer
38          */
39         public function getCount() {
40                 return $this->count;
41         }
42
43
44         /**
45          * Identifier of the next element to get the next range of results.
46          * @param string $next_id
47          */
48         public function setNextId($next_id) {
49                 $this->next_id = $next_id;
50                 return $this;
51         }
52
53         /**
54          * Identifier of the next element to get the next range of results.
55          * @return string
56          */
57         public function getNextId() {
58                 return $this->next_id;
59         }
60
61         /**
62          * Identifier of the next element to get the next range of results.
63          * @param string $next_id
64          * @deprecated. Instead use setNextId
65          */
66         public function setNext_id($next_id) {
67                 $this->next_id = $next_id;
68                 return $this;
69         }
70         /**
71          * Identifier of the next element to get the next range of results.
72          * @return string
73          * @deprecated. Instead use getNextId
74          */
75         public function getNext_id() {
76                 return $this->next_id;
77         }
78
79 }