lib/lithic/models/credit_products/prime_rate_retrieve_params.rb



# frozen_string_literal: true

module Lithic
  module Models
    module CreditProducts
      # @see Lithic::Resources::CreditProducts::PrimeRates#retrieve
      class PrimeRateRetrieveParams < Lithic::Internal::Type::BaseModel
        extend Lithic::Internal::Type::RequestParameters::Converter
        include Lithic::Internal::Type::RequestParameters

        # @!attribute ending_before
        #   The effective date that the prime rates ends before
        #
        #   @return [Date, nil]
        optional :ending_before, Date

        # @!attribute starting_after
        #   The effective date that the prime rate starts after
        #
        #   @return [Date, nil]
        optional :starting_after, Date

        # @!method initialize(ending_before: nil, starting_after: nil, request_options: {})
        #   @param ending_before [Date] The effective date that the prime rates ends before
        #
        #   @param starting_after [Date] The effective date that the prime rate starts after
        #
        #   @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
      end
    end
  end
end