Class: Lithic::Models::FinancialAccounts::LoanTape

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/financial_accounts/loan_tape.rb

Overview

Defined Under Namespace

Classes: AccountStanding, Balances, InterestDetails, MinimumPaymentBalance, PreviousStatementBalance

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(amount:, remaining:) ⇒ Object

Parameters:

  • amount (Integer)
  • remaining (Integer)


# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 135


Instance Attribute Details

#account_standingLithic::Models::FinancialAccounts::LoanTape::AccountStanding



17
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 17

required :account_standing, -> { Lithic::FinancialAccounts::LoanTape::AccountStanding }

#available_creditInteger

Amount of credit available to spend in cents

Returns:

  • (Integer)


23
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 23

required :available_credit, Integer

#balancesLithic::Models::FinancialAccounts::LoanTape::Balances



28
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 28

required :balances, -> { Lithic::FinancialAccounts::LoanTape::Balances }

#createdTime

Timestamp of when the loan tape was created

Returns:

  • (Time)


34
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 34

required :created, Time

#credit_limitInteger

For prepay accounts, this is the minimum prepay balance that must be maintained. For charge card accounts, this is the maximum credit balance extended by a lender

Returns:

  • (Integer)


42
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 42

required :credit_limit, Integer

#credit_product_tokenString

Globally unique identifier for a credit product

Returns:

  • (String)


48
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 48

required :credit_product_token, String

#dateDate

Date of transactions that this loan tape covers

Returns:

  • (Date)


54
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 54

required :date, Date

#day_totalsLithic::Models::StatementTotals



59
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 59

required :day_totals, -> { Lithic::StatementTotals }

#ending_balanceInteger

Balance at the end of the day

Returns:

  • (Integer)


65
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 65

required :ending_balance, Integer

#excess_creditsInteger

Excess credits in the form of provisional credits, payments, or purchase refunds. If positive, the account is in net credit state with no outstanding balances. An overpayment could land an account in this state

Returns:

  • (Integer)


73
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 73

required :excess_credits, Integer

#financial_account_tokenString

Globally unique identifier for a financial account

Returns:

  • (String)


79
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 79

required :financial_account_token, String

#interest_detailsLithic::Models::FinancialAccounts::LoanTape::InterestDetails?



84
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 84

required :interest_details, -> { Lithic::FinancialAccounts::LoanTape::InterestDetails }, nil?: true

#minimum_payment_balanceLithic::Models::FinancialAccounts::LoanTape::MinimumPaymentBalance



89
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 89

required :minimum_payment_balance, -> { Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance }

#payment_allocationLithic::Models::FinancialAccounts::CategoryBalances



94
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 94

required :payment_allocation, -> { Lithic::FinancialAccounts::CategoryBalances }

#period_totalsLithic::Models::StatementTotals



99
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 99

required :period_totals, -> { Lithic::StatementTotals }

#previous_statement_balanceLithic::Models::FinancialAccounts::LoanTape::PreviousStatementBalance



104
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 104

required :previous_statement_balance, -> { Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance }

#starting_balanceInteger

Balance at the start of the day

Returns:

  • (Integer)


110
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 110

required :starting_balance, Integer

#tierString?

Interest tier to which this account belongs to

Returns:

  • (String, nil)


133
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 133

optional :tier, String, nil?: true

#tokenString

Globally unique identifier for a loan tape

Returns:

  • (String)


12
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 12

required :token, String

#updatedTime

Timestamp of when the loan tape was updated

Returns:

  • (Time)


116
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 116

required :updated, Time

#versionInteger

Version number of the loan tape. This starts at 1

Returns:

  • (Integer)


122
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 122

required :version, Integer

#ytd_totalsLithic::Models::StatementTotals



127
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 127

required :ytd_totals, -> { Lithic::StatementTotals }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 316