4 use PayPal\Common\PPModel;
 
   6 class PaymentHistory extends PPModel {
 
   8          * A list of Payment resources
 
  10          * @param PayPal\Api\Payment $payments
 
  12         public function setPayments($payments) {
 
  13                 $this->payments = $payments;
 
  18          * A list of Payment resources
 
  19          * @return PayPal\Api\Payment
 
  21         public function getPayments() {
 
  22                 return $this->payments;
 
  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
 
  30         public function setCount($count) {
 
  31                 $this->count = $count;
 
  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.
 
  39         public function getCount() {
 
  45          * Identifier of the next element to get the next range of results.
 
  46          * @param string $next_id
 
  48         public function setNextId($next_id) {
 
  49                 $this->next_id = $next_id;
 
  54          * Identifier of the next element to get the next range of results.
 
  57         public function getNextId() {
 
  58                 return $this->next_id;
 
  62          * Identifier of the next element to get the next range of results.
 
  63          * @param string $next_id
 
  64          * @deprecated. Instead use setNextId
 
  66         public function setNext_id($next_id) {
 
  67                 $this->next_id = $next_id;
 
  71          * Identifier of the next element to get the next range of results.
 
  73          * @deprecated. Instead use getNextId
 
  75         public function getNext_id() {
 
  76                 return $this->next_id;