lib/Braintree/DisputeGateway.php
public function search($query)
    {
        $criteria = [];
        foreach ($query as $term) {
            $criteria[$term->name] = $term->toparam();
        }
        $pager = [
            'object' => $this,
            'method' => 'fetchDisputes',
            'query' => $criteria
        ];
        return new PaginatedCollection($pager);
    }
public function search($query)
    {
        $criteria = [];
        foreach ($query as $term) {
            $criteria[$term->name] = $term->toparam();
        }
        $pager = [
            'object' => $this,
            'method' => 'fetchDisputes',
            'query' => $criteria
        ];
        return new PaginatedCollection($pager);
    }
public function search ( $ query ) { $ criteria = [ ] ; foreach ( $ query as $ term ) { $ criteria [ $ term -> name ] = $ term -> toparam ( ) ; } $ pager = [ 'object' => $ this , 'method' => 'fetchDisputes' , 'query' => $ criteria ] ; return new PaginatedCollection ( $ pager ) ; }
Search for Disputes, given a DisputeSearch query

@param DisputeSearch $query
Search for Disputes given a DisputeSearch query