lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55
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 +34 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- 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/conditional_authorization_action_parameters.rb +252 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
- data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
- 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 +5 -5
- data/lib/lithic/models/dispute.rb +510 -242
- data/lib/lithic/models/dispute_create_response.rb +326 -0
- data/lib/lithic/models/dispute_delete_response.rb +326 -0
- data/lib/lithic/models/dispute_list_response.rb +326 -0
- data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
- data/lib/lithic/models/dispute_update_response.rb +326 -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/financial_account.rb +1 -65
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
- data/lib/lithic/models/financial_accounts/statement.rb +66 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/payment.rb +29 -18
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +12 -116
- data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
- data/lib/lithic/models/transfer.rb +1 -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.rb +10 -10
- data/lib/lithic/resources/payments.rb +5 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -3
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- 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/conditional_authorization_action_parameters.rbi +577 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
- 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 +14 -11
- data/rbi/lithic/models/dispute.rbi +942 -395
- data/rbi/lithic/models/dispute_create_response.rbi +599 -0
- data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
- data/rbi/lithic/models/dispute_list_response.rbi +582 -0
- data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
- data/rbi/lithic/models/dispute_update_response.rbi +599 -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/financial_account.rbi +3 -132
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
- data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/payment.rbi +52 -28
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +22 -246
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
- data/rbi/lithic/resources/disputes.rbi +7 -5
- data/rbi/lithic/resources/payments.rbi +6 -0
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- 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/conditional_authorization_action_parameters.rbs +163 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
- 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 +7 -7
- data/sig/lithic/models/dispute.rbs +417 -157
- data/sig/lithic/models/dispute_create_response.rbs +210 -0
- data/sig/lithic/models/dispute_delete_response.rbs +210 -0
- data/sig/lithic/models/dispute_list_response.rbs +210 -0
- data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
- data/sig/lithic/models/dispute_update_response.rbs +210 -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/financial_account.rbs +3 -45
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
- data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/payment.rbs +16 -12
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +13 -94
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/payments.rbs +2 -0
- metadata +23 -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
|
@@ -156,32 +156,6 @@ module Lithic
|
|
|
156
156
|
sig { returns(T.nilable(String)) }
|
|
157
157
|
attr_accessor :tier
|
|
158
158
|
|
|
159
|
-
# Reason for the financial account being marked as Charged Off
|
|
160
|
-
sig do
|
|
161
|
-
returns(
|
|
162
|
-
T.nilable(
|
|
163
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::TaggedSymbol
|
|
164
|
-
)
|
|
165
|
-
)
|
|
166
|
-
end
|
|
167
|
-
attr_accessor :charged_off_reason
|
|
168
|
-
|
|
169
|
-
# State of the financial account
|
|
170
|
-
sig do
|
|
171
|
-
returns(
|
|
172
|
-
T.nilable(
|
|
173
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
174
|
-
)
|
|
175
|
-
)
|
|
176
|
-
end
|
|
177
|
-
attr_accessor :financial_account_state
|
|
178
|
-
|
|
179
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
180
|
-
attr_reader :is_spend_blocked
|
|
181
|
-
|
|
182
|
-
sig { params(is_spend_blocked: T::Boolean).void }
|
|
183
|
-
attr_writer :is_spend_blocked
|
|
184
|
-
|
|
185
159
|
sig do
|
|
186
160
|
params(
|
|
187
161
|
auto_collection_configuration:
|
|
@@ -189,16 +163,7 @@ module Lithic
|
|
|
189
163
|
credit_limit: T.nilable(Integer),
|
|
190
164
|
credit_product_token: T.nilable(String),
|
|
191
165
|
external_bank_account_token: T.nilable(String),
|
|
192
|
-
tier: T.nilable(String)
|
|
193
|
-
charged_off_reason:
|
|
194
|
-
T.nilable(
|
|
195
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::OrSymbol
|
|
196
|
-
),
|
|
197
|
-
financial_account_state:
|
|
198
|
-
T.nilable(
|
|
199
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::OrSymbol
|
|
200
|
-
),
|
|
201
|
-
is_spend_blocked: T::Boolean
|
|
166
|
+
tier: T.nilable(String)
|
|
202
167
|
).returns(T.attached_class)
|
|
203
168
|
end
|
|
204
169
|
def self.new(
|
|
@@ -208,12 +173,7 @@ module Lithic
|
|
|
208
173
|
credit_product_token:,
|
|
209
174
|
external_bank_account_token:,
|
|
210
175
|
# Tier assigned to the financial account
|
|
211
|
-
tier
|
|
212
|
-
# Reason for the financial account being marked as Charged Off
|
|
213
|
-
charged_off_reason: nil,
|
|
214
|
-
# State of the financial account
|
|
215
|
-
financial_account_state: nil,
|
|
216
|
-
is_spend_blocked: nil
|
|
176
|
+
tier:
|
|
217
177
|
)
|
|
218
178
|
end
|
|
219
179
|
|
|
@@ -225,16 +185,7 @@ module Lithic
|
|
|
225
185
|
credit_limit: T.nilable(Integer),
|
|
226
186
|
credit_product_token: T.nilable(String),
|
|
227
187
|
external_bank_account_token: T.nilable(String),
|
|
228
|
-
tier: T.nilable(String)
|
|
229
|
-
charged_off_reason:
|
|
230
|
-
T.nilable(
|
|
231
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::TaggedSymbol
|
|
232
|
-
),
|
|
233
|
-
financial_account_state:
|
|
234
|
-
T.nilable(
|
|
235
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
236
|
-
),
|
|
237
|
-
is_spend_blocked: T::Boolean
|
|
188
|
+
tier: T.nilable(String)
|
|
238
189
|
}
|
|
239
190
|
)
|
|
240
191
|
end
|
|
@@ -269,86 +220,6 @@ module Lithic
|
|
|
269
220
|
def to_hash
|
|
270
221
|
end
|
|
271
222
|
end
|
|
272
|
-
|
|
273
|
-
# Reason for the financial account being marked as Charged Off
|
|
274
|
-
module ChargedOffReason
|
|
275
|
-
extend Lithic::Internal::Type::Enum
|
|
276
|
-
|
|
277
|
-
TaggedSymbol =
|
|
278
|
-
T.type_alias do
|
|
279
|
-
T.all(
|
|
280
|
-
Symbol,
|
|
281
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason
|
|
282
|
-
)
|
|
283
|
-
end
|
|
284
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
285
|
-
|
|
286
|
-
DELINQUENT =
|
|
287
|
-
T.let(
|
|
288
|
-
:DELINQUENT,
|
|
289
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::TaggedSymbol
|
|
290
|
-
)
|
|
291
|
-
FRAUD =
|
|
292
|
-
T.let(
|
|
293
|
-
:FRAUD,
|
|
294
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::TaggedSymbol
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
sig do
|
|
298
|
-
override.returns(
|
|
299
|
-
T::Array[
|
|
300
|
-
Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason::TaggedSymbol
|
|
301
|
-
]
|
|
302
|
-
)
|
|
303
|
-
end
|
|
304
|
-
def self.values
|
|
305
|
-
end
|
|
306
|
-
end
|
|
307
|
-
|
|
308
|
-
# State of the financial account
|
|
309
|
-
module FinancialAccountState
|
|
310
|
-
extend Lithic::Internal::Type::Enum
|
|
311
|
-
|
|
312
|
-
TaggedSymbol =
|
|
313
|
-
T.type_alias do
|
|
314
|
-
T.all(
|
|
315
|
-
Symbol,
|
|
316
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState
|
|
317
|
-
)
|
|
318
|
-
end
|
|
319
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
320
|
-
|
|
321
|
-
PENDING =
|
|
322
|
-
T.let(
|
|
323
|
-
:PENDING,
|
|
324
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
325
|
-
)
|
|
326
|
-
CURRENT =
|
|
327
|
-
T.let(
|
|
328
|
-
:CURRENT,
|
|
329
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
330
|
-
)
|
|
331
|
-
DELINQUENT =
|
|
332
|
-
T.let(
|
|
333
|
-
:DELINQUENT,
|
|
334
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
335
|
-
)
|
|
336
|
-
CHARGED_OFF =
|
|
337
|
-
T.let(
|
|
338
|
-
:CHARGED_OFF,
|
|
339
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
340
|
-
)
|
|
341
|
-
|
|
342
|
-
sig do
|
|
343
|
-
override.returns(
|
|
344
|
-
T::Array[
|
|
345
|
-
Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState::TaggedSymbol
|
|
346
|
-
]
|
|
347
|
-
)
|
|
348
|
-
end
|
|
349
|
-
def self.values
|
|
350
|
-
end
|
|
351
|
-
end
|
|
352
223
|
end
|
|
353
224
|
|
|
354
225
|
# Status of the financial account
|
|
@@ -48,40 +48,6 @@ module Lithic
|
|
|
48
48
|
sig { returns(T.nilable(String)) }
|
|
49
49
|
attr_accessor :tier
|
|
50
50
|
|
|
51
|
-
# Reason for the financial account being marked as Charged Off
|
|
52
|
-
sig do
|
|
53
|
-
returns(
|
|
54
|
-
T.nilable(
|
|
55
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::TaggedSymbol
|
|
56
|
-
)
|
|
57
|
-
)
|
|
58
|
-
end
|
|
59
|
-
attr_accessor :charged_off_reason
|
|
60
|
-
|
|
61
|
-
# State of the financial account
|
|
62
|
-
sig do
|
|
63
|
-
returns(
|
|
64
|
-
T.nilable(
|
|
65
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
66
|
-
)
|
|
67
|
-
)
|
|
68
|
-
end
|
|
69
|
-
attr_reader :financial_account_state
|
|
70
|
-
|
|
71
|
-
sig do
|
|
72
|
-
params(
|
|
73
|
-
financial_account_state:
|
|
74
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::OrSymbol
|
|
75
|
-
).void
|
|
76
|
-
end
|
|
77
|
-
attr_writer :financial_account_state
|
|
78
|
-
|
|
79
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
80
|
-
attr_reader :is_spend_blocked
|
|
81
|
-
|
|
82
|
-
sig { params(is_spend_blocked: T::Boolean).void }
|
|
83
|
-
attr_writer :is_spend_blocked
|
|
84
|
-
|
|
85
51
|
sig do
|
|
86
52
|
params(
|
|
87
53
|
account_token: String,
|
|
@@ -90,14 +56,7 @@ module Lithic
|
|
|
90
56
|
credit_limit: T.nilable(Integer),
|
|
91
57
|
credit_product_token: T.nilable(String),
|
|
92
58
|
external_bank_account_token: T.nilable(String),
|
|
93
|
-
tier: T.nilable(String)
|
|
94
|
-
charged_off_reason:
|
|
95
|
-
T.nilable(
|
|
96
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::OrSymbol
|
|
97
|
-
),
|
|
98
|
-
financial_account_state:
|
|
99
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::OrSymbol,
|
|
100
|
-
is_spend_blocked: T::Boolean
|
|
59
|
+
tier: T.nilable(String)
|
|
101
60
|
).returns(T.attached_class)
|
|
102
61
|
end
|
|
103
62
|
def self.new(
|
|
@@ -109,12 +68,7 @@ module Lithic
|
|
|
109
68
|
credit_product_token:,
|
|
110
69
|
external_bank_account_token:,
|
|
111
70
|
# Tier assigned to the financial account
|
|
112
|
-
tier
|
|
113
|
-
# Reason for the financial account being marked as Charged Off
|
|
114
|
-
charged_off_reason: nil,
|
|
115
|
-
# State of the financial account
|
|
116
|
-
financial_account_state: nil,
|
|
117
|
-
is_spend_blocked: nil
|
|
71
|
+
tier:
|
|
118
72
|
)
|
|
119
73
|
end
|
|
120
74
|
|
|
@@ -127,14 +81,7 @@ module Lithic
|
|
|
127
81
|
credit_limit: T.nilable(Integer),
|
|
128
82
|
credit_product_token: T.nilable(String),
|
|
129
83
|
external_bank_account_token: T.nilable(String),
|
|
130
|
-
tier: T.nilable(String)
|
|
131
|
-
charged_off_reason:
|
|
132
|
-
T.nilable(
|
|
133
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::TaggedSymbol
|
|
134
|
-
),
|
|
135
|
-
financial_account_state:
|
|
136
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol,
|
|
137
|
-
is_spend_blocked: T::Boolean
|
|
84
|
+
tier: T.nilable(String)
|
|
138
85
|
}
|
|
139
86
|
)
|
|
140
87
|
end
|
|
@@ -169,86 +116,6 @@ module Lithic
|
|
|
169
116
|
def to_hash
|
|
170
117
|
end
|
|
171
118
|
end
|
|
172
|
-
|
|
173
|
-
# Reason for the financial account being marked as Charged Off
|
|
174
|
-
module ChargedOffReason
|
|
175
|
-
extend Lithic::Internal::Type::Enum
|
|
176
|
-
|
|
177
|
-
TaggedSymbol =
|
|
178
|
-
T.type_alias do
|
|
179
|
-
T.all(
|
|
180
|
-
Symbol,
|
|
181
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason
|
|
182
|
-
)
|
|
183
|
-
end
|
|
184
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
185
|
-
|
|
186
|
-
DELINQUENT =
|
|
187
|
-
T.let(
|
|
188
|
-
:DELINQUENT,
|
|
189
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::TaggedSymbol
|
|
190
|
-
)
|
|
191
|
-
FRAUD =
|
|
192
|
-
T.let(
|
|
193
|
-
:FRAUD,
|
|
194
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::TaggedSymbol
|
|
195
|
-
)
|
|
196
|
-
|
|
197
|
-
sig do
|
|
198
|
-
override.returns(
|
|
199
|
-
T::Array[
|
|
200
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason::TaggedSymbol
|
|
201
|
-
]
|
|
202
|
-
)
|
|
203
|
-
end
|
|
204
|
-
def self.values
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
# State of the financial account
|
|
209
|
-
module FinancialAccountState
|
|
210
|
-
extend Lithic::Internal::Type::Enum
|
|
211
|
-
|
|
212
|
-
TaggedSymbol =
|
|
213
|
-
T.type_alias do
|
|
214
|
-
T.all(
|
|
215
|
-
Symbol,
|
|
216
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState
|
|
217
|
-
)
|
|
218
|
-
end
|
|
219
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
220
|
-
|
|
221
|
-
PENDING =
|
|
222
|
-
T.let(
|
|
223
|
-
:PENDING,
|
|
224
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
225
|
-
)
|
|
226
|
-
CURRENT =
|
|
227
|
-
T.let(
|
|
228
|
-
:CURRENT,
|
|
229
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
230
|
-
)
|
|
231
|
-
DELINQUENT =
|
|
232
|
-
T.let(
|
|
233
|
-
:DELINQUENT,
|
|
234
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
235
|
-
)
|
|
236
|
-
CHARGED_OFF =
|
|
237
|
-
T.let(
|
|
238
|
-
:CHARGED_OFF,
|
|
239
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
240
|
-
)
|
|
241
|
-
|
|
242
|
-
sig do
|
|
243
|
-
override.returns(
|
|
244
|
-
T::Array[
|
|
245
|
-
Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState::TaggedSymbol
|
|
246
|
-
]
|
|
247
|
-
)
|
|
248
|
-
end
|
|
249
|
-
def self.values
|
|
250
|
-
end
|
|
251
|
-
end
|
|
252
119
|
end
|
|
253
120
|
end
|
|
254
121
|
end
|
|
@@ -884,6 +884,10 @@ module Lithic
|
|
|
884
884
|
sig { returns(Integer) }
|
|
885
885
|
attr_accessor :credits
|
|
886
886
|
|
|
887
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
888
|
+
sig { returns(Integer) }
|
|
889
|
+
attr_accessor :debits
|
|
890
|
+
|
|
887
891
|
# Volume of debit management operation transactions less any interest in cents
|
|
888
892
|
sig { returns(Integer) }
|
|
889
893
|
attr_accessor :fees
|
|
@@ -900,15 +904,40 @@ module Lithic
|
|
|
900
904
|
sig { returns(Integer) }
|
|
901
905
|
attr_accessor :purchases
|
|
902
906
|
|
|
907
|
+
# Breakdown of credits
|
|
908
|
+
sig { returns(T.nilable(T.anything)) }
|
|
909
|
+
attr_reader :credit_details
|
|
910
|
+
|
|
911
|
+
sig { params(credit_details: T.anything).void }
|
|
912
|
+
attr_writer :credit_details
|
|
913
|
+
|
|
914
|
+
# Breakdown of debits
|
|
915
|
+
sig { returns(T.nilable(T.anything)) }
|
|
916
|
+
attr_reader :debit_details
|
|
917
|
+
|
|
918
|
+
sig { params(debit_details: T.anything).void }
|
|
919
|
+
attr_writer :debit_details
|
|
920
|
+
|
|
921
|
+
# Breakdown of payments
|
|
922
|
+
sig { returns(T.nilable(T.anything)) }
|
|
923
|
+
attr_reader :payment_details
|
|
924
|
+
|
|
925
|
+
sig { params(payment_details: T.anything).void }
|
|
926
|
+
attr_writer :payment_details
|
|
927
|
+
|
|
903
928
|
sig do
|
|
904
929
|
params(
|
|
905
930
|
balance_transfers: Integer,
|
|
906
931
|
cash_advances: Integer,
|
|
907
932
|
credits: Integer,
|
|
933
|
+
debits: Integer,
|
|
908
934
|
fees: Integer,
|
|
909
935
|
interest: Integer,
|
|
910
936
|
payments: Integer,
|
|
911
|
-
purchases: Integer
|
|
937
|
+
purchases: Integer,
|
|
938
|
+
credit_details: T.anything,
|
|
939
|
+
debit_details: T.anything,
|
|
940
|
+
payment_details: T.anything
|
|
912
941
|
).returns(T.attached_class)
|
|
913
942
|
end
|
|
914
943
|
def self.new(
|
|
@@ -920,13 +949,21 @@ module Lithic
|
|
|
920
949
|
# cents
|
|
921
950
|
credits:,
|
|
922
951
|
# Volume of debit management operation transactions less any interest in cents
|
|
952
|
+
debits:,
|
|
953
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
923
954
|
fees:,
|
|
924
955
|
# Interest accrued in cents
|
|
925
956
|
interest:,
|
|
926
957
|
# Any funds transfers which affective the balance in cents
|
|
927
958
|
payments:,
|
|
928
959
|
# Net card transaction volume less any cash advances in cents
|
|
929
|
-
purchases
|
|
960
|
+
purchases:,
|
|
961
|
+
# Breakdown of credits
|
|
962
|
+
credit_details: nil,
|
|
963
|
+
# Breakdown of debits
|
|
964
|
+
debit_details: nil,
|
|
965
|
+
# Breakdown of payments
|
|
966
|
+
payment_details: nil
|
|
930
967
|
)
|
|
931
968
|
end
|
|
932
969
|
|
|
@@ -936,10 +973,14 @@ module Lithic
|
|
|
936
973
|
balance_transfers: Integer,
|
|
937
974
|
cash_advances: Integer,
|
|
938
975
|
credits: Integer,
|
|
976
|
+
debits: Integer,
|
|
939
977
|
fees: Integer,
|
|
940
978
|
interest: Integer,
|
|
941
979
|
payments: Integer,
|
|
942
|
-
purchases: Integer
|
|
980
|
+
purchases: Integer,
|
|
981
|
+
credit_details: T.anything,
|
|
982
|
+
debit_details: T.anything,
|
|
983
|
+
payment_details: T.anything
|
|
943
984
|
}
|
|
944
985
|
)
|
|
945
986
|
end
|
|
@@ -1308,6 +1349,10 @@ module Lithic
|
|
|
1308
1349
|
sig { returns(Integer) }
|
|
1309
1350
|
attr_accessor :credits
|
|
1310
1351
|
|
|
1352
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
1353
|
+
sig { returns(Integer) }
|
|
1354
|
+
attr_accessor :debits
|
|
1355
|
+
|
|
1311
1356
|
# Volume of debit management operation transactions less any interest in cents
|
|
1312
1357
|
sig { returns(Integer) }
|
|
1313
1358
|
attr_accessor :fees
|
|
@@ -1324,15 +1369,40 @@ module Lithic
|
|
|
1324
1369
|
sig { returns(Integer) }
|
|
1325
1370
|
attr_accessor :purchases
|
|
1326
1371
|
|
|
1372
|
+
# Breakdown of credits
|
|
1373
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1374
|
+
attr_reader :credit_details
|
|
1375
|
+
|
|
1376
|
+
sig { params(credit_details: T.anything).void }
|
|
1377
|
+
attr_writer :credit_details
|
|
1378
|
+
|
|
1379
|
+
# Breakdown of debits
|
|
1380
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1381
|
+
attr_reader :debit_details
|
|
1382
|
+
|
|
1383
|
+
sig { params(debit_details: T.anything).void }
|
|
1384
|
+
attr_writer :debit_details
|
|
1385
|
+
|
|
1386
|
+
# Breakdown of payments
|
|
1387
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1388
|
+
attr_reader :payment_details
|
|
1389
|
+
|
|
1390
|
+
sig { params(payment_details: T.anything).void }
|
|
1391
|
+
attr_writer :payment_details
|
|
1392
|
+
|
|
1327
1393
|
sig do
|
|
1328
1394
|
params(
|
|
1329
1395
|
balance_transfers: Integer,
|
|
1330
1396
|
cash_advances: Integer,
|
|
1331
1397
|
credits: Integer,
|
|
1398
|
+
debits: Integer,
|
|
1332
1399
|
fees: Integer,
|
|
1333
1400
|
interest: Integer,
|
|
1334
1401
|
payments: Integer,
|
|
1335
|
-
purchases: Integer
|
|
1402
|
+
purchases: Integer,
|
|
1403
|
+
credit_details: T.anything,
|
|
1404
|
+
debit_details: T.anything,
|
|
1405
|
+
payment_details: T.anything
|
|
1336
1406
|
).returns(T.attached_class)
|
|
1337
1407
|
end
|
|
1338
1408
|
def self.new(
|
|
@@ -1344,13 +1414,21 @@ module Lithic
|
|
|
1344
1414
|
# cents
|
|
1345
1415
|
credits:,
|
|
1346
1416
|
# Volume of debit management operation transactions less any interest in cents
|
|
1417
|
+
debits:,
|
|
1418
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
1347
1419
|
fees:,
|
|
1348
1420
|
# Interest accrued in cents
|
|
1349
1421
|
interest:,
|
|
1350
1422
|
# Any funds transfers which affective the balance in cents
|
|
1351
1423
|
payments:,
|
|
1352
1424
|
# Net card transaction volume less any cash advances in cents
|
|
1353
|
-
purchases
|
|
1425
|
+
purchases:,
|
|
1426
|
+
# Breakdown of credits
|
|
1427
|
+
credit_details: nil,
|
|
1428
|
+
# Breakdown of debits
|
|
1429
|
+
debit_details: nil,
|
|
1430
|
+
# Breakdown of payments
|
|
1431
|
+
payment_details: nil
|
|
1354
1432
|
)
|
|
1355
1433
|
end
|
|
1356
1434
|
|
|
@@ -1360,10 +1438,14 @@ module Lithic
|
|
|
1360
1438
|
balance_transfers: Integer,
|
|
1361
1439
|
cash_advances: Integer,
|
|
1362
1440
|
credits: Integer,
|
|
1441
|
+
debits: Integer,
|
|
1363
1442
|
fees: Integer,
|
|
1364
1443
|
interest: Integer,
|
|
1365
1444
|
payments: Integer,
|
|
1366
|
-
purchases: Integer
|
|
1445
|
+
purchases: Integer,
|
|
1446
|
+
credit_details: T.anything,
|
|
1447
|
+
debit_details: T.anything,
|
|
1448
|
+
payment_details: T.anything
|
|
1367
1449
|
}
|
|
1368
1450
|
)
|
|
1369
1451
|
end
|
|
@@ -1421,6 +1503,10 @@ module Lithic
|
|
|
1421
1503
|
sig { returns(Integer) }
|
|
1422
1504
|
attr_accessor :credits
|
|
1423
1505
|
|
|
1506
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
1507
|
+
sig { returns(Integer) }
|
|
1508
|
+
attr_accessor :debits
|
|
1509
|
+
|
|
1424
1510
|
# Volume of debit management operation transactions less any interest in cents
|
|
1425
1511
|
sig { returns(Integer) }
|
|
1426
1512
|
attr_accessor :fees
|
|
@@ -1437,15 +1523,40 @@ module Lithic
|
|
|
1437
1523
|
sig { returns(Integer) }
|
|
1438
1524
|
attr_accessor :purchases
|
|
1439
1525
|
|
|
1526
|
+
# Breakdown of credits
|
|
1527
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1528
|
+
attr_reader :credit_details
|
|
1529
|
+
|
|
1530
|
+
sig { params(credit_details: T.anything).void }
|
|
1531
|
+
attr_writer :credit_details
|
|
1532
|
+
|
|
1533
|
+
# Breakdown of debits
|
|
1534
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1535
|
+
attr_reader :debit_details
|
|
1536
|
+
|
|
1537
|
+
sig { params(debit_details: T.anything).void }
|
|
1538
|
+
attr_writer :debit_details
|
|
1539
|
+
|
|
1540
|
+
# Breakdown of payments
|
|
1541
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1542
|
+
attr_reader :payment_details
|
|
1543
|
+
|
|
1544
|
+
sig { params(payment_details: T.anything).void }
|
|
1545
|
+
attr_writer :payment_details
|
|
1546
|
+
|
|
1440
1547
|
sig do
|
|
1441
1548
|
params(
|
|
1442
1549
|
balance_transfers: Integer,
|
|
1443
1550
|
cash_advances: Integer,
|
|
1444
1551
|
credits: Integer,
|
|
1552
|
+
debits: Integer,
|
|
1445
1553
|
fees: Integer,
|
|
1446
1554
|
interest: Integer,
|
|
1447
1555
|
payments: Integer,
|
|
1448
|
-
purchases: Integer
|
|
1556
|
+
purchases: Integer,
|
|
1557
|
+
credit_details: T.anything,
|
|
1558
|
+
debit_details: T.anything,
|
|
1559
|
+
payment_details: T.anything
|
|
1449
1560
|
).returns(T.attached_class)
|
|
1450
1561
|
end
|
|
1451
1562
|
def self.new(
|
|
@@ -1457,13 +1568,21 @@ module Lithic
|
|
|
1457
1568
|
# cents
|
|
1458
1569
|
credits:,
|
|
1459
1570
|
# Volume of debit management operation transactions less any interest in cents
|
|
1571
|
+
debits:,
|
|
1572
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
1460
1573
|
fees:,
|
|
1461
1574
|
# Interest accrued in cents
|
|
1462
1575
|
interest:,
|
|
1463
1576
|
# Any funds transfers which affective the balance in cents
|
|
1464
1577
|
payments:,
|
|
1465
1578
|
# Net card transaction volume less any cash advances in cents
|
|
1466
|
-
purchases
|
|
1579
|
+
purchases:,
|
|
1580
|
+
# Breakdown of credits
|
|
1581
|
+
credit_details: nil,
|
|
1582
|
+
# Breakdown of debits
|
|
1583
|
+
debit_details: nil,
|
|
1584
|
+
# Breakdown of payments
|
|
1585
|
+
payment_details: nil
|
|
1467
1586
|
)
|
|
1468
1587
|
end
|
|
1469
1588
|
|
|
@@ -1473,10 +1592,14 @@ module Lithic
|
|
|
1473
1592
|
balance_transfers: Integer,
|
|
1474
1593
|
cash_advances: Integer,
|
|
1475
1594
|
credits: Integer,
|
|
1595
|
+
debits: Integer,
|
|
1476
1596
|
fees: Integer,
|
|
1477
1597
|
interest: Integer,
|
|
1478
1598
|
payments: Integer,
|
|
1479
|
-
purchases: Integer
|
|
1599
|
+
purchases: Integer,
|
|
1600
|
+
credit_details: T.anything,
|
|
1601
|
+
debit_details: T.anything,
|
|
1602
|
+
payment_details: T.anything
|
|
1480
1603
|
}
|
|
1481
1604
|
)
|
|
1482
1605
|
end
|