src/Resource/BankAccount.php
public function update($bank_account_id = null)
    {
        $bank_account_id = (!empty($bank_account_id) ? $bank_account_id : $this->getId());

        return $this->updateByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $bank_account_id));
    }
public function update($bank_account_id = null)
    {
        $bank_account_id = (!empty($bank_account_id) ? $bank_account_id : $this->getId());

        return $this->updateByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $bank_account_id));
    }
public function update ( $ bank_account_id = null ) { $ bank_account_id = ( ! empty ( $ bank_account_id ) ? $ bank_account_id : $ this -> getId ( ) ) ; return $ this -> updateByPath ( sprintf ( '/%s/%s/%s' , MoipResource :: VERSION , self :: PATH , $ bank_account_id ) ) ; }
Update a bank account.

@param string|null $bank_account_id Bank account id.

@return stdClass
Update a bank account .