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
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::ExternalBankAccounts#unpause
|
|
6
|
+
class ExternalBankAccountUnpauseResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute token
|
|
8
|
+
# A globally unique identifier for this record of an external bank account
|
|
9
|
+
# association. If a program links an external bank account to more than one
|
|
10
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
|
11
|
+
# record of the association
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute country
|
|
17
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
18
|
+
# accept USA bank accounts e.g., USA
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :country, String
|
|
22
|
+
|
|
23
|
+
# @!attribute created
|
|
24
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
|
25
|
+
# account.
|
|
26
|
+
#
|
|
27
|
+
# @return [Time]
|
|
28
|
+
required :created, Time
|
|
29
|
+
|
|
30
|
+
# @!attribute currency
|
|
31
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
required :currency, String
|
|
35
|
+
|
|
36
|
+
# @!attribute last_four
|
|
37
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
|
38
|
+
# passed
|
|
39
|
+
#
|
|
40
|
+
# @return [String]
|
|
41
|
+
required :last_four, String
|
|
42
|
+
|
|
43
|
+
# @!attribute owner
|
|
44
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
45
|
+
# will appear in statements
|
|
46
|
+
#
|
|
47
|
+
# @return [String]
|
|
48
|
+
required :owner, String
|
|
49
|
+
|
|
50
|
+
# @!attribute owner_type
|
|
51
|
+
# Owner Type
|
|
52
|
+
#
|
|
53
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
54
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
55
|
+
|
|
56
|
+
# @!attribute routing_number
|
|
57
|
+
# Routing Number
|
|
58
|
+
#
|
|
59
|
+
# @return [String]
|
|
60
|
+
required :routing_number, String
|
|
61
|
+
|
|
62
|
+
# @!attribute state
|
|
63
|
+
# Account State
|
|
64
|
+
#
|
|
65
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::State]
|
|
66
|
+
required :state, enum: -> { Lithic::Models::ExternalBankAccountUnpauseResponse::State }
|
|
67
|
+
|
|
68
|
+
# @!attribute type
|
|
69
|
+
# Account Type
|
|
70
|
+
#
|
|
71
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::Type]
|
|
72
|
+
required :type, enum: -> { Lithic::Models::ExternalBankAccountUnpauseResponse::Type }
|
|
73
|
+
|
|
74
|
+
# @!attribute verification_attempts
|
|
75
|
+
# The number of attempts at verification
|
|
76
|
+
#
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
required :verification_attempts, Integer
|
|
79
|
+
|
|
80
|
+
# @!attribute verification_method
|
|
81
|
+
# Verification Method
|
|
82
|
+
#
|
|
83
|
+
# @return [Symbol, Lithic::Models::VerificationMethod]
|
|
84
|
+
required :verification_method, enum: -> { Lithic::VerificationMethod }
|
|
85
|
+
|
|
86
|
+
# @!attribute verification_state
|
|
87
|
+
# Verification State
|
|
88
|
+
#
|
|
89
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState]
|
|
90
|
+
required :verification_state,
|
|
91
|
+
enum: -> { Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState }
|
|
92
|
+
|
|
93
|
+
# @!attribute account_token
|
|
94
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
95
|
+
# external accounts that are associated with the program, account_token field
|
|
96
|
+
# returned will be null
|
|
97
|
+
#
|
|
98
|
+
# @return [String, nil]
|
|
99
|
+
optional :account_token, String, nil?: true
|
|
100
|
+
|
|
101
|
+
# @!attribute address
|
|
102
|
+
# Address
|
|
103
|
+
#
|
|
104
|
+
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
105
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
|
|
106
|
+
|
|
107
|
+
# @!attribute company_id
|
|
108
|
+
# Optional field that helps identify bank accounts in receipts
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
optional :company_id, String, nil?: true
|
|
112
|
+
|
|
113
|
+
# @!attribute dob
|
|
114
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
115
|
+
#
|
|
116
|
+
# @return [Date, nil]
|
|
117
|
+
optional :dob, Date, nil?: true
|
|
118
|
+
|
|
119
|
+
# @!attribute doing_business_as
|
|
120
|
+
# Doing Business As
|
|
121
|
+
#
|
|
122
|
+
# @return [String, nil]
|
|
123
|
+
optional :doing_business_as, String, nil?: true
|
|
124
|
+
|
|
125
|
+
# @!attribute financial_account_token
|
|
126
|
+
# The financial account token of the operating account to fund the micro deposits
|
|
127
|
+
#
|
|
128
|
+
# @return [String, nil]
|
|
129
|
+
optional :financial_account_token, String, nil?: true
|
|
130
|
+
|
|
131
|
+
# @!attribute name
|
|
132
|
+
# The nickname for this External Bank Account
|
|
133
|
+
#
|
|
134
|
+
# @return [String, nil]
|
|
135
|
+
optional :name, String, nil?: true
|
|
136
|
+
|
|
137
|
+
# @!attribute user_defined_id
|
|
138
|
+
# User Defined ID
|
|
139
|
+
#
|
|
140
|
+
# @return [String, nil]
|
|
141
|
+
optional :user_defined_id, String, nil?: true
|
|
142
|
+
|
|
143
|
+
# @!attribute verification_failed_reason
|
|
144
|
+
# Optional free text description of the reason for the failed verification. For
|
|
145
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
146
|
+
# by the ACH network
|
|
147
|
+
#
|
|
148
|
+
# @return [String, nil]
|
|
149
|
+
optional :verification_failed_reason, String, nil?: true
|
|
150
|
+
|
|
151
|
+
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
|
152
|
+
# Some parameter documentations has been truncated, see
|
|
153
|
+
# {Lithic::Models::ExternalBankAccountUnpauseResponse} for more details.
|
|
154
|
+
#
|
|
155
|
+
# @param token [String] A globally unique identifier for this record of an external bank account associa
|
|
156
|
+
#
|
|
157
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
|
158
|
+
#
|
|
159
|
+
# @param created [Time] An ISO 8601 string representing when this funding source was added to the Lithic
|
|
160
|
+
#
|
|
161
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
|
162
|
+
#
|
|
163
|
+
# @param last_four [String] The last 4 digits of the bank account. Derived by Lithic from the account number
|
|
164
|
+
#
|
|
165
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
|
166
|
+
#
|
|
167
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
168
|
+
#
|
|
169
|
+
# @param routing_number [String] Routing Number
|
|
170
|
+
#
|
|
171
|
+
# @param state [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::State] Account State
|
|
172
|
+
#
|
|
173
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::Type] Account Type
|
|
174
|
+
#
|
|
175
|
+
# @param verification_attempts [Integer] The number of attempts at verification
|
|
176
|
+
#
|
|
177
|
+
# @param verification_method [Symbol, Lithic::Models::VerificationMethod] Verification Method
|
|
178
|
+
#
|
|
179
|
+
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccountUnpauseResponse::VerificationState] Verification State
|
|
180
|
+
#
|
|
181
|
+
# @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
|
|
182
|
+
#
|
|
183
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
|
|
184
|
+
#
|
|
185
|
+
# @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
|
|
186
|
+
#
|
|
187
|
+
# @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
|
|
188
|
+
#
|
|
189
|
+
# @param doing_business_as [String, nil] Doing Business As
|
|
190
|
+
#
|
|
191
|
+
# @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
|
|
192
|
+
#
|
|
193
|
+
# @param name [String, nil] The nickname for this External Bank Account
|
|
194
|
+
#
|
|
195
|
+
# @param user_defined_id [String, nil] User Defined ID
|
|
196
|
+
#
|
|
197
|
+
# @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
|
|
198
|
+
|
|
199
|
+
# Account State
|
|
200
|
+
#
|
|
201
|
+
# @see Lithic::Models::ExternalBankAccountUnpauseResponse#state
|
|
202
|
+
module State
|
|
203
|
+
extend Lithic::Internal::Type::Enum
|
|
204
|
+
|
|
205
|
+
ENABLED = :ENABLED
|
|
206
|
+
CLOSED = :CLOSED
|
|
207
|
+
PAUSED = :PAUSED
|
|
208
|
+
|
|
209
|
+
# @!method self.values
|
|
210
|
+
# @return [Array<Symbol>]
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Account Type
|
|
214
|
+
#
|
|
215
|
+
# @see Lithic::Models::ExternalBankAccountUnpauseResponse#type
|
|
216
|
+
module Type
|
|
217
|
+
extend Lithic::Internal::Type::Enum
|
|
218
|
+
|
|
219
|
+
CHECKING = :CHECKING
|
|
220
|
+
SAVINGS = :SAVINGS
|
|
221
|
+
|
|
222
|
+
# @!method self.values
|
|
223
|
+
# @return [Array<Symbol>]
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Verification State
|
|
227
|
+
#
|
|
228
|
+
# @see Lithic::Models::ExternalBankAccountUnpauseResponse#verification_state
|
|
229
|
+
module VerificationState
|
|
230
|
+
extend Lithic::Internal::Type::Enum
|
|
231
|
+
|
|
232
|
+
PENDING = :PENDING
|
|
233
|
+
ENABLED = :ENABLED
|
|
234
|
+
FAILED_VERIFICATION = :FAILED_VERIFICATION
|
|
235
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
|
236
|
+
|
|
237
|
+
# @!method self.values
|
|
238
|
+
# @return [Array<Symbol>]
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
end
|
|
@@ -97,49 +97,49 @@ module Lithic
|
|
|
97
97
|
# returned will be null
|
|
98
98
|
#
|
|
99
99
|
# @return [String, nil]
|
|
100
|
-
optional :account_token, String
|
|
100
|
+
optional :account_token, String, nil?: true
|
|
101
101
|
|
|
102
102
|
# @!attribute address
|
|
103
103
|
# Address
|
|
104
104
|
#
|
|
105
105
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
106
|
-
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
106
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
|
|
107
107
|
|
|
108
108
|
# @!attribute company_id
|
|
109
109
|
# Optional field that helps identify bank accounts in receipts
|
|
110
110
|
#
|
|
111
111
|
# @return [String, nil]
|
|
112
|
-
optional :company_id, String
|
|
112
|
+
optional :company_id, String, nil?: true
|
|
113
113
|
|
|
114
114
|
# @!attribute dob
|
|
115
115
|
# Date of Birth of the Individual that owns the external bank account
|
|
116
116
|
#
|
|
117
117
|
# @return [Date, nil]
|
|
118
|
-
optional :dob, Date
|
|
118
|
+
optional :dob, Date, nil?: true
|
|
119
119
|
|
|
120
120
|
# @!attribute doing_business_as
|
|
121
121
|
# Doing Business As
|
|
122
122
|
#
|
|
123
123
|
# @return [String, nil]
|
|
124
|
-
optional :doing_business_as, String
|
|
124
|
+
optional :doing_business_as, String, nil?: true
|
|
125
125
|
|
|
126
126
|
# @!attribute financial_account_token
|
|
127
127
|
# The financial account token of the operating account to fund the micro deposits
|
|
128
128
|
#
|
|
129
129
|
# @return [String, nil]
|
|
130
|
-
optional :financial_account_token, String
|
|
130
|
+
optional :financial_account_token, String, nil?: true
|
|
131
131
|
|
|
132
132
|
# @!attribute name
|
|
133
133
|
# The nickname for this External Bank Account
|
|
134
134
|
#
|
|
135
135
|
# @return [String, nil]
|
|
136
|
-
optional :name, String
|
|
136
|
+
optional :name, String, nil?: true
|
|
137
137
|
|
|
138
138
|
# @!attribute user_defined_id
|
|
139
139
|
# User Defined ID
|
|
140
140
|
#
|
|
141
141
|
# @return [String, nil]
|
|
142
|
-
optional :user_defined_id, String
|
|
142
|
+
optional :user_defined_id, String, nil?: true
|
|
143
143
|
|
|
144
144
|
# @!attribute verification_failed_reason
|
|
145
145
|
# Optional free text description of the reason for the failed verification. For
|
|
@@ -147,7 +147,7 @@ module Lithic
|
|
|
147
147
|
# by the ACH network
|
|
148
148
|
#
|
|
149
149
|
# @return [String, nil]
|
|
150
|
-
optional :verification_failed_reason, String
|
|
150
|
+
optional :verification_failed_reason, String, nil?: true
|
|
151
151
|
|
|
152
152
|
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
|
153
153
|
# Some parameter documentations has been truncated, see
|
|
@@ -179,23 +179,23 @@ module Lithic
|
|
|
179
179
|
#
|
|
180
180
|
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationState] Verification State
|
|
181
181
|
#
|
|
182
|
-
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
182
|
+
# @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
|
|
183
183
|
#
|
|
184
|
-
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
184
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
|
|
185
185
|
#
|
|
186
|
-
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
186
|
+
# @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
|
|
187
187
|
#
|
|
188
|
-
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
188
|
+
# @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
|
|
189
189
|
#
|
|
190
|
-
# @param doing_business_as [String] Doing Business As
|
|
190
|
+
# @param doing_business_as [String, nil] Doing Business As
|
|
191
191
|
#
|
|
192
|
-
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
192
|
+
# @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
|
|
193
193
|
#
|
|
194
|
-
# @param name [String] The nickname for this External Bank Account
|
|
194
|
+
# @param name [String, nil] The nickname for this External Bank Account
|
|
195
195
|
#
|
|
196
|
-
# @param user_defined_id [String] User Defined ID
|
|
196
|
+
# @param user_defined_id [String, nil] User Defined ID
|
|
197
197
|
#
|
|
198
|
-
# @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
|
|
198
|
+
# @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
|
|
199
199
|
|
|
200
200
|
# Owner Type
|
|
201
201
|
#
|
|
@@ -99,49 +99,49 @@ module Lithic
|
|
|
99
99
|
# returned will be null
|
|
100
100
|
#
|
|
101
101
|
# @return [String, nil]
|
|
102
|
-
optional :account_token, String
|
|
102
|
+
optional :account_token, String, nil?: true
|
|
103
103
|
|
|
104
104
|
# @!attribute address
|
|
105
105
|
# Address
|
|
106
106
|
#
|
|
107
107
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
108
|
-
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
108
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
|
|
109
109
|
|
|
110
110
|
# @!attribute company_id
|
|
111
111
|
# Optional field that helps identify bank accounts in receipts
|
|
112
112
|
#
|
|
113
113
|
# @return [String, nil]
|
|
114
|
-
optional :company_id, String
|
|
114
|
+
optional :company_id, String, nil?: true
|
|
115
115
|
|
|
116
116
|
# @!attribute dob
|
|
117
117
|
# Date of Birth of the Individual that owns the external bank account
|
|
118
118
|
#
|
|
119
119
|
# @return [Date, nil]
|
|
120
|
-
optional :dob, Date
|
|
120
|
+
optional :dob, Date, nil?: true
|
|
121
121
|
|
|
122
122
|
# @!attribute doing_business_as
|
|
123
123
|
# Doing Business As
|
|
124
124
|
#
|
|
125
125
|
# @return [String, nil]
|
|
126
|
-
optional :doing_business_as, String
|
|
126
|
+
optional :doing_business_as, String, nil?: true
|
|
127
127
|
|
|
128
128
|
# @!attribute financial_account_token
|
|
129
129
|
# The financial account token of the operating account to fund the micro deposits
|
|
130
130
|
#
|
|
131
131
|
# @return [String, nil]
|
|
132
|
-
optional :financial_account_token, String
|
|
132
|
+
optional :financial_account_token, String, nil?: true
|
|
133
133
|
|
|
134
134
|
# @!attribute name
|
|
135
135
|
# The nickname for this External Bank Account
|
|
136
136
|
#
|
|
137
137
|
# @return [String, nil]
|
|
138
|
-
optional :name, String
|
|
138
|
+
optional :name, String, nil?: true
|
|
139
139
|
|
|
140
140
|
# @!attribute user_defined_id
|
|
141
141
|
# User Defined ID
|
|
142
142
|
#
|
|
143
143
|
# @return [String, nil]
|
|
144
|
-
optional :user_defined_id, String
|
|
144
|
+
optional :user_defined_id, String, nil?: true
|
|
145
145
|
|
|
146
146
|
# @!attribute verification_failed_reason
|
|
147
147
|
# Optional free text description of the reason for the failed verification. For
|
|
@@ -149,7 +149,7 @@ module Lithic
|
|
|
149
149
|
# by the ACH network
|
|
150
150
|
#
|
|
151
151
|
# @return [String, nil]
|
|
152
|
-
optional :verification_failed_reason, String
|
|
152
|
+
optional :verification_failed_reason, String, nil?: true
|
|
153
153
|
|
|
154
154
|
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
|
155
155
|
# Some parameter documentations has been truncated, see
|
|
@@ -182,23 +182,23 @@ module Lithic
|
|
|
182
182
|
#
|
|
183
183
|
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationState] Verification State
|
|
184
184
|
#
|
|
185
|
-
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
185
|
+
# @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
|
|
186
186
|
#
|
|
187
|
-
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
187
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
|
|
188
188
|
#
|
|
189
|
-
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
189
|
+
# @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
|
|
190
190
|
#
|
|
191
|
-
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
191
|
+
# @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
|
|
192
192
|
#
|
|
193
|
-
# @param doing_business_as [String] Doing Business As
|
|
193
|
+
# @param doing_business_as [String, nil] Doing Business As
|
|
194
194
|
#
|
|
195
|
-
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
195
|
+
# @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
|
|
196
196
|
#
|
|
197
|
-
# @param name [String] The nickname for this External Bank Account
|
|
197
|
+
# @param name [String, nil] The nickname for this External Bank Account
|
|
198
198
|
#
|
|
199
|
-
# @param user_defined_id [String] User Defined ID
|
|
199
|
+
# @param user_defined_id [String, nil] User Defined ID
|
|
200
200
|
#
|
|
201
|
-
# @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
|
|
201
|
+
# @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
|
|
202
202
|
|
|
203
203
|
# Owner Type
|
|
204
204
|
#
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
# @!attribute user_defined_id
|
|
78
78
|
#
|
|
79
79
|
# @return [String, nil]
|
|
80
|
-
optional :user_defined_id, String
|
|
80
|
+
optional :user_defined_id, String, nil?: true
|
|
81
81
|
|
|
82
82
|
# @!method initialize(token:, created:, status:, updated:, category: nil, currency: nil, events: nil, family: nil, financial_account_token: nil, payment_type: nil, pending_amount: nil, result: nil, settled_amount: nil, user_defined_id: nil)
|
|
83
83
|
# @param token [String] Unique identifier for the transaction
|
|
@@ -106,7 +106,7 @@ module Lithic
|
|
|
106
106
|
#
|
|
107
107
|
# @param settled_amount [Integer]
|
|
108
108
|
#
|
|
109
|
-
# @param user_defined_id [String]
|
|
109
|
+
# @param user_defined_id [String, nil]
|
|
110
110
|
|
|
111
111
|
# The status of the transaction
|
|
112
112
|
#
|
|
@@ -119,6 +119,7 @@ module Lithic
|
|
|
119
119
|
DECLINED = :DECLINED
|
|
120
120
|
REVERSED = :REVERSED
|
|
121
121
|
CANCELED = :CANCELED
|
|
122
|
+
RETURNED = :RETURNED
|
|
122
123
|
|
|
123
124
|
# @!method self.values
|
|
124
125
|
# @return [Array<Symbol>]
|
|
@@ -97,9 +97,10 @@ module Lithic
|
|
|
97
97
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
98
98
|
# @!attribute auto_collection_configuration
|
|
99
99
|
#
|
|
100
|
-
# @return [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
|
|
100
|
+
# @return [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration, nil]
|
|
101
101
|
required :auto_collection_configuration,
|
|
102
|
-
-> { Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration }
|
|
102
|
+
-> { Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration },
|
|
103
|
+
nil?: true
|
|
103
104
|
|
|
104
105
|
# @!attribute credit_limit
|
|
105
106
|
#
|
|
@@ -124,7 +125,7 @@ module Lithic
|
|
|
124
125
|
required :tier, String, nil?: true
|
|
125
126
|
|
|
126
127
|
# @!method initialize(auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:)
|
|
127
|
-
# @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
|
|
128
|
+
# @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration, nil]
|
|
128
129
|
#
|
|
129
130
|
# @param credit_limit [Integer, nil]
|
|
130
131
|
#
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class CategoryBalances < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute fees
|
|
8
|
+
#
|
|
9
|
+
# @return [Integer]
|
|
10
|
+
required :fees, Integer
|
|
11
|
+
|
|
12
|
+
# @!attribute interest
|
|
13
|
+
#
|
|
14
|
+
# @return [Integer]
|
|
15
|
+
required :interest, Integer
|
|
16
|
+
|
|
17
|
+
# @!attribute principal
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer]
|
|
20
|
+
required :principal, Integer
|
|
21
|
+
|
|
22
|
+
# @!method initialize(fees:, interest:, principal:)
|
|
23
|
+
# @param fees [Integer]
|
|
24
|
+
# @param interest [Integer]
|
|
25
|
+
# @param principal [Integer]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|