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
|
@@ -94,68 +94,48 @@ module Lithic
|
|
|
94
94
|
# external accounts that are associated with the program, account_token field
|
|
95
95
|
# returned will be null
|
|
96
96
|
sig { returns(T.nilable(String)) }
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
sig { params(account_token: String).void }
|
|
100
|
-
attr_writer :account_token
|
|
97
|
+
attr_accessor :account_token
|
|
101
98
|
|
|
102
99
|
# Address
|
|
103
100
|
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
104
101
|
attr_reader :address
|
|
105
102
|
|
|
106
|
-
sig
|
|
103
|
+
sig do
|
|
104
|
+
params(
|
|
105
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
106
|
+
).void
|
|
107
|
+
end
|
|
107
108
|
attr_writer :address
|
|
108
109
|
|
|
109
110
|
# Optional field that helps identify bank accounts in receipts
|
|
110
111
|
sig { returns(T.nilable(String)) }
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
sig { params(company_id: String).void }
|
|
114
|
-
attr_writer :company_id
|
|
112
|
+
attr_accessor :company_id
|
|
115
113
|
|
|
116
114
|
# Date of Birth of the Individual that owns the external bank account
|
|
117
115
|
sig { returns(T.nilable(Date)) }
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
sig { params(dob: Date).void }
|
|
121
|
-
attr_writer :dob
|
|
116
|
+
attr_accessor :dob
|
|
122
117
|
|
|
123
118
|
# Doing Business As
|
|
124
119
|
sig { returns(T.nilable(String)) }
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
sig { params(doing_business_as: String).void }
|
|
128
|
-
attr_writer :doing_business_as
|
|
120
|
+
attr_accessor :doing_business_as
|
|
129
121
|
|
|
130
122
|
# The financial account token of the operating account to fund the micro deposits
|
|
131
123
|
sig { returns(T.nilable(String)) }
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
sig { params(financial_account_token: String).void }
|
|
135
|
-
attr_writer :financial_account_token
|
|
124
|
+
attr_accessor :financial_account_token
|
|
136
125
|
|
|
137
126
|
# The nickname for this External Bank Account
|
|
138
127
|
sig { returns(T.nilable(String)) }
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
sig { params(name: String).void }
|
|
142
|
-
attr_writer :name
|
|
128
|
+
attr_accessor :name
|
|
143
129
|
|
|
144
130
|
# User Defined ID
|
|
145
131
|
sig { returns(T.nilable(String)) }
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
sig { params(user_defined_id: String).void }
|
|
149
|
-
attr_writer :user_defined_id
|
|
132
|
+
attr_accessor :user_defined_id
|
|
150
133
|
|
|
151
134
|
# Optional free text description of the reason for the failed verification. For
|
|
152
135
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
153
136
|
# by the ACH network
|
|
154
137
|
sig { returns(T.nilable(String)) }
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
sig { params(verification_failed_reason: String).void }
|
|
158
|
-
attr_writer :verification_failed_reason
|
|
138
|
+
attr_accessor :verification_failed_reason
|
|
159
139
|
|
|
160
140
|
sig do
|
|
161
141
|
params(
|
|
@@ -177,15 +157,15 @@ module Lithic
|
|
|
177
157
|
Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse::VerificationMethod::OrSymbol,
|
|
178
158
|
verification_state:
|
|
179
159
|
Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse::VerificationState::OrSymbol,
|
|
180
|
-
account_token: String,
|
|
181
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
182
|
-
company_id: String,
|
|
183
|
-
dob: Date,
|
|
184
|
-
doing_business_as: String,
|
|
185
|
-
financial_account_token: String,
|
|
186
|
-
name: String,
|
|
187
|
-
user_defined_id: String,
|
|
188
|
-
verification_failed_reason: String
|
|
160
|
+
account_token: T.nilable(String),
|
|
161
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
162
|
+
company_id: T.nilable(String),
|
|
163
|
+
dob: T.nilable(Date),
|
|
164
|
+
doing_business_as: T.nilable(String),
|
|
165
|
+
financial_account_token: T.nilable(String),
|
|
166
|
+
name: T.nilable(String),
|
|
167
|
+
user_defined_id: T.nilable(String),
|
|
168
|
+
verification_failed_reason: T.nilable(String)
|
|
189
169
|
).returns(T.attached_class)
|
|
190
170
|
end
|
|
191
171
|
def self.new(
|
|
@@ -268,15 +248,15 @@ module Lithic
|
|
|
268
248
|
Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse::VerificationMethod::TaggedSymbol,
|
|
269
249
|
verification_state:
|
|
270
250
|
Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse::VerificationState::TaggedSymbol,
|
|
271
|
-
account_token: String,
|
|
272
|
-
address: Lithic::ExternalBankAccountAddress,
|
|
273
|
-
company_id: String,
|
|
274
|
-
dob: Date,
|
|
275
|
-
doing_business_as: String,
|
|
276
|
-
financial_account_token: String,
|
|
277
|
-
name: String,
|
|
278
|
-
user_defined_id: String,
|
|
279
|
-
verification_failed_reason: String
|
|
251
|
+
account_token: T.nilable(String),
|
|
252
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
253
|
+
company_id: T.nilable(String),
|
|
254
|
+
dob: T.nilable(Date),
|
|
255
|
+
doing_business_as: T.nilable(String),
|
|
256
|
+
financial_account_token: T.nilable(String),
|
|
257
|
+
name: T.nilable(String),
|
|
258
|
+
user_defined_id: T.nilable(String),
|
|
259
|
+
verification_failed_reason: T.nilable(String)
|
|
280
260
|
}
|
|
281
261
|
)
|
|
282
262
|
end
|
|
@@ -86,68 +86,48 @@ module Lithic
|
|
|
86
86
|
# external accounts that are associated with the program, account_token field
|
|
87
87
|
# returned will be null
|
|
88
88
|
sig { returns(T.nilable(String)) }
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
sig { params(account_token: String).void }
|
|
92
|
-
attr_writer :account_token
|
|
89
|
+
attr_accessor :account_token
|
|
93
90
|
|
|
94
91
|
# Address
|
|
95
92
|
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
96
93
|
attr_reader :address
|
|
97
94
|
|
|
98
|
-
sig
|
|
95
|
+
sig do
|
|
96
|
+
params(
|
|
97
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
98
|
+
).void
|
|
99
|
+
end
|
|
99
100
|
attr_writer :address
|
|
100
101
|
|
|
101
102
|
# Optional field that helps identify bank accounts in receipts
|
|
102
103
|
sig { returns(T.nilable(String)) }
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
sig { params(company_id: String).void }
|
|
106
|
-
attr_writer :company_id
|
|
104
|
+
attr_accessor :company_id
|
|
107
105
|
|
|
108
106
|
# Date of Birth of the Individual that owns the external bank account
|
|
109
107
|
sig { returns(T.nilable(Date)) }
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
sig { params(dob: Date).void }
|
|
113
|
-
attr_writer :dob
|
|
108
|
+
attr_accessor :dob
|
|
114
109
|
|
|
115
110
|
# Doing Business As
|
|
116
111
|
sig { returns(T.nilable(String)) }
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
sig { params(doing_business_as: String).void }
|
|
120
|
-
attr_writer :doing_business_as
|
|
112
|
+
attr_accessor :doing_business_as
|
|
121
113
|
|
|
122
114
|
# The financial account token of the operating account to fund the micro deposits
|
|
123
115
|
sig { returns(T.nilable(String)) }
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
sig { params(financial_account_token: String).void }
|
|
127
|
-
attr_writer :financial_account_token
|
|
116
|
+
attr_accessor :financial_account_token
|
|
128
117
|
|
|
129
118
|
# The nickname for this External Bank Account
|
|
130
119
|
sig { returns(T.nilable(String)) }
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
sig { params(name: String).void }
|
|
134
|
-
attr_writer :name
|
|
120
|
+
attr_accessor :name
|
|
135
121
|
|
|
136
122
|
# User Defined ID
|
|
137
123
|
sig { returns(T.nilable(String)) }
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
sig { params(user_defined_id: String).void }
|
|
141
|
-
attr_writer :user_defined_id
|
|
124
|
+
attr_accessor :user_defined_id
|
|
142
125
|
|
|
143
126
|
# Optional free text description of the reason for the failed verification. For
|
|
144
127
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
145
128
|
# by the ACH network
|
|
146
129
|
sig { returns(T.nilable(String)) }
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
sig { params(verification_failed_reason: String).void }
|
|
150
|
-
attr_writer :verification_failed_reason
|
|
130
|
+
attr_accessor :verification_failed_reason
|
|
151
131
|
|
|
152
132
|
sig do
|
|
153
133
|
params(
|
|
@@ -167,15 +147,15 @@ module Lithic
|
|
|
167
147
|
verification_method: Lithic::VerificationMethod::OrSymbol,
|
|
168
148
|
verification_state:
|
|
169
149
|
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState::OrSymbol,
|
|
170
|
-
account_token: String,
|
|
171
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
172
|
-
company_id: String,
|
|
173
|
-
dob: Date,
|
|
174
|
-
doing_business_as: String,
|
|
175
|
-
financial_account_token: String,
|
|
176
|
-
name: String,
|
|
177
|
-
user_defined_id: String,
|
|
178
|
-
verification_failed_reason: String
|
|
150
|
+
account_token: T.nilable(String),
|
|
151
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
152
|
+
company_id: T.nilable(String),
|
|
153
|
+
dob: T.nilable(Date),
|
|
154
|
+
doing_business_as: T.nilable(String),
|
|
155
|
+
financial_account_token: T.nilable(String),
|
|
156
|
+
name: T.nilable(String),
|
|
157
|
+
user_defined_id: T.nilable(String),
|
|
158
|
+
verification_failed_reason: T.nilable(String)
|
|
179
159
|
).returns(T.attached_class)
|
|
180
160
|
end
|
|
181
161
|
def self.new(
|
|
@@ -256,15 +236,15 @@ module Lithic
|
|
|
256
236
|
verification_method: Lithic::VerificationMethod::TaggedSymbol,
|
|
257
237
|
verification_state:
|
|
258
238
|
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState::TaggedSymbol,
|
|
259
|
-
account_token: String,
|
|
260
|
-
address: Lithic::ExternalBankAccountAddress,
|
|
261
|
-
company_id: String,
|
|
262
|
-
dob: Date,
|
|
263
|
-
doing_business_as: String,
|
|
264
|
-
financial_account_token: String,
|
|
265
|
-
name: String,
|
|
266
|
-
user_defined_id: String,
|
|
267
|
-
verification_failed_reason: String
|
|
239
|
+
account_token: T.nilable(String),
|
|
240
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
241
|
+
company_id: T.nilable(String),
|
|
242
|
+
dob: T.nilable(Date),
|
|
243
|
+
doing_business_as: T.nilable(String),
|
|
244
|
+
financial_account_token: T.nilable(String),
|
|
245
|
+
name: T.nilable(String),
|
|
246
|
+
user_defined_id: T.nilable(String),
|
|
247
|
+
verification_failed_reason: T.nilable(String)
|
|
268
248
|
}
|
|
269
249
|
)
|
|
270
250
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalBankAccountUnpauseParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Lithic::ExternalBankAccountUnpauseParams,
|
|
13
|
+
Lithic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig do
|
|
18
|
+
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
|
19
|
+
T.attached_class
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
def self.new(request_options: {})
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ request_options: Lithic::RequestOptions }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalBankAccountUnpauseResponse < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# A globally unique identifier for this record of an external bank account
|
|
15
|
+
# association. If a program links an external bank account to more than one
|
|
16
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
|
17
|
+
# record of the association
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :token
|
|
20
|
+
|
|
21
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
22
|
+
# accept USA bank accounts e.g., USA
|
|
23
|
+
sig { returns(String) }
|
|
24
|
+
attr_accessor :country
|
|
25
|
+
|
|
26
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
|
27
|
+
# account.
|
|
28
|
+
sig { returns(Time) }
|
|
29
|
+
attr_accessor :created
|
|
30
|
+
|
|
31
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
32
|
+
sig { returns(String) }
|
|
33
|
+
attr_accessor :currency
|
|
34
|
+
|
|
35
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
|
36
|
+
# passed
|
|
37
|
+
sig { returns(String) }
|
|
38
|
+
attr_accessor :last_four
|
|
39
|
+
|
|
40
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
41
|
+
# will appear in statements
|
|
42
|
+
sig { returns(String) }
|
|
43
|
+
attr_accessor :owner
|
|
44
|
+
|
|
45
|
+
# Owner Type
|
|
46
|
+
sig { returns(Lithic::OwnerType::TaggedSymbol) }
|
|
47
|
+
attr_accessor :owner_type
|
|
48
|
+
|
|
49
|
+
# Routing Number
|
|
50
|
+
sig { returns(String) }
|
|
51
|
+
attr_accessor :routing_number
|
|
52
|
+
|
|
53
|
+
# Account State
|
|
54
|
+
sig do
|
|
55
|
+
returns(
|
|
56
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
attr_accessor :state
|
|
60
|
+
|
|
61
|
+
# Account Type
|
|
62
|
+
sig do
|
|
63
|
+
returns(
|
|
64
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::TaggedSymbol
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
attr_accessor :type
|
|
68
|
+
|
|
69
|
+
# The number of attempts at verification
|
|
70
|
+
sig { returns(Integer) }
|
|
71
|
+
attr_accessor :verification_attempts
|
|
72
|
+
|
|
73
|
+
# Verification Method
|
|
74
|
+
sig { returns(Lithic::VerificationMethod::TaggedSymbol) }
|
|
75
|
+
attr_accessor :verification_method
|
|
76
|
+
|
|
77
|
+
# Verification State
|
|
78
|
+
sig do
|
|
79
|
+
returns(
|
|
80
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
81
|
+
)
|
|
82
|
+
end
|
|
83
|
+
attr_accessor :verification_state
|
|
84
|
+
|
|
85
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
86
|
+
# external accounts that are associated with the program, account_token field
|
|
87
|
+
# returned will be null
|
|
88
|
+
sig { returns(T.nilable(String)) }
|
|
89
|
+
attr_accessor :account_token
|
|
90
|
+
|
|
91
|
+
# Address
|
|
92
|
+
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
93
|
+
attr_reader :address
|
|
94
|
+
|
|
95
|
+
sig do
|
|
96
|
+
params(
|
|
97
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
98
|
+
).void
|
|
99
|
+
end
|
|
100
|
+
attr_writer :address
|
|
101
|
+
|
|
102
|
+
# Optional field that helps identify bank accounts in receipts
|
|
103
|
+
sig { returns(T.nilable(String)) }
|
|
104
|
+
attr_accessor :company_id
|
|
105
|
+
|
|
106
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
107
|
+
sig { returns(T.nilable(Date)) }
|
|
108
|
+
attr_accessor :dob
|
|
109
|
+
|
|
110
|
+
# Doing Business As
|
|
111
|
+
sig { returns(T.nilable(String)) }
|
|
112
|
+
attr_accessor :doing_business_as
|
|
113
|
+
|
|
114
|
+
# The financial account token of the operating account to fund the micro deposits
|
|
115
|
+
sig { returns(T.nilable(String)) }
|
|
116
|
+
attr_accessor :financial_account_token
|
|
117
|
+
|
|
118
|
+
# The nickname for this External Bank Account
|
|
119
|
+
sig { returns(T.nilable(String)) }
|
|
120
|
+
attr_accessor :name
|
|
121
|
+
|
|
122
|
+
# User Defined ID
|
|
123
|
+
sig { returns(T.nilable(String)) }
|
|
124
|
+
attr_accessor :user_defined_id
|
|
125
|
+
|
|
126
|
+
# Optional free text description of the reason for the failed verification. For
|
|
127
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
128
|
+
# by the ACH network
|
|
129
|
+
sig { returns(T.nilable(String)) }
|
|
130
|
+
attr_accessor :verification_failed_reason
|
|
131
|
+
|
|
132
|
+
sig do
|
|
133
|
+
params(
|
|
134
|
+
token: String,
|
|
135
|
+
country: String,
|
|
136
|
+
created: Time,
|
|
137
|
+
currency: String,
|
|
138
|
+
last_four: String,
|
|
139
|
+
owner: String,
|
|
140
|
+
owner_type: Lithic::OwnerType::OrSymbol,
|
|
141
|
+
routing_number: String,
|
|
142
|
+
state:
|
|
143
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::OrSymbol,
|
|
144
|
+
type:
|
|
145
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::OrSymbol,
|
|
146
|
+
verification_attempts: Integer,
|
|
147
|
+
verification_method: Lithic::VerificationMethod::OrSymbol,
|
|
148
|
+
verification_state:
|
|
149
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::OrSymbol,
|
|
150
|
+
account_token: T.nilable(String),
|
|
151
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
152
|
+
company_id: T.nilable(String),
|
|
153
|
+
dob: T.nilable(Date),
|
|
154
|
+
doing_business_as: T.nilable(String),
|
|
155
|
+
financial_account_token: T.nilable(String),
|
|
156
|
+
name: T.nilable(String),
|
|
157
|
+
user_defined_id: T.nilable(String),
|
|
158
|
+
verification_failed_reason: T.nilable(String)
|
|
159
|
+
).returns(T.attached_class)
|
|
160
|
+
end
|
|
161
|
+
def self.new(
|
|
162
|
+
# A globally unique identifier for this record of an external bank account
|
|
163
|
+
# association. If a program links an external bank account to more than one
|
|
164
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
|
165
|
+
# record of the association
|
|
166
|
+
token:,
|
|
167
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
168
|
+
# accept USA bank accounts e.g., USA
|
|
169
|
+
country:,
|
|
170
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
|
171
|
+
# account.
|
|
172
|
+
created:,
|
|
173
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
174
|
+
currency:,
|
|
175
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
|
176
|
+
# passed
|
|
177
|
+
last_four:,
|
|
178
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
179
|
+
# will appear in statements
|
|
180
|
+
owner:,
|
|
181
|
+
# Owner Type
|
|
182
|
+
owner_type:,
|
|
183
|
+
# Routing Number
|
|
184
|
+
routing_number:,
|
|
185
|
+
# Account State
|
|
186
|
+
state:,
|
|
187
|
+
# Account Type
|
|
188
|
+
type:,
|
|
189
|
+
# The number of attempts at verification
|
|
190
|
+
verification_attempts:,
|
|
191
|
+
# Verification Method
|
|
192
|
+
verification_method:,
|
|
193
|
+
# Verification State
|
|
194
|
+
verification_state:,
|
|
195
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
196
|
+
# external accounts that are associated with the program, account_token field
|
|
197
|
+
# returned will be null
|
|
198
|
+
account_token: nil,
|
|
199
|
+
# Address
|
|
200
|
+
address: nil,
|
|
201
|
+
# Optional field that helps identify bank accounts in receipts
|
|
202
|
+
company_id: nil,
|
|
203
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
204
|
+
dob: nil,
|
|
205
|
+
# Doing Business As
|
|
206
|
+
doing_business_as: nil,
|
|
207
|
+
# The financial account token of the operating account to fund the micro deposits
|
|
208
|
+
financial_account_token: nil,
|
|
209
|
+
# The nickname for this External Bank Account
|
|
210
|
+
name: nil,
|
|
211
|
+
# User Defined ID
|
|
212
|
+
user_defined_id: nil,
|
|
213
|
+
# Optional free text description of the reason for the failed verification. For
|
|
214
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
215
|
+
# by the ACH network
|
|
216
|
+
verification_failed_reason: nil
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
sig do
|
|
221
|
+
override.returns(
|
|
222
|
+
{
|
|
223
|
+
token: String,
|
|
224
|
+
country: String,
|
|
225
|
+
created: Time,
|
|
226
|
+
currency: String,
|
|
227
|
+
last_four: String,
|
|
228
|
+
owner: String,
|
|
229
|
+
owner_type: Lithic::OwnerType::TaggedSymbol,
|
|
230
|
+
routing_number: String,
|
|
231
|
+
state:
|
|
232
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol,
|
|
233
|
+
type:
|
|
234
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::TaggedSymbol,
|
|
235
|
+
verification_attempts: Integer,
|
|
236
|
+
verification_method: Lithic::VerificationMethod::TaggedSymbol,
|
|
237
|
+
verification_state:
|
|
238
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol,
|
|
239
|
+
account_token: T.nilable(String),
|
|
240
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
241
|
+
company_id: T.nilable(String),
|
|
242
|
+
dob: T.nilable(Date),
|
|
243
|
+
doing_business_as: T.nilable(String),
|
|
244
|
+
financial_account_token: T.nilable(String),
|
|
245
|
+
name: T.nilable(String),
|
|
246
|
+
user_defined_id: T.nilable(String),
|
|
247
|
+
verification_failed_reason: T.nilable(String)
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
end
|
|
251
|
+
def to_hash
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# Account State
|
|
255
|
+
module State
|
|
256
|
+
extend Lithic::Internal::Type::Enum
|
|
257
|
+
|
|
258
|
+
TaggedSymbol =
|
|
259
|
+
T.type_alias do
|
|
260
|
+
T.all(
|
|
261
|
+
Symbol,
|
|
262
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State
|
|
263
|
+
)
|
|
264
|
+
end
|
|
265
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
266
|
+
|
|
267
|
+
ENABLED =
|
|
268
|
+
T.let(
|
|
269
|
+
:ENABLED,
|
|
270
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol
|
|
271
|
+
)
|
|
272
|
+
CLOSED =
|
|
273
|
+
T.let(
|
|
274
|
+
:CLOSED,
|
|
275
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol
|
|
276
|
+
)
|
|
277
|
+
PAUSED =
|
|
278
|
+
T.let(
|
|
279
|
+
:PAUSED,
|
|
280
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
sig do
|
|
284
|
+
override.returns(
|
|
285
|
+
T::Array[
|
|
286
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::State::TaggedSymbol
|
|
287
|
+
]
|
|
288
|
+
)
|
|
289
|
+
end
|
|
290
|
+
def self.values
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Account Type
|
|
295
|
+
module Type
|
|
296
|
+
extend Lithic::Internal::Type::Enum
|
|
297
|
+
|
|
298
|
+
TaggedSymbol =
|
|
299
|
+
T.type_alias do
|
|
300
|
+
T.all(
|
|
301
|
+
Symbol,
|
|
302
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type
|
|
303
|
+
)
|
|
304
|
+
end
|
|
305
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
306
|
+
|
|
307
|
+
CHECKING =
|
|
308
|
+
T.let(
|
|
309
|
+
:CHECKING,
|
|
310
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::TaggedSymbol
|
|
311
|
+
)
|
|
312
|
+
SAVINGS =
|
|
313
|
+
T.let(
|
|
314
|
+
:SAVINGS,
|
|
315
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::TaggedSymbol
|
|
316
|
+
)
|
|
317
|
+
|
|
318
|
+
sig do
|
|
319
|
+
override.returns(
|
|
320
|
+
T::Array[
|
|
321
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::Type::TaggedSymbol
|
|
322
|
+
]
|
|
323
|
+
)
|
|
324
|
+
end
|
|
325
|
+
def self.values
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
# Verification State
|
|
330
|
+
module VerificationState
|
|
331
|
+
extend Lithic::Internal::Type::Enum
|
|
332
|
+
|
|
333
|
+
TaggedSymbol =
|
|
334
|
+
T.type_alias do
|
|
335
|
+
T.all(
|
|
336
|
+
Symbol,
|
|
337
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState
|
|
338
|
+
)
|
|
339
|
+
end
|
|
340
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
341
|
+
|
|
342
|
+
PENDING =
|
|
343
|
+
T.let(
|
|
344
|
+
:PENDING,
|
|
345
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
ENABLED =
|
|
348
|
+
T.let(
|
|
349
|
+
:ENABLED,
|
|
350
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
351
|
+
)
|
|
352
|
+
FAILED_VERIFICATION =
|
|
353
|
+
T.let(
|
|
354
|
+
:FAILED_VERIFICATION,
|
|
355
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
356
|
+
)
|
|
357
|
+
INSUFFICIENT_FUNDS =
|
|
358
|
+
T.let(
|
|
359
|
+
:INSUFFICIENT_FUNDS,
|
|
360
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
sig do
|
|
364
|
+
override.returns(
|
|
365
|
+
T::Array[
|
|
366
|
+
Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState::TaggedSymbol
|
|
367
|
+
]
|
|
368
|
+
)
|
|
369
|
+
end
|
|
370
|
+
def self.values
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
end
|
|
374
|
+
end
|
|
375
|
+
end
|