stores and retrieves search results and aggregate data example: $result = Customer::all(); foreach($result as $transaction) { print_r($transaction->id); }
Inheritance: implements Iterato\Iterator
 public function testGetIdsReturnsAnEmptyArrayIfNoIds()
 {
     $response = ['searchResults' => ['pageSize' => 2, 'ids' => []]];
     $object = new TestResource();
     $pager = ['object' => $object, 'method' => 'fetch', 'methodArgs' => []];
     $collection = new Braintree\ResourceCollection($response, $pager);
     $this->assertEquals($collection->getIds(), []);
 }