You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: stripe_payment_intent.rb
    path of file: ./repos/miru-web/app/services/invoice_payment
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class InvoicePayment::StripePaymentIntent < ApplicationService
  attr_reader :invoice, :client, :account_id
  attr_accessor :checkout_se
    
    def find_invoice_session
      sessions.each do |session|
        list_line_items = Stripe::Checkout::Session.list_line_items(
          session.id,
          {},
          { stripe_account: account_id }
        )
        list_line_item = list_line_items.find { |list_line_item| invoice.invoice_number == list_line_item.description }

        if list_line_item.present?
          @checkout_session = session
          break
        end
      end