You are here

public static function Braintree_Address::updateNoValidate in Commerce Braintree 7

update an address record, assuming validations will pass

if calling this method in static context, customerOrId is the 2nd attribute, addressId 3rd. customerOrId & addressId are not sent in object context.

@access public

Parameters

array $transactionAttribs:

string $customerId:

Return value

object Braintree_Transaction

Throws

Braintree_Exception_ValidationsFailed

See also

Braintree_Address::update()

1 call to Braintree_Address::updateNoValidate()
Braintree_AddressTest::testUpdateNoValidate in braintree_php/tests/integration/AddressTest.php

File

braintree_php/lib/Braintree/Address.php, line 182

Class

Braintree_Address
Creates and manages Braintree Addresses

Code

public static function updateNoValidate($customerOrId, $addressId, $attributes) {
  $result = self::update($customerOrId, $addressId, $attributes);
  return self::returnObjectOrThrowException(__CLASS__, $result);
}