PayPal\Api\PaymentHistory::setNextId PHP Method

setNextId() public method

Identifier of the next element to get the next range of results.
public setNextId ( string $next_id )
$next_id string
    public function setNextId($next_id)
    {
        $this->next_id = $next_id;
        return $this;
    }

Usage Example

Exemplo n.º 1
0
 public static function createPaymentHistory()
 {
     $history = new PaymentHistory();
     $history->setCount(self::$count);
     $history->setNextId(self::$nextId);
     $history->setPayments(array(PaymentTest::createPayment()));
     return $history;
 }