lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +52 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -70,15 +70,10 @@ module Lithic
|
|
|
70
70
|
sig { returns(T.nilable(Date)) }
|
|
71
71
|
attr_accessor :payment_due_date
|
|
72
72
|
|
|
73
|
-
sig { returns(Lithic::
|
|
73
|
+
sig { returns(Lithic::StatementTotals) }
|
|
74
74
|
attr_reader :period_totals
|
|
75
75
|
|
|
76
|
-
sig
|
|
77
|
-
params(
|
|
78
|
-
period_totals:
|
|
79
|
-
Lithic::FinancialAccounts::Statement::PeriodTotals::OrHash
|
|
80
|
-
).void
|
|
81
|
-
end
|
|
76
|
+
sig { params(period_totals: Lithic::StatementTotals::OrHash).void }
|
|
82
77
|
attr_writer :period_totals
|
|
83
78
|
|
|
84
79
|
# Balance at the start of the billing period
|
|
@@ -104,14 +99,10 @@ module Lithic
|
|
|
104
99
|
sig { returns(Time) }
|
|
105
100
|
attr_accessor :updated
|
|
106
101
|
|
|
107
|
-
sig { returns(Lithic::
|
|
102
|
+
sig { returns(Lithic::StatementTotals) }
|
|
108
103
|
attr_reader :ytd_totals
|
|
109
104
|
|
|
110
|
-
sig
|
|
111
|
-
params(
|
|
112
|
-
ytd_totals: Lithic::FinancialAccounts::Statement::YtdTotals::OrHash
|
|
113
|
-
).void
|
|
114
|
-
end
|
|
105
|
+
sig { params(ytd_totals: Lithic::StatementTotals::OrHash).void }
|
|
115
106
|
attr_writer :ytd_totals
|
|
116
107
|
|
|
117
108
|
sig do
|
|
@@ -145,6 +136,24 @@ module Lithic
|
|
|
145
136
|
sig { params(next_statement_end_date: Date).void }
|
|
146
137
|
attr_writer :next_statement_end_date
|
|
147
138
|
|
|
139
|
+
# Details on number and size of payments to pay off balance
|
|
140
|
+
sig do
|
|
141
|
+
returns(
|
|
142
|
+
T.nilable(Lithic::FinancialAccounts::Statement::PayoffDetails)
|
|
143
|
+
)
|
|
144
|
+
end
|
|
145
|
+
attr_reader :payoff_details
|
|
146
|
+
|
|
147
|
+
sig do
|
|
148
|
+
params(
|
|
149
|
+
payoff_details:
|
|
150
|
+
T.nilable(
|
|
151
|
+
Lithic::FinancialAccounts::Statement::PayoffDetails::OrHash
|
|
152
|
+
)
|
|
153
|
+
).void
|
|
154
|
+
end
|
|
155
|
+
attr_writer :payoff_details
|
|
156
|
+
|
|
148
157
|
sig do
|
|
149
158
|
params(
|
|
150
159
|
token: String,
|
|
@@ -159,21 +168,24 @@ module Lithic
|
|
|
159
168
|
ending_balance: Integer,
|
|
160
169
|
financial_account_token: String,
|
|
161
170
|
payment_due_date: T.nilable(Date),
|
|
162
|
-
period_totals:
|
|
163
|
-
Lithic::FinancialAccounts::Statement::PeriodTotals::OrHash,
|
|
171
|
+
period_totals: Lithic::StatementTotals::OrHash,
|
|
164
172
|
starting_balance: Integer,
|
|
165
173
|
statement_end_date: Date,
|
|
166
174
|
statement_start_date: Date,
|
|
167
175
|
statement_type:
|
|
168
176
|
Lithic::FinancialAccounts::Statement::StatementType::OrSymbol,
|
|
169
177
|
updated: Time,
|
|
170
|
-
ytd_totals: Lithic::
|
|
178
|
+
ytd_totals: Lithic::StatementTotals::OrHash,
|
|
171
179
|
interest_details:
|
|
172
180
|
T.nilable(
|
|
173
181
|
Lithic::FinancialAccounts::Statement::InterestDetails::OrHash
|
|
174
182
|
),
|
|
175
183
|
next_payment_due_date: Date,
|
|
176
|
-
next_statement_end_date: Date
|
|
184
|
+
next_statement_end_date: Date,
|
|
185
|
+
payoff_details:
|
|
186
|
+
T.nilable(
|
|
187
|
+
Lithic::FinancialAccounts::Statement::PayoffDetails::OrHash
|
|
188
|
+
)
|
|
177
189
|
).returns(T.attached_class)
|
|
178
190
|
end
|
|
179
191
|
def self.new(
|
|
@@ -213,7 +225,9 @@ module Lithic
|
|
|
213
225
|
# Date when the next payment is due
|
|
214
226
|
next_payment_due_date: nil,
|
|
215
227
|
# Date when the next billing period will end
|
|
216
|
-
next_statement_end_date: nil
|
|
228
|
+
next_statement_end_date: nil,
|
|
229
|
+
# Details on number and size of payments to pay off balance
|
|
230
|
+
payoff_details: nil
|
|
217
231
|
)
|
|
218
232
|
end
|
|
219
233
|
|
|
@@ -232,20 +246,22 @@ module Lithic
|
|
|
232
246
|
ending_balance: Integer,
|
|
233
247
|
financial_account_token: String,
|
|
234
248
|
payment_due_date: T.nilable(Date),
|
|
235
|
-
period_totals: Lithic::
|
|
249
|
+
period_totals: Lithic::StatementTotals,
|
|
236
250
|
starting_balance: Integer,
|
|
237
251
|
statement_end_date: Date,
|
|
238
252
|
statement_start_date: Date,
|
|
239
253
|
statement_type:
|
|
240
254
|
Lithic::FinancialAccounts::Statement::StatementType::TaggedSymbol,
|
|
241
255
|
updated: Time,
|
|
242
|
-
ytd_totals: Lithic::
|
|
256
|
+
ytd_totals: Lithic::StatementTotals,
|
|
243
257
|
interest_details:
|
|
244
258
|
T.nilable(
|
|
245
259
|
Lithic::FinancialAccounts::Statement::InterestDetails
|
|
246
260
|
),
|
|
247
261
|
next_payment_due_date: Date,
|
|
248
|
-
next_statement_end_date: Date
|
|
262
|
+
next_statement_end_date: Date,
|
|
263
|
+
payoff_details:
|
|
264
|
+
T.nilable(Lithic::FinancialAccounts::Statement::PayoffDetails)
|
|
249
265
|
}
|
|
250
266
|
)
|
|
251
267
|
end
|
|
@@ -596,91 +612,6 @@ module Lithic
|
|
|
596
612
|
end
|
|
597
613
|
end
|
|
598
614
|
|
|
599
|
-
class PeriodTotals < Lithic::Internal::Type::BaseModel
|
|
600
|
-
OrHash =
|
|
601
|
-
T.type_alias do
|
|
602
|
-
T.any(
|
|
603
|
-
Lithic::FinancialAccounts::Statement::PeriodTotals,
|
|
604
|
-
Lithic::Internal::AnyHash
|
|
605
|
-
)
|
|
606
|
-
end
|
|
607
|
-
|
|
608
|
-
# Opening balance transferred from previous account in cents
|
|
609
|
-
sig { returns(Integer) }
|
|
610
|
-
attr_accessor :balance_transfers
|
|
611
|
-
|
|
612
|
-
# ATM and cashback transactions in cents
|
|
613
|
-
sig { returns(Integer) }
|
|
614
|
-
attr_accessor :cash_advances
|
|
615
|
-
|
|
616
|
-
# Volume of credit management operation transactions less any balance transfers in
|
|
617
|
-
# cents
|
|
618
|
-
sig { returns(Integer) }
|
|
619
|
-
attr_accessor :credits
|
|
620
|
-
|
|
621
|
-
# Volume of debit management operation transactions less any interest in cents
|
|
622
|
-
sig { returns(Integer) }
|
|
623
|
-
attr_accessor :fees
|
|
624
|
-
|
|
625
|
-
# Interest accrued in cents
|
|
626
|
-
sig { returns(Integer) }
|
|
627
|
-
attr_accessor :interest
|
|
628
|
-
|
|
629
|
-
# Any funds transfers which affective the balance in cents
|
|
630
|
-
sig { returns(Integer) }
|
|
631
|
-
attr_accessor :payments
|
|
632
|
-
|
|
633
|
-
# Net card transaction volume less any cash advances in cents
|
|
634
|
-
sig { returns(Integer) }
|
|
635
|
-
attr_accessor :purchases
|
|
636
|
-
|
|
637
|
-
sig do
|
|
638
|
-
params(
|
|
639
|
-
balance_transfers: Integer,
|
|
640
|
-
cash_advances: Integer,
|
|
641
|
-
credits: Integer,
|
|
642
|
-
fees: Integer,
|
|
643
|
-
interest: Integer,
|
|
644
|
-
payments: Integer,
|
|
645
|
-
purchases: Integer
|
|
646
|
-
).returns(T.attached_class)
|
|
647
|
-
end
|
|
648
|
-
def self.new(
|
|
649
|
-
# Opening balance transferred from previous account in cents
|
|
650
|
-
balance_transfers:,
|
|
651
|
-
# ATM and cashback transactions in cents
|
|
652
|
-
cash_advances:,
|
|
653
|
-
# Volume of credit management operation transactions less any balance transfers in
|
|
654
|
-
# cents
|
|
655
|
-
credits:,
|
|
656
|
-
# Volume of debit management operation transactions less any interest in cents
|
|
657
|
-
fees:,
|
|
658
|
-
# Interest accrued in cents
|
|
659
|
-
interest:,
|
|
660
|
-
# Any funds transfers which affective the balance in cents
|
|
661
|
-
payments:,
|
|
662
|
-
# Net card transaction volume less any cash advances in cents
|
|
663
|
-
purchases:
|
|
664
|
-
)
|
|
665
|
-
end
|
|
666
|
-
|
|
667
|
-
sig do
|
|
668
|
-
override.returns(
|
|
669
|
-
{
|
|
670
|
-
balance_transfers: Integer,
|
|
671
|
-
cash_advances: Integer,
|
|
672
|
-
credits: Integer,
|
|
673
|
-
fees: Integer,
|
|
674
|
-
interest: Integer,
|
|
675
|
-
payments: Integer,
|
|
676
|
-
purchases: Integer
|
|
677
|
-
}
|
|
678
|
-
)
|
|
679
|
-
end
|
|
680
|
-
def to_hash
|
|
681
|
-
end
|
|
682
|
-
end
|
|
683
|
-
|
|
684
615
|
module StatementType
|
|
685
616
|
extend Lithic::Internal::Type::Enum
|
|
686
617
|
|
|
@@ -717,91 +648,6 @@ module Lithic
|
|
|
717
648
|
end
|
|
718
649
|
end
|
|
719
650
|
|
|
720
|
-
class YtdTotals < Lithic::Internal::Type::BaseModel
|
|
721
|
-
OrHash =
|
|
722
|
-
T.type_alias do
|
|
723
|
-
T.any(
|
|
724
|
-
Lithic::FinancialAccounts::Statement::YtdTotals,
|
|
725
|
-
Lithic::Internal::AnyHash
|
|
726
|
-
)
|
|
727
|
-
end
|
|
728
|
-
|
|
729
|
-
# Opening balance transferred from previous account in cents
|
|
730
|
-
sig { returns(Integer) }
|
|
731
|
-
attr_accessor :balance_transfers
|
|
732
|
-
|
|
733
|
-
# ATM and cashback transactions in cents
|
|
734
|
-
sig { returns(Integer) }
|
|
735
|
-
attr_accessor :cash_advances
|
|
736
|
-
|
|
737
|
-
# Volume of credit management operation transactions less any balance transfers in
|
|
738
|
-
# cents
|
|
739
|
-
sig { returns(Integer) }
|
|
740
|
-
attr_accessor :credits
|
|
741
|
-
|
|
742
|
-
# Volume of debit management operation transactions less any interest in cents
|
|
743
|
-
sig { returns(Integer) }
|
|
744
|
-
attr_accessor :fees
|
|
745
|
-
|
|
746
|
-
# Interest accrued in cents
|
|
747
|
-
sig { returns(Integer) }
|
|
748
|
-
attr_accessor :interest
|
|
749
|
-
|
|
750
|
-
# Any funds transfers which affective the balance in cents
|
|
751
|
-
sig { returns(Integer) }
|
|
752
|
-
attr_accessor :payments
|
|
753
|
-
|
|
754
|
-
# Net card transaction volume less any cash advances in cents
|
|
755
|
-
sig { returns(Integer) }
|
|
756
|
-
attr_accessor :purchases
|
|
757
|
-
|
|
758
|
-
sig do
|
|
759
|
-
params(
|
|
760
|
-
balance_transfers: Integer,
|
|
761
|
-
cash_advances: Integer,
|
|
762
|
-
credits: Integer,
|
|
763
|
-
fees: Integer,
|
|
764
|
-
interest: Integer,
|
|
765
|
-
payments: Integer,
|
|
766
|
-
purchases: Integer
|
|
767
|
-
).returns(T.attached_class)
|
|
768
|
-
end
|
|
769
|
-
def self.new(
|
|
770
|
-
# Opening balance transferred from previous account in cents
|
|
771
|
-
balance_transfers:,
|
|
772
|
-
# ATM and cashback transactions in cents
|
|
773
|
-
cash_advances:,
|
|
774
|
-
# Volume of credit management operation transactions less any balance transfers in
|
|
775
|
-
# cents
|
|
776
|
-
credits:,
|
|
777
|
-
# Volume of debit management operation transactions less any interest in cents
|
|
778
|
-
fees:,
|
|
779
|
-
# Interest accrued in cents
|
|
780
|
-
interest:,
|
|
781
|
-
# Any funds transfers which affective the balance in cents
|
|
782
|
-
payments:,
|
|
783
|
-
# Net card transaction volume less any cash advances in cents
|
|
784
|
-
purchases:
|
|
785
|
-
)
|
|
786
|
-
end
|
|
787
|
-
|
|
788
|
-
sig do
|
|
789
|
-
override.returns(
|
|
790
|
-
{
|
|
791
|
-
balance_transfers: Integer,
|
|
792
|
-
cash_advances: Integer,
|
|
793
|
-
credits: Integer,
|
|
794
|
-
fees: Integer,
|
|
795
|
-
interest: Integer,
|
|
796
|
-
payments: Integer,
|
|
797
|
-
purchases: Integer
|
|
798
|
-
}
|
|
799
|
-
)
|
|
800
|
-
end
|
|
801
|
-
def to_hash
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
|
|
805
651
|
class InterestDetails < Lithic::Internal::Type::BaseModel
|
|
806
652
|
OrHash =
|
|
807
653
|
T.type_alias do
|
|
@@ -814,34 +660,18 @@ module Lithic
|
|
|
814
660
|
sig { returns(T.nilable(Integer)) }
|
|
815
661
|
attr_accessor :actual_interest_charged
|
|
816
662
|
|
|
817
|
-
sig
|
|
818
|
-
returns(
|
|
819
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::DailyBalanceAmounts
|
|
820
|
-
)
|
|
821
|
-
end
|
|
663
|
+
sig { returns(Lithic::CategoryDetails) }
|
|
822
664
|
attr_reader :daily_balance_amounts
|
|
823
665
|
|
|
824
666
|
sig do
|
|
825
|
-
params(
|
|
826
|
-
daily_balance_amounts:
|
|
827
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::DailyBalanceAmounts::OrHash
|
|
828
|
-
).void
|
|
667
|
+
params(daily_balance_amounts: Lithic::CategoryDetails::OrHash).void
|
|
829
668
|
end
|
|
830
669
|
attr_writer :daily_balance_amounts
|
|
831
670
|
|
|
832
|
-
sig
|
|
833
|
-
returns(
|
|
834
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr
|
|
835
|
-
)
|
|
836
|
-
end
|
|
671
|
+
sig { returns(Lithic::CategoryDetails) }
|
|
837
672
|
attr_reader :effective_apr
|
|
838
673
|
|
|
839
|
-
sig
|
|
840
|
-
params(
|
|
841
|
-
effective_apr:
|
|
842
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr::OrHash
|
|
843
|
-
).void
|
|
844
|
-
end
|
|
674
|
+
sig { params(effective_apr: Lithic::CategoryDetails::OrHash).void }
|
|
845
675
|
attr_writer :effective_apr
|
|
846
676
|
|
|
847
677
|
sig do
|
|
@@ -851,18 +681,11 @@ module Lithic
|
|
|
851
681
|
end
|
|
852
682
|
attr_accessor :interest_calculation_method
|
|
853
683
|
|
|
854
|
-
sig
|
|
855
|
-
returns(
|
|
856
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::InterestForPeriod
|
|
857
|
-
)
|
|
858
|
-
end
|
|
684
|
+
sig { returns(Lithic::CategoryDetails) }
|
|
859
685
|
attr_reader :interest_for_period
|
|
860
686
|
|
|
861
687
|
sig do
|
|
862
|
-
params(
|
|
863
|
-
interest_for_period:
|
|
864
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::InterestForPeriod::OrHash
|
|
865
|
-
).void
|
|
688
|
+
params(interest_for_period: Lithic::CategoryDetails::OrHash).void
|
|
866
689
|
end
|
|
867
690
|
attr_writer :interest_for_period
|
|
868
691
|
|
|
@@ -875,14 +698,11 @@ module Lithic
|
|
|
875
698
|
sig do
|
|
876
699
|
params(
|
|
877
700
|
actual_interest_charged: T.nilable(Integer),
|
|
878
|
-
daily_balance_amounts:
|
|
879
|
-
|
|
880
|
-
effective_apr:
|
|
881
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr::OrHash,
|
|
701
|
+
daily_balance_amounts: Lithic::CategoryDetails::OrHash,
|
|
702
|
+
effective_apr: Lithic::CategoryDetails::OrHash,
|
|
882
703
|
interest_calculation_method:
|
|
883
704
|
Lithic::FinancialAccounts::Statement::InterestDetails::InterestCalculationMethod::OrSymbol,
|
|
884
|
-
interest_for_period:
|
|
885
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::InterestForPeriod::OrHash,
|
|
705
|
+
interest_for_period: Lithic::CategoryDetails::OrHash,
|
|
886
706
|
prime_rate: T.nilable(String),
|
|
887
707
|
minimum_interest_charged: T.nilable(Integer)
|
|
888
708
|
).returns(T.attached_class)
|
|
@@ -902,14 +722,11 @@ module Lithic
|
|
|
902
722
|
override.returns(
|
|
903
723
|
{
|
|
904
724
|
actual_interest_charged: T.nilable(Integer),
|
|
905
|
-
daily_balance_amounts:
|
|
906
|
-
|
|
907
|
-
effective_apr:
|
|
908
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr,
|
|
725
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
726
|
+
effective_apr: Lithic::CategoryDetails,
|
|
909
727
|
interest_calculation_method:
|
|
910
728
|
Lithic::FinancialAccounts::Statement::InterestDetails::InterestCalculationMethod::TaggedSymbol,
|
|
911
|
-
interest_for_period:
|
|
912
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::InterestForPeriod,
|
|
729
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
913
730
|
prime_rate: T.nilable(String),
|
|
914
731
|
minimum_interest_charged: T.nilable(Integer)
|
|
915
732
|
}
|
|
@@ -918,88 +735,6 @@ module Lithic
|
|
|
918
735
|
def to_hash
|
|
919
736
|
end
|
|
920
737
|
|
|
921
|
-
class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
|
|
922
|
-
OrHash =
|
|
923
|
-
T.type_alias do
|
|
924
|
-
T.any(
|
|
925
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::DailyBalanceAmounts,
|
|
926
|
-
Lithic::Internal::AnyHash
|
|
927
|
-
)
|
|
928
|
-
end
|
|
929
|
-
|
|
930
|
-
sig { returns(String) }
|
|
931
|
-
attr_accessor :balance_transfers
|
|
932
|
-
|
|
933
|
-
sig { returns(String) }
|
|
934
|
-
attr_accessor :cash_advances
|
|
935
|
-
|
|
936
|
-
sig { returns(String) }
|
|
937
|
-
attr_accessor :purchases
|
|
938
|
-
|
|
939
|
-
sig do
|
|
940
|
-
params(
|
|
941
|
-
balance_transfers: String,
|
|
942
|
-
cash_advances: String,
|
|
943
|
-
purchases: String
|
|
944
|
-
).returns(T.attached_class)
|
|
945
|
-
end
|
|
946
|
-
def self.new(balance_transfers:, cash_advances:, purchases:)
|
|
947
|
-
end
|
|
948
|
-
|
|
949
|
-
sig do
|
|
950
|
-
override.returns(
|
|
951
|
-
{
|
|
952
|
-
balance_transfers: String,
|
|
953
|
-
cash_advances: String,
|
|
954
|
-
purchases: String
|
|
955
|
-
}
|
|
956
|
-
)
|
|
957
|
-
end
|
|
958
|
-
def to_hash
|
|
959
|
-
end
|
|
960
|
-
end
|
|
961
|
-
|
|
962
|
-
class EffectiveApr < Lithic::Internal::Type::BaseModel
|
|
963
|
-
OrHash =
|
|
964
|
-
T.type_alias do
|
|
965
|
-
T.any(
|
|
966
|
-
Lithic::FinancialAccounts::Statement::InterestDetails::EffectiveApr,
|
|
967
|
-
Lithic::Internal::AnyHash
|
|
968
|
-
)
|
|
969
|
-
end
|
|
970
|
-
|
|
971
|
-
sig { returns(String) }
|
|
972
|
-
attr_accessor :balance_transfers
|
|
973
|
-
|
|
974
|
-
sig { returns(String) }
|
|
975
|
-
attr_accessor :cash_advances
|
|
976
|
-
|
|
977
|
-
sig { returns(String) }
|
|
978
|
-
attr_accessor :purchases
|
|
979
|
-
|
|
980
|
-
sig do
|
|
981
|
-
params(
|
|
982
|
-
balance_transfers: String,
|
|
983
|
-
cash_advances: String,
|
|
984
|
-
purchases: String
|
|
985
|
-
).returns(T.attached_class)
|
|
986
|
-
end
|
|
987
|
-
def self.new(balance_transfers:, cash_advances:, purchases:)
|
|
988
|
-
end
|
|
989
|
-
|
|
990
|
-
sig do
|
|
991
|
-
override.returns(
|
|
992
|
-
{
|
|
993
|
-
balance_transfers: String,
|
|
994
|
-
cash_advances: String,
|
|
995
|
-
purchases: String
|
|
996
|
-
}
|
|
997
|
-
)
|
|
998
|
-
end
|
|
999
|
-
def to_hash
|
|
1000
|
-
end
|
|
1001
|
-
end
|
|
1002
|
-
|
|
1003
738
|
module InterestCalculationMethod
|
|
1004
739
|
extend Lithic::Internal::Type::Enum
|
|
1005
740
|
|
|
@@ -1033,46 +768,81 @@ module Lithic
|
|
|
1033
768
|
def self.values
|
|
1034
769
|
end
|
|
1035
770
|
end
|
|
771
|
+
end
|
|
1036
772
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
773
|
+
class PayoffDetails < Lithic::Internal::Type::BaseModel
|
|
774
|
+
OrHash =
|
|
775
|
+
T.type_alias do
|
|
776
|
+
T.any(
|
|
777
|
+
Lithic::FinancialAccounts::Statement::PayoffDetails,
|
|
778
|
+
Lithic::Internal::AnyHash
|
|
779
|
+
)
|
|
780
|
+
end
|
|
1045
781
|
|
|
1046
|
-
|
|
1047
|
-
|
|
782
|
+
# The number of months it would take to pay off the balance in full by only paying
|
|
783
|
+
# the minimum payment. "NA" will signal negative or zero amortization
|
|
784
|
+
sig { returns(String) }
|
|
785
|
+
attr_accessor :minimum_payment_months
|
|
1048
786
|
|
|
1049
|
-
|
|
1050
|
-
|
|
787
|
+
# The sum of all interest and principal paid, in cents, when only paying minimum
|
|
788
|
+
# monthly payment. "NA" will signal negative or zero amortization
|
|
789
|
+
sig { returns(String) }
|
|
790
|
+
attr_accessor :minimum_payment_total
|
|
1051
791
|
|
|
1052
|
-
|
|
1053
|
-
|
|
792
|
+
# Number of months to full pay off
|
|
793
|
+
sig { returns(Integer) }
|
|
794
|
+
attr_accessor :payoff_period_length_months
|
|
1054
795
|
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
purchases: String
|
|
1060
|
-
).returns(T.attached_class)
|
|
1061
|
-
end
|
|
1062
|
-
def self.new(balance_transfers:, cash_advances:, purchases:)
|
|
1063
|
-
end
|
|
796
|
+
# The amount needed to be paid, in cents, each month in order to pay off current
|
|
797
|
+
# balance in the payoff period
|
|
798
|
+
sig { returns(Integer) }
|
|
799
|
+
attr_accessor :payoff_period_monthly_payment_amount
|
|
1064
800
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
801
|
+
# The sum of all interest and principal paid, in cents, when paying off in the
|
|
802
|
+
# payoff period
|
|
803
|
+
sig { returns(Integer) }
|
|
804
|
+
attr_accessor :payoff_period_payment_total
|
|
805
|
+
|
|
806
|
+
# Details on number and size of payments to pay off balance
|
|
807
|
+
sig do
|
|
808
|
+
params(
|
|
809
|
+
minimum_payment_months: String,
|
|
810
|
+
minimum_payment_total: String,
|
|
811
|
+
payoff_period_length_months: Integer,
|
|
812
|
+
payoff_period_monthly_payment_amount: Integer,
|
|
813
|
+
payoff_period_payment_total: Integer
|
|
814
|
+
).returns(T.attached_class)
|
|
815
|
+
end
|
|
816
|
+
def self.new(
|
|
817
|
+
# The number of months it would take to pay off the balance in full by only paying
|
|
818
|
+
# the minimum payment. "NA" will signal negative or zero amortization
|
|
819
|
+
minimum_payment_months:,
|
|
820
|
+
# The sum of all interest and principal paid, in cents, when only paying minimum
|
|
821
|
+
# monthly payment. "NA" will signal negative or zero amortization
|
|
822
|
+
minimum_payment_total:,
|
|
823
|
+
# Number of months to full pay off
|
|
824
|
+
payoff_period_length_months:,
|
|
825
|
+
# The amount needed to be paid, in cents, each month in order to pay off current
|
|
826
|
+
# balance in the payoff period
|
|
827
|
+
payoff_period_monthly_payment_amount:,
|
|
828
|
+
# The sum of all interest and principal paid, in cents, when paying off in the
|
|
829
|
+
# payoff period
|
|
830
|
+
payoff_period_payment_total:
|
|
831
|
+
)
|
|
832
|
+
end
|
|
833
|
+
|
|
834
|
+
sig do
|
|
835
|
+
override.returns(
|
|
836
|
+
{
|
|
837
|
+
minimum_payment_months: String,
|
|
838
|
+
minimum_payment_total: String,
|
|
839
|
+
payoff_period_length_months: Integer,
|
|
840
|
+
payoff_period_monthly_payment_amount: Integer,
|
|
841
|
+
payoff_period_payment_total: Integer
|
|
842
|
+
}
|
|
843
|
+
)
|
|
844
|
+
end
|
|
845
|
+
def to_hash
|
|
1076
846
|
end
|
|
1077
847
|
end
|
|
1078
848
|
end
|