lib/lithic/models/financial_accounts/statements/line_item_list_params.rb



# frozen_string_literal: true

module Lithic
  module Models
    module FinancialAccounts
      module Statements
        class LineItemListParams < Lithic::BaseModel
          # @!parse
          #   extend Lithic::Type::RequestParameters::Converter
          include Lithic::RequestParameters

          # @!attribute financial_account_token
          #   Globally unique identifier for financial account.
          #
          #   @return [String]
          required :financial_account_token, String

          # @!attribute [r] ending_before
          #   A cursor representing an item's token before which a page of results should end.
          #     Used to retrieve the previous page of results before this item.
          #
          #   @return [String, nil]
          optional :ending_before, String

          # @!parse
          #   # @return [String]
          #   attr_writer :ending_before

          # @!attribute [r] page_size
          #   Page size (for pagination).
          #
          #   @return [Integer, nil]
          optional :page_size, Integer

          # @!parse
          #   # @return [Integer]
          #   attr_writer :page_size

          # @!attribute [r] starting_after
          #   A cursor representing an item's token after which a page of results should
          #     begin. Used to retrieve the next page of results after this item.
          #
          #   @return [String, nil]
          optional :starting_after, String

          # @!parse
          #   # @return [String]
          #   attr_writer :starting_after

          # @!parse
          #   # @param financial_account_token [String]
          #   # @param ending_before [String]
          #   # @param page_size [Integer]
          #   # @param starting_after [String]
          #   # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
          #   #
          #   def initialize(financial_account_token:, ending_before: nil, page_size: nil, starting_after: nil, request_options: {}, **) = super

          # def initialize: (Hash | Lithic::BaseModel) -> void
        end
      end
    end
  end
end