lib/Braintree/PayPalAccountGateway.php
public function update($token, $attributes)
    {
        Util::verifyKeys(self::updateSignature(), $attributes);
        $this->_validateId($token);
        return $this->_doUpdate('put', '/payment_methods/paypal_account/' . $token, ['paypalAccount' => $attributes]);
    }
public function update($token, $attributes)
    {
        Util::verifyKeys(self::updateSignature(), $attributes);
        $this->_validateId($token);
        return $this->_doUpdate('put', '/payment_methods/paypal_account/' . $token, ['paypalAccount' => $attributes]);
    }
public function update ( $ token , $ attributes ) { Util :: verifyKeys ( self :: updateSignature ( ) , $ attributes ) ; $ this -> _validateId ( $ token ) ; return $ this -> _doUpdate ( 'put' , '/payment_methods/paypal_account/' . $ token , [ 'paypalAccount' => $ attributes ] ) ; }
updates the paypalAccount record

if calling this method in context, $token
is the 2nd attribute. $token is not sent in object context.

@access public
@param array $attributes
@param string $token (optional)
@return Result\Successful or Result\Error
updates the paypalAccount record