public static function Braintree_Customer::updateNoValidate in Commerce Braintree 7
update a customer record, assuming validations will pass
if calling this method in static context, customerId is the 2nd attribute. customerId is not sent in object context. returns a Braintree_Customer object on success
@access public
Parameters
array $attributes:
string $customerId:
Return value
object Braintree_Customer
Throws
Braintree_Exception_ValidationsFailed
1 call to Braintree_Customer::updateNoValidate()
- Braintree_CustomerTest::testUpdateNoValidate in braintree_php/
tests/ integration/ CustomerTest.php
File
- braintree_php/
lib/ Braintree/ Customer.php, line 350
Class
- Braintree_Customer
- Creates and manages Customers
Code
public static function updateNoValidate($customerId, $attributes) {
$result = self::update($customerId, $attributes);
return self::returnObjectOrThrowException(__CLASS__, $result);
}