public function updateAccount(Account $account)
    {
        $response = $this->rest->post(
            static::ACCOUNT_PATH,
            $account->toUpdateParams()
        );

        $this->checkResponse($response);

        return $account->fromResponse($response);
    }
public function updateAccount(Account $account)
    {
        $response = $this->rest->post(
            static::ACCOUNT_PATH,
            $account->toUpdateParams()
        );

        $this->checkResponse($response);

        return $account->fromResponse($response);
    }
public function updateAccount ( Account $ account ) { $ response = $ this -> rest -> post ( static :: ACCOUNT_PATH , $ account -> toUpdateParams ( ) ) ; $ this -> checkResponse ( $ response ) ; return $ account -> fromResponse ( $ response ) ; }
Updates your Account's settings

@param  Account $account
@return Account
@throws BaseException
Updates your Account s settings