* Finds all Transactions that match the query and returns a {@link ResourceCollection}.
* See: <a href="http://www.braintreepayments.com/gateway/transaction-api#searching" target="_blank">http://www.braintreepaymentsolutions.com/gateway/transaction-api#searching</a>
* @return a {@link ResourceCollection}.
*/
public ResourceCollection<Customer> search(CustomerSearchRequest query) {
NodeWrapper node = http.post("/customers/advanced_search_ids", query);
return new ResourceCollection<Customer>(new CustomerPager(this, query), node);
}