PayPal\Api\PaymentHistory::setCount PHP Метод

setCount() публичный Метод

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. Maximum value: 20.
public setCount ( integer $count )
$count integer
    public function setCount($count)
    {
        $this->count = $count;
        return $this;
    }

Usage Example

Пример #1
0
 public static function createPaymentHistory()
 {
     $history = new PaymentHistory();
     $history->setCount(self::$count);
     $history->setNext_id(self::$nextId);
     $history->setPayments(array(PaymentTest::createPayment()));
     return $history;
 }