PayPal\Api\PaymentHistory::getCount PHP Method

getCount() public method

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 getCount ( ) : integer
return integer
    public function getCount()
    {
        return $this->count;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PaymentHistory $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayments(), PaymentTest::getObject());
     $this->assertEquals($obj->getCount(), 123);
     $this->assertEquals($obj->getNextId(), "TestSample");
 }
All Usage Examples Of PayPal\Api\PaymentHistory::getCount