def update(self, paypal_account_token, params={}):
        Resource.verify_keys(params, PayPalAccount.signature())
        response = self.config.http().put(self.config.base_merchant_path() + "/payment_methods/paypal_account/" + paypal_account_token, {"paypal_account": params})
        if "paypal_account" in response:
            return SuccessfulResult({"paypal_account": PayPalAccount(self.gateway, response["paypal_account"])})
        elif response in "api_error_response":
            return ErrorResult(self.gateway, response["api_error_response"])
dataset/ETHPy150Open braintree/braintree_python/braintree/paypal_account_gateway.py/PayPalAccountGateway.update/swapped operands of `in`