public static function Braintree_Customer::all in Commerce Braintree 7
2 calls to Braintree_Customer::all()
- Braintree_CustomerTest::testAllWithManyResults in braintree_php/
tests/ integration/ CustomerTest.php - Braintree_CustomerTest::testAll_smokeTest in braintree_php/
tests/ integration/ CustomerTest.php
File
- braintree_php/
lib/ Braintree/ Customer.php, line 37
Class
- Braintree_Customer
- Creates and manages Customers
Code
public static function all() {
$response = braintree_http::post('/customers/advanced_search_ids');
$pager = array(
'className' => __CLASS__,
'classMethod' => 'fetch',
'methodArgs' => array(
array(),
),
);
return new Braintree_ResourceCollection($response, $pager);
}