lithic 0.1.0.pre.alpha.55 → 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 +20 -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/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 +8 -53
- 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 +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- 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/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 +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- 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 +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- 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/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- 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 +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- 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/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 +13 -153
- 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 +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- 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/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 +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- 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 +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -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/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- 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 +46 -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/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 +10 -61
- 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 +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- 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/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 +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- 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 +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- 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/disputes.rbs +5 -5
- 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 +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
|
@@ -11,20 +11,20 @@ module Lithic
|
|
|
11
11
|
credit_limit: Integer,
|
|
12
12
|
credit_product_token: String,
|
|
13
13
|
date: Date,
|
|
14
|
-
day_totals: Lithic::
|
|
14
|
+
day_totals: Lithic::StatementTotals,
|
|
15
15
|
ending_balance: Integer,
|
|
16
16
|
excess_credits: Integer,
|
|
17
17
|
financial_account_token: String,
|
|
18
18
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
19
19
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
20
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
21
|
-
period_totals: Lithic::
|
|
20
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
21
|
+
period_totals: Lithic::StatementTotals,
|
|
22
22
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
23
23
|
starting_balance: Integer,
|
|
24
24
|
updated: Time,
|
|
25
25
|
version: Integer,
|
|
26
|
-
ytd_totals: Lithic::
|
|
27
|
-
tier: String
|
|
26
|
+
ytd_totals: Lithic::StatementTotals,
|
|
27
|
+
tier: String?
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
class LoanTape < Lithic::Internal::Type::BaseModel
|
|
@@ -44,7 +44,7 @@ module Lithic
|
|
|
44
44
|
|
|
45
45
|
attr_accessor date: Date
|
|
46
46
|
|
|
47
|
-
attr_accessor day_totals: Lithic::
|
|
47
|
+
attr_accessor day_totals: Lithic::StatementTotals
|
|
48
48
|
|
|
49
49
|
attr_accessor ending_balance: Integer
|
|
50
50
|
|
|
@@ -56,9 +56,9 @@ module Lithic
|
|
|
56
56
|
|
|
57
57
|
attr_accessor minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance
|
|
58
58
|
|
|
59
|
-
attr_accessor payment_allocation: Lithic::FinancialAccounts::
|
|
59
|
+
attr_accessor payment_allocation: Lithic::FinancialAccounts::CategoryBalances
|
|
60
60
|
|
|
61
|
-
attr_accessor period_totals: Lithic::
|
|
61
|
+
attr_accessor period_totals: Lithic::StatementTotals
|
|
62
62
|
|
|
63
63
|
attr_accessor previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance
|
|
64
64
|
|
|
@@ -68,11 +68,9 @@ module Lithic
|
|
|
68
68
|
|
|
69
69
|
attr_accessor version: Integer
|
|
70
70
|
|
|
71
|
-
attr_accessor ytd_totals: Lithic::
|
|
71
|
+
attr_accessor ytd_totals: Lithic::StatementTotals
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
def tier=: (String) -> String
|
|
73
|
+
attr_accessor tier: String?
|
|
76
74
|
|
|
77
75
|
def initialize: (
|
|
78
76
|
token: String,
|
|
@@ -83,20 +81,20 @@ module Lithic
|
|
|
83
81
|
credit_limit: Integer,
|
|
84
82
|
credit_product_token: String,
|
|
85
83
|
date: Date,
|
|
86
|
-
day_totals: Lithic::
|
|
84
|
+
day_totals: Lithic::StatementTotals,
|
|
87
85
|
ending_balance: Integer,
|
|
88
86
|
excess_credits: Integer,
|
|
89
87
|
financial_account_token: String,
|
|
90
88
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
91
89
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
92
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
93
|
-
period_totals: Lithic::
|
|
90
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
91
|
+
period_totals: Lithic::StatementTotals,
|
|
94
92
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
95
93
|
starting_balance: Integer,
|
|
96
94
|
updated: Time,
|
|
97
95
|
version: Integer,
|
|
98
|
-
ytd_totals: Lithic::
|
|
99
|
-
?tier: String
|
|
96
|
+
ytd_totals: Lithic::StatementTotals,
|
|
97
|
+
?tier: String?
|
|
100
98
|
) -> void
|
|
101
99
|
|
|
102
100
|
def to_hash: -> {
|
|
@@ -108,20 +106,20 @@ module Lithic
|
|
|
108
106
|
credit_limit: Integer,
|
|
109
107
|
credit_product_token: String,
|
|
110
108
|
date: Date,
|
|
111
|
-
day_totals: Lithic::
|
|
109
|
+
day_totals: Lithic::StatementTotals,
|
|
112
110
|
ending_balance: Integer,
|
|
113
111
|
excess_credits: Integer,
|
|
114
112
|
financial_account_token: String,
|
|
115
113
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
116
114
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
117
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
118
|
-
period_totals: Lithic::
|
|
115
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
116
|
+
period_totals: Lithic::StatementTotals,
|
|
119
117
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
120
118
|
starting_balance: Integer,
|
|
121
119
|
updated: Time,
|
|
122
120
|
version: Integer,
|
|
123
|
-
ytd_totals: Lithic::
|
|
124
|
-
tier: String
|
|
121
|
+
ytd_totals: Lithic::StatementTotals,
|
|
122
|
+
tier: String?
|
|
125
123
|
}
|
|
126
124
|
|
|
127
125
|
type account_standing =
|
|
@@ -244,207 +242,43 @@ module Lithic
|
|
|
244
242
|
|
|
245
243
|
type balances =
|
|
246
244
|
{
|
|
247
|
-
due: Lithic::FinancialAccounts::
|
|
248
|
-
next_statement_due: Lithic::FinancialAccounts::
|
|
249
|
-
past_due: Lithic::FinancialAccounts::
|
|
250
|
-
past_statements_due: Lithic::FinancialAccounts::
|
|
245
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
246
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
247
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
248
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
251
249
|
}
|
|
252
250
|
|
|
253
251
|
class Balances < Lithic::Internal::Type::BaseModel
|
|
254
|
-
attr_accessor due: Lithic::FinancialAccounts::
|
|
255
|
-
|
|
256
|
-
attr_accessor next_statement_due: Lithic::FinancialAccounts::LoanTape::Balances::NextStatementDue
|
|
257
|
-
|
|
258
|
-
attr_accessor past_due: Lithic::FinancialAccounts::LoanTape::Balances::PastDue
|
|
259
|
-
|
|
260
|
-
attr_accessor past_statements_due: Lithic::FinancialAccounts::LoanTape::Balances::PastStatementsDue
|
|
261
|
-
|
|
262
|
-
def initialize: (
|
|
263
|
-
due: Lithic::FinancialAccounts::LoanTape::Balances::Due,
|
|
264
|
-
next_statement_due: Lithic::FinancialAccounts::LoanTape::Balances::NextStatementDue,
|
|
265
|
-
past_due: Lithic::FinancialAccounts::LoanTape::Balances::PastDue,
|
|
266
|
-
past_statements_due: Lithic::FinancialAccounts::LoanTape::Balances::PastStatementsDue
|
|
267
|
-
) -> void
|
|
268
|
-
|
|
269
|
-
def to_hash: -> {
|
|
270
|
-
due: Lithic::FinancialAccounts::LoanTape::Balances::Due,
|
|
271
|
-
next_statement_due: Lithic::FinancialAccounts::LoanTape::Balances::NextStatementDue,
|
|
272
|
-
past_due: Lithic::FinancialAccounts::LoanTape::Balances::PastDue,
|
|
273
|
-
past_statements_due: Lithic::FinancialAccounts::LoanTape::Balances::PastStatementsDue
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
type due = { fees: Integer, interest: Integer, principal: Integer }
|
|
277
|
-
|
|
278
|
-
class Due < Lithic::Internal::Type::BaseModel
|
|
279
|
-
attr_accessor fees: Integer
|
|
280
|
-
|
|
281
|
-
attr_accessor interest: Integer
|
|
282
|
-
|
|
283
|
-
attr_accessor principal: Integer
|
|
284
|
-
|
|
285
|
-
def initialize: (
|
|
286
|
-
fees: Integer,
|
|
287
|
-
interest: Integer,
|
|
288
|
-
principal: Integer
|
|
289
|
-
) -> void
|
|
290
|
-
|
|
291
|
-
def to_hash: -> {
|
|
292
|
-
fees: Integer,
|
|
293
|
-
interest: Integer,
|
|
294
|
-
principal: Integer
|
|
295
|
-
}
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
type next_statement_due =
|
|
299
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
300
|
-
|
|
301
|
-
class NextStatementDue < Lithic::Internal::Type::BaseModel
|
|
302
|
-
attr_accessor fees: Integer
|
|
303
|
-
|
|
304
|
-
attr_accessor interest: Integer
|
|
305
|
-
|
|
306
|
-
attr_accessor principal: Integer
|
|
307
|
-
|
|
308
|
-
def initialize: (
|
|
309
|
-
fees: Integer,
|
|
310
|
-
interest: Integer,
|
|
311
|
-
principal: Integer
|
|
312
|
-
) -> void
|
|
313
|
-
|
|
314
|
-
def to_hash: -> {
|
|
315
|
-
fees: Integer,
|
|
316
|
-
interest: Integer,
|
|
317
|
-
principal: Integer
|
|
318
|
-
}
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
type past_due =
|
|
322
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
323
|
-
|
|
324
|
-
class PastDue < Lithic::Internal::Type::BaseModel
|
|
325
|
-
attr_accessor fees: Integer
|
|
326
|
-
|
|
327
|
-
attr_accessor interest: Integer
|
|
328
|
-
|
|
329
|
-
attr_accessor principal: Integer
|
|
330
|
-
|
|
331
|
-
def initialize: (
|
|
332
|
-
fees: Integer,
|
|
333
|
-
interest: Integer,
|
|
334
|
-
principal: Integer
|
|
335
|
-
) -> void
|
|
336
|
-
|
|
337
|
-
def to_hash: -> {
|
|
338
|
-
fees: Integer,
|
|
339
|
-
interest: Integer,
|
|
340
|
-
principal: Integer
|
|
341
|
-
}
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
type past_statements_due =
|
|
345
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
346
|
-
|
|
347
|
-
class PastStatementsDue < Lithic::Internal::Type::BaseModel
|
|
348
|
-
attr_accessor fees: Integer
|
|
349
|
-
|
|
350
|
-
attr_accessor interest: Integer
|
|
351
|
-
|
|
352
|
-
attr_accessor principal: Integer
|
|
353
|
-
|
|
354
|
-
def initialize: (
|
|
355
|
-
fees: Integer,
|
|
356
|
-
interest: Integer,
|
|
357
|
-
principal: Integer
|
|
358
|
-
) -> void
|
|
359
|
-
|
|
360
|
-
def to_hash: -> {
|
|
361
|
-
fees: Integer,
|
|
362
|
-
interest: Integer,
|
|
363
|
-
principal: Integer
|
|
364
|
-
}
|
|
365
|
-
end
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
type day_totals =
|
|
369
|
-
{
|
|
370
|
-
balance_transfers: Integer,
|
|
371
|
-
cash_advances: Integer,
|
|
372
|
-
credits: Integer,
|
|
373
|
-
debits: Integer,
|
|
374
|
-
fees: Integer,
|
|
375
|
-
interest: Integer,
|
|
376
|
-
payments: Integer,
|
|
377
|
-
purchases: Integer,
|
|
378
|
-
credit_details: top,
|
|
379
|
-
debit_details: top,
|
|
380
|
-
payment_details: top
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
class DayTotals < Lithic::Internal::Type::BaseModel
|
|
384
|
-
attr_accessor balance_transfers: Integer
|
|
385
|
-
|
|
386
|
-
attr_accessor cash_advances: Integer
|
|
387
|
-
|
|
388
|
-
attr_accessor credits: Integer
|
|
389
|
-
|
|
390
|
-
attr_accessor debits: Integer
|
|
391
|
-
|
|
392
|
-
attr_accessor fees: Integer
|
|
252
|
+
attr_accessor due: Lithic::FinancialAccounts::CategoryBalances
|
|
393
253
|
|
|
394
|
-
attr_accessor
|
|
254
|
+
attr_accessor next_statement_due: Lithic::FinancialAccounts::CategoryBalances
|
|
395
255
|
|
|
396
|
-
attr_accessor
|
|
256
|
+
attr_accessor past_due: Lithic::FinancialAccounts::CategoryBalances
|
|
397
257
|
|
|
398
|
-
attr_accessor
|
|
399
|
-
|
|
400
|
-
attr_reader credit_details: top?
|
|
401
|
-
|
|
402
|
-
def credit_details=: (top) -> top
|
|
403
|
-
|
|
404
|
-
attr_reader debit_details: top?
|
|
405
|
-
|
|
406
|
-
def debit_details=: (top) -> top
|
|
407
|
-
|
|
408
|
-
attr_reader payment_details: top?
|
|
409
|
-
|
|
410
|
-
def payment_details=: (top) -> top
|
|
258
|
+
attr_accessor past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
411
259
|
|
|
412
260
|
def initialize: (
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
fees: Integer,
|
|
418
|
-
interest: Integer,
|
|
419
|
-
payments: Integer,
|
|
420
|
-
purchases: Integer,
|
|
421
|
-
?credit_details: top,
|
|
422
|
-
?debit_details: top,
|
|
423
|
-
?payment_details: top
|
|
261
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
262
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
263
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
264
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
424
265
|
) -> void
|
|
425
266
|
|
|
426
267
|
def to_hash: -> {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
fees: Integer,
|
|
432
|
-
interest: Integer,
|
|
433
|
-
payments: Integer,
|
|
434
|
-
purchases: Integer,
|
|
435
|
-
credit_details: top,
|
|
436
|
-
debit_details: top,
|
|
437
|
-
payment_details: top
|
|
268
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
269
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
270
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
271
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
438
272
|
}
|
|
439
273
|
end
|
|
440
274
|
|
|
441
275
|
type interest_details =
|
|
442
276
|
{
|
|
443
277
|
actual_interest_charged: Integer?,
|
|
444
|
-
daily_balance_amounts: Lithic::
|
|
445
|
-
effective_apr: Lithic::
|
|
278
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
279
|
+
effective_apr: Lithic::CategoryDetails,
|
|
446
280
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
447
|
-
interest_for_period: Lithic::
|
|
281
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
448
282
|
prime_rate: String?,
|
|
449
283
|
minimum_interest_charged: Integer?
|
|
450
284
|
}
|
|
@@ -452,13 +286,13 @@ module Lithic
|
|
|
452
286
|
class InterestDetails < Lithic::Internal::Type::BaseModel
|
|
453
287
|
attr_accessor actual_interest_charged: Integer?
|
|
454
288
|
|
|
455
|
-
attr_accessor daily_balance_amounts: Lithic::
|
|
289
|
+
attr_accessor daily_balance_amounts: Lithic::CategoryDetails
|
|
456
290
|
|
|
457
|
-
attr_accessor effective_apr: Lithic::
|
|
291
|
+
attr_accessor effective_apr: Lithic::CategoryDetails
|
|
458
292
|
|
|
459
293
|
attr_accessor interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method
|
|
460
294
|
|
|
461
|
-
attr_accessor interest_for_period: Lithic::
|
|
295
|
+
attr_accessor interest_for_period: Lithic::CategoryDetails
|
|
462
296
|
|
|
463
297
|
attr_accessor prime_rate: String?
|
|
464
298
|
|
|
@@ -466,78 +300,24 @@ module Lithic
|
|
|
466
300
|
|
|
467
301
|
def initialize: (
|
|
468
302
|
actual_interest_charged: Integer?,
|
|
469
|
-
daily_balance_amounts: Lithic::
|
|
470
|
-
effective_apr: Lithic::
|
|
303
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
304
|
+
effective_apr: Lithic::CategoryDetails,
|
|
471
305
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
472
|
-
interest_for_period: Lithic::
|
|
306
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
473
307
|
prime_rate: String?,
|
|
474
308
|
?minimum_interest_charged: Integer?
|
|
475
309
|
) -> void
|
|
476
310
|
|
|
477
311
|
def to_hash: -> {
|
|
478
312
|
actual_interest_charged: Integer?,
|
|
479
|
-
daily_balance_amounts: Lithic::
|
|
480
|
-
effective_apr: Lithic::
|
|
313
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
314
|
+
effective_apr: Lithic::CategoryDetails,
|
|
481
315
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
482
|
-
interest_for_period: Lithic::
|
|
316
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
483
317
|
prime_rate: String?,
|
|
484
318
|
minimum_interest_charged: Integer?
|
|
485
319
|
}
|
|
486
320
|
|
|
487
|
-
type daily_balance_amounts =
|
|
488
|
-
{
|
|
489
|
-
balance_transfers: String,
|
|
490
|
-
cash_advances: String,
|
|
491
|
-
purchases: String
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
|
|
495
|
-
attr_accessor balance_transfers: String
|
|
496
|
-
|
|
497
|
-
attr_accessor cash_advances: String
|
|
498
|
-
|
|
499
|
-
attr_accessor purchases: String
|
|
500
|
-
|
|
501
|
-
def initialize: (
|
|
502
|
-
balance_transfers: String,
|
|
503
|
-
cash_advances: String,
|
|
504
|
-
purchases: String
|
|
505
|
-
) -> void
|
|
506
|
-
|
|
507
|
-
def to_hash: -> {
|
|
508
|
-
balance_transfers: String,
|
|
509
|
-
cash_advances: String,
|
|
510
|
-
purchases: String
|
|
511
|
-
}
|
|
512
|
-
end
|
|
513
|
-
|
|
514
|
-
type effective_apr =
|
|
515
|
-
{
|
|
516
|
-
balance_transfers: String,
|
|
517
|
-
cash_advances: String,
|
|
518
|
-
purchases: String
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
class EffectiveApr < Lithic::Internal::Type::BaseModel
|
|
522
|
-
attr_accessor balance_transfers: String
|
|
523
|
-
|
|
524
|
-
attr_accessor cash_advances: String
|
|
525
|
-
|
|
526
|
-
attr_accessor purchases: String
|
|
527
|
-
|
|
528
|
-
def initialize: (
|
|
529
|
-
balance_transfers: String,
|
|
530
|
-
cash_advances: String,
|
|
531
|
-
purchases: String
|
|
532
|
-
) -> void
|
|
533
|
-
|
|
534
|
-
def to_hash: -> {
|
|
535
|
-
balance_transfers: String,
|
|
536
|
-
cash_advances: String,
|
|
537
|
-
purchases: String
|
|
538
|
-
}
|
|
539
|
-
end
|
|
540
|
-
|
|
541
321
|
type interest_calculation_method = :DAILY | :AVERAGE_DAILY
|
|
542
322
|
|
|
543
323
|
module InterestCalculationMethod
|
|
@@ -548,33 +328,6 @@ module Lithic
|
|
|
548
328
|
|
|
549
329
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method]
|
|
550
330
|
end
|
|
551
|
-
|
|
552
|
-
type interest_for_period =
|
|
553
|
-
{
|
|
554
|
-
balance_transfers: String,
|
|
555
|
-
cash_advances: String,
|
|
556
|
-
purchases: String
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
class InterestForPeriod < Lithic::Internal::Type::BaseModel
|
|
560
|
-
attr_accessor balance_transfers: String
|
|
561
|
-
|
|
562
|
-
attr_accessor cash_advances: String
|
|
563
|
-
|
|
564
|
-
attr_accessor purchases: String
|
|
565
|
-
|
|
566
|
-
def initialize: (
|
|
567
|
-
balance_transfers: String,
|
|
568
|
-
cash_advances: String,
|
|
569
|
-
purchases: String
|
|
570
|
-
) -> void
|
|
571
|
-
|
|
572
|
-
def to_hash: -> {
|
|
573
|
-
balance_transfers: String,
|
|
574
|
-
cash_advances: String,
|
|
575
|
-
purchases: String
|
|
576
|
-
}
|
|
577
|
-
end
|
|
578
331
|
end
|
|
579
332
|
|
|
580
333
|
type minimum_payment_balance = { amount: Integer, remaining: Integer }
|
|
@@ -589,102 +342,6 @@ module Lithic
|
|
|
589
342
|
def to_hash: -> { amount: Integer, remaining: Integer }
|
|
590
343
|
end
|
|
591
344
|
|
|
592
|
-
type payment_allocation =
|
|
593
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
594
|
-
|
|
595
|
-
class PaymentAllocation < Lithic::Internal::Type::BaseModel
|
|
596
|
-
attr_accessor fees: Integer
|
|
597
|
-
|
|
598
|
-
attr_accessor interest: Integer
|
|
599
|
-
|
|
600
|
-
attr_accessor principal: Integer
|
|
601
|
-
|
|
602
|
-
def initialize: (
|
|
603
|
-
fees: Integer,
|
|
604
|
-
interest: Integer,
|
|
605
|
-
principal: Integer
|
|
606
|
-
) -> void
|
|
607
|
-
|
|
608
|
-
def to_hash: -> {
|
|
609
|
-
fees: Integer,
|
|
610
|
-
interest: Integer,
|
|
611
|
-
principal: Integer
|
|
612
|
-
}
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
type period_totals =
|
|
616
|
-
{
|
|
617
|
-
balance_transfers: Integer,
|
|
618
|
-
cash_advances: Integer,
|
|
619
|
-
credits: Integer,
|
|
620
|
-
debits: Integer,
|
|
621
|
-
fees: Integer,
|
|
622
|
-
interest: Integer,
|
|
623
|
-
payments: Integer,
|
|
624
|
-
purchases: Integer,
|
|
625
|
-
credit_details: top,
|
|
626
|
-
debit_details: top,
|
|
627
|
-
payment_details: top
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
class PeriodTotals < Lithic::Internal::Type::BaseModel
|
|
631
|
-
attr_accessor balance_transfers: Integer
|
|
632
|
-
|
|
633
|
-
attr_accessor cash_advances: Integer
|
|
634
|
-
|
|
635
|
-
attr_accessor credits: Integer
|
|
636
|
-
|
|
637
|
-
attr_accessor debits: Integer
|
|
638
|
-
|
|
639
|
-
attr_accessor fees: Integer
|
|
640
|
-
|
|
641
|
-
attr_accessor interest: Integer
|
|
642
|
-
|
|
643
|
-
attr_accessor payments: Integer
|
|
644
|
-
|
|
645
|
-
attr_accessor purchases: Integer
|
|
646
|
-
|
|
647
|
-
attr_reader credit_details: top?
|
|
648
|
-
|
|
649
|
-
def credit_details=: (top) -> top
|
|
650
|
-
|
|
651
|
-
attr_reader debit_details: top?
|
|
652
|
-
|
|
653
|
-
def debit_details=: (top) -> top
|
|
654
|
-
|
|
655
|
-
attr_reader payment_details: top?
|
|
656
|
-
|
|
657
|
-
def payment_details=: (top) -> top
|
|
658
|
-
|
|
659
|
-
def initialize: (
|
|
660
|
-
balance_transfers: Integer,
|
|
661
|
-
cash_advances: Integer,
|
|
662
|
-
credits: Integer,
|
|
663
|
-
debits: Integer,
|
|
664
|
-
fees: Integer,
|
|
665
|
-
interest: Integer,
|
|
666
|
-
payments: Integer,
|
|
667
|
-
purchases: Integer,
|
|
668
|
-
?credit_details: top,
|
|
669
|
-
?debit_details: top,
|
|
670
|
-
?payment_details: top
|
|
671
|
-
) -> void
|
|
672
|
-
|
|
673
|
-
def to_hash: -> {
|
|
674
|
-
balance_transfers: Integer,
|
|
675
|
-
cash_advances: Integer,
|
|
676
|
-
credits: Integer,
|
|
677
|
-
debits: Integer,
|
|
678
|
-
fees: Integer,
|
|
679
|
-
interest: Integer,
|
|
680
|
-
payments: Integer,
|
|
681
|
-
purchases: Integer,
|
|
682
|
-
credit_details: top,
|
|
683
|
-
debit_details: top,
|
|
684
|
-
payment_details: top
|
|
685
|
-
}
|
|
686
|
-
end
|
|
687
|
-
|
|
688
345
|
type previous_statement_balance =
|
|
689
346
|
{ amount: Integer, remaining: Integer }
|
|
690
347
|
|
|
@@ -697,79 +354,6 @@ module Lithic
|
|
|
697
354
|
|
|
698
355
|
def to_hash: -> { amount: Integer, remaining: Integer }
|
|
699
356
|
end
|
|
700
|
-
|
|
701
|
-
type ytd_totals =
|
|
702
|
-
{
|
|
703
|
-
balance_transfers: Integer,
|
|
704
|
-
cash_advances: Integer,
|
|
705
|
-
credits: Integer,
|
|
706
|
-
debits: Integer,
|
|
707
|
-
fees: Integer,
|
|
708
|
-
interest: Integer,
|
|
709
|
-
payments: Integer,
|
|
710
|
-
purchases: Integer,
|
|
711
|
-
credit_details: top,
|
|
712
|
-
debit_details: top,
|
|
713
|
-
payment_details: top
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
class YtdTotals < Lithic::Internal::Type::BaseModel
|
|
717
|
-
attr_accessor balance_transfers: Integer
|
|
718
|
-
|
|
719
|
-
attr_accessor cash_advances: Integer
|
|
720
|
-
|
|
721
|
-
attr_accessor credits: Integer
|
|
722
|
-
|
|
723
|
-
attr_accessor debits: Integer
|
|
724
|
-
|
|
725
|
-
attr_accessor fees: Integer
|
|
726
|
-
|
|
727
|
-
attr_accessor interest: Integer
|
|
728
|
-
|
|
729
|
-
attr_accessor payments: Integer
|
|
730
|
-
|
|
731
|
-
attr_accessor purchases: Integer
|
|
732
|
-
|
|
733
|
-
attr_reader credit_details: top?
|
|
734
|
-
|
|
735
|
-
def credit_details=: (top) -> top
|
|
736
|
-
|
|
737
|
-
attr_reader debit_details: top?
|
|
738
|
-
|
|
739
|
-
def debit_details=: (top) -> top
|
|
740
|
-
|
|
741
|
-
attr_reader payment_details: top?
|
|
742
|
-
|
|
743
|
-
def payment_details=: (top) -> top
|
|
744
|
-
|
|
745
|
-
def initialize: (
|
|
746
|
-
balance_transfers: Integer,
|
|
747
|
-
cash_advances: Integer,
|
|
748
|
-
credits: Integer,
|
|
749
|
-
debits: Integer,
|
|
750
|
-
fees: Integer,
|
|
751
|
-
interest: Integer,
|
|
752
|
-
payments: Integer,
|
|
753
|
-
purchases: Integer,
|
|
754
|
-
?credit_details: top,
|
|
755
|
-
?debit_details: top,
|
|
756
|
-
?payment_details: top
|
|
757
|
-
) -> void
|
|
758
|
-
|
|
759
|
-
def to_hash: -> {
|
|
760
|
-
balance_transfers: Integer,
|
|
761
|
-
cash_advances: Integer,
|
|
762
|
-
credits: Integer,
|
|
763
|
-
debits: Integer,
|
|
764
|
-
fees: Integer,
|
|
765
|
-
interest: Integer,
|
|
766
|
-
payments: Integer,
|
|
767
|
-
purchases: Integer,
|
|
768
|
-
credit_details: top,
|
|
769
|
-
debit_details: top,
|
|
770
|
-
payment_details: top
|
|
771
|
-
}
|
|
772
|
-
end
|
|
773
357
|
end
|
|
774
358
|
end
|
|
775
359
|
end
|