lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41

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.
Files changed (207) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +8 -0
  5. data/lib/lithic/internal/transport/base_client.rb +1 -1
  6. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
  7. data/lib/lithic/internal/type/array_of.rb +1 -0
  8. data/lib/lithic/internal/type/base_model.rb +3 -1
  9. data/lib/lithic/internal/type/converter.rb +27 -0
  10. data/lib/lithic/internal/type/hash_of.rb +1 -0
  11. data/lib/lithic/internal/type/union.rb +9 -7
  12. data/lib/lithic/internal/util.rb +1 -1
  13. data/lib/lithic/models/account.rb +88 -1
  14. data/lib/lithic/models/account_activity_list_params.rb +156 -0
  15. data/lib/lithic/models/account_activity_list_response.rb +1435 -0
  16. data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
  17. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
  18. data/lib/lithic/models/account_holder.rb +16 -19
  19. data/lib/lithic/models/account_holder_create_params.rb +41 -47
  20. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
  21. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
  22. data/lib/lithic/models/account_holder_update_params.rb +2 -6
  23. data/lib/lithic/models/account_holder_update_response.rb +25 -20
  24. data/lib/lithic/models/account_update_params.rb +86 -1
  25. data/lib/lithic/models/aggregate_balance.rb +1 -0
  26. data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
  27. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
  28. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +12 -22
  29. data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
  30. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
  31. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +226 -16
  32. data/lib/lithic/models/balance.rb +1 -0
  33. data/lib/lithic/models/balance_list_params.rb +1 -0
  34. data/lib/lithic/models/book_transfer_create_params.rb +34 -6
  35. data/lib/lithic/models/book_transfer_response.rb +124 -28
  36. data/lib/lithic/models/card_create_params.rb +90 -1
  37. data/lib/lithic/models/card_program.rb +10 -1
  38. data/lib/lithic/models/card_update_params.rb +98 -1
  39. data/lib/lithic/models/cards/balance_list_response.rb +1 -0
  40. data/lib/lithic/models/document.rb +1 -3
  41. data/lib/lithic/models/events/subscription_create_params.rb +1 -3
  42. data/lib/lithic/models/events/subscription_update_params.rb +1 -3
  43. data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
  44. data/lib/lithic/models/external_payment.rb +89 -48
  45. data/lib/lithic/models/external_resource.rb +34 -0
  46. data/lib/lithic/models/external_resource_type.rb +18 -0
  47. data/lib/lithic/models/financial_account.rb +1 -0
  48. data/lib/lithic/models/financial_account_list_params.rb +1 -0
  49. data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
  50. data/lib/lithic/models/financial_accounts/loan_tape.rb +5 -18
  51. data/lib/lithic/models/financial_accounts/statement.rb +3 -10
  52. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
  53. data/lib/lithic/models/financial_transaction.rb +2 -0
  54. data/lib/lithic/models/instance_financial_account_type.rb +1 -0
  55. data/lib/lithic/models/kyb.rb +2 -2
  56. data/lib/lithic/models/management_operation_create_params.rb +30 -1
  57. data/lib/lithic/models/management_operation_transaction.rb +100 -52
  58. data/lib/lithic/models/network_program.rb +41 -0
  59. data/lib/lithic/models/network_program_list_params.rb +43 -0
  60. data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
  61. data/lib/lithic/models/non_pci_card.rb +88 -1
  62. data/lib/lithic/models/payment.rb +60 -1
  63. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  64. data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
  65. data/lib/lithic/models/settlement_detail.rb +1 -0
  66. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +145 -12
  67. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
  68. data/lib/lithic/models/tokenization.rb +1 -1
  69. data/lib/lithic/models/transaction.rb +31 -20
  70. data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
  71. data/lib/lithic/models/transfer.rb +2 -0
  72. data/lib/lithic/models/wire_party_details.rb +40 -0
  73. data/lib/lithic/models.rb +16 -0
  74. data/lib/lithic/resources/account_activity.rb +80 -0
  75. data/lib/lithic/resources/account_holders.rb +9 -9
  76. data/lib/lithic/resources/accounts.rb +5 -1
  77. data/lib/lithic/resources/book_transfers.rb +7 -3
  78. data/lib/lithic/resources/cards.rb +12 -2
  79. data/lib/lithic/resources/management_operations.rb +13 -1
  80. data/lib/lithic/resources/network_programs.rb +64 -0
  81. data/lib/lithic/resources/reports/settlement.rb +1 -1
  82. data/lib/lithic/resources/tokenizations.rb +2 -2
  83. data/lib/lithic/version.rb +1 -1
  84. data/lib/lithic.rb +13 -2
  85. data/rbi/lithic/client.rbi +6 -0
  86. data/rbi/lithic/errors.rbi +2 -2
  87. data/rbi/lithic/internal/transport/base_client.rbi +1 -1
  88. data/rbi/lithic/internal/type/converter.rbi +46 -0
  89. data/rbi/lithic/internal/type/union.rbi +7 -2
  90. data/rbi/lithic/models/account.rbi +131 -0
  91. data/rbi/lithic/models/account_activity_list_params.rbi +359 -0
  92. data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
  93. data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
  94. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
  95. data/rbi/lithic/models/account_holder.rbi +21 -23
  96. data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
  97. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
  98. data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
  99. data/rbi/lithic/models/account_update_params.rbi +159 -0
  100. data/rbi/lithic/models/aggregate_balance.rbi +5 -0
  101. data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
  102. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
  103. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +26 -15
  104. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -0
  105. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
  106. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
  107. data/rbi/lithic/models/balance.rbi +2 -0
  108. data/rbi/lithic/models/balance_list_params.rbi +5 -0
  109. data/rbi/lithic/models/book_transfer_create_params.rbi +75 -5
  110. data/rbi/lithic/models/book_transfer_response.rbi +320 -38
  111. data/rbi/lithic/models/card_create_params.rbi +190 -0
  112. data/rbi/lithic/models/card_program.rbi +13 -0
  113. data/rbi/lithic/models/card_update_params.rbi +168 -0
  114. data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
  115. data/rbi/lithic/models/external_payment.rbi +147 -60
  116. data/rbi/lithic/models/external_resource.rbi +57 -0
  117. data/rbi/lithic/models/external_resource_type.rbi +26 -0
  118. data/rbi/lithic/models/financial_account.rbi +5 -0
  119. data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
  120. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
  121. data/rbi/lithic/models/financial_transaction.rbi +1 -0
  122. data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
  123. data/rbi/lithic/models/kyb.rbi +2 -2
  124. data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
  125. data/rbi/lithic/models/management_operation_transaction.rbi +230 -84
  126. data/rbi/lithic/models/network_program.rbi +61 -0
  127. data/rbi/lithic/models/network_program_list_params.rbi +72 -0
  128. data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
  129. data/rbi/lithic/models/non_pci_card.rbi +133 -3
  130. data/rbi/lithic/models/payment.rbi +103 -3
  131. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  132. data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
  133. data/rbi/lithic/models/settlement_detail.rbi +2 -0
  134. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +222 -19
  135. data/rbi/lithic/models/transaction.rbi +23 -31
  136. data/rbi/lithic/models/transfer.rbi +1 -0
  137. data/rbi/lithic/models/wire_party_details.rbi +61 -0
  138. data/rbi/lithic/models.rbi +17 -0
  139. data/rbi/lithic/resources/account_activity.rbi +80 -0
  140. data/rbi/lithic/resources/account_holders.rbi +28 -29
  141. data/rbi/lithic/resources/accounts.rbi +32 -0
  142. data/rbi/lithic/resources/book_transfers.rbi +9 -2
  143. data/rbi/lithic/resources/cards.rbi +70 -0
  144. data/rbi/lithic/resources/management_operations.rbi +4 -0
  145. data/rbi/lithic/resources/network_programs.rbi +48 -0
  146. data/rbi/lithic/resources/reports/settlement.rbi +1 -1
  147. data/rbi/lithic/resources/tokenizations.rbi +1 -1
  148. data/sig/lithic/client.rbs +4 -0
  149. data/sig/lithic/internal/transport/base_client.rbs +1 -1
  150. data/sig/lithic/internal/type/converter.rbs +17 -0
  151. data/sig/lithic/internal/type/union.rbs +2 -2
  152. data/sig/lithic/models/account.rbs +41 -0
  153. data/sig/lithic/models/account_activity_list_params.rbs +173 -0
  154. data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
  155. data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
  156. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
  157. data/sig/lithic/models/account_holder_create_params.rbs +33 -19
  158. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
  159. data/sig/lithic/models/account_holder_update_response.rbs +10 -3
  160. data/sig/lithic/models/account_update_params.rbs +41 -0
  161. data/sig/lithic/models/aggregate_balance.rbs +2 -1
  162. data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
  163. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +8 -0
  164. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
  165. data/sig/lithic/models/auth_rules/v2_list_params.rbs +2 -1
  166. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
  167. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
  168. data/sig/lithic/models/balance.rbs +2 -1
  169. data/sig/lithic/models/balance_list_params.rbs +2 -1
  170. data/sig/lithic/models/book_transfer_create_params.rbs +30 -1
  171. data/sig/lithic/models/book_transfer_response.rbs +134 -15
  172. data/sig/lithic/models/card_create_params.rbs +47 -0
  173. data/sig/lithic/models/card_program.rbs +7 -0
  174. data/sig/lithic/models/card_update_params.rbs +55 -1
  175. data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
  176. data/sig/lithic/models/external_payment.rbs +91 -40
  177. data/sig/lithic/models/external_resource.rbs +32 -0
  178. data/sig/lithic/models/external_resource_type.rbs +16 -0
  179. data/sig/lithic/models/financial_account.rbs +2 -0
  180. data/sig/lithic/models/financial_account_list_params.rbs +2 -1
  181. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
  182. data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
  183. data/sig/lithic/models/management_operation_create_params.rbs +20 -0
  184. data/sig/lithic/models/management_operation_transaction.rbs +98 -42
  185. data/sig/lithic/models/network_program.rbs +35 -0
  186. data/sig/lithic/models/network_program_list_params.rbs +38 -0
  187. data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
  188. data/sig/lithic/models/non_pci_card.rbs +55 -3
  189. data/sig/lithic/models/payment.rbs +61 -3
  190. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  191. data/sig/lithic/models/settlement_detail.rbs +2 -0
  192. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +90 -3
  193. data/sig/lithic/models/transaction.rbs +2 -6
  194. data/sig/lithic/models/wire_party_details.rbs +35 -0
  195. data/sig/lithic/models.rbs +16 -0
  196. data/sig/lithic/resources/account_activity.rbs +27 -0
  197. data/sig/lithic/resources/account_holders.rbs +3 -3
  198. data/sig/lithic/resources/accounts.rbs +2 -0
  199. data/sig/lithic/resources/book_transfers.rbs +2 -0
  200. data/sig/lithic/resources/cards.rbs +5 -0
  201. data/sig/lithic/resources/management_operations.rbs +1 -0
  202. data/sig/lithic/resources/network_programs.rbs +19 -0
  203. data/sig/lithic/resources/tokenizations.rbs +1 -1
  204. metadata +38 -5
  205. data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
  206. data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
  207. data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -0,0 +1,3367 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ # Response containing multiple transaction types
6
+ module AccountActivityListResponse
7
+ extend Lithic::Internal::Type::Union
8
+
9
+ Variants =
10
+ T.type_alias do
11
+ T.any(
12
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction,
13
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction,
14
+ Lithic::Models::AccountActivityListResponse::CardTransaction,
15
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction,
16
+ Lithic::ExternalPayment,
17
+ Lithic::ManagementOperationTransaction
18
+ )
19
+ end
20
+
21
+ class FinancialTransaction < Lithic::Internal::Type::BaseModel
22
+ OrHash =
23
+ T.type_alias do
24
+ T.any(
25
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction,
26
+ Lithic::Internal::AnyHash
27
+ )
28
+ end
29
+
30
+ # Unique identifier for the transaction
31
+ sig { returns(String) }
32
+ attr_accessor :token
33
+
34
+ # Transaction category
35
+ sig do
36
+ returns(
37
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
38
+ )
39
+ end
40
+ attr_accessor :category
41
+
42
+ # ISO 8601 timestamp of when the transaction was created
43
+ sig { returns(Time) }
44
+ attr_accessor :created
45
+
46
+ # Currency of the transaction, represented in ISO 4217 format
47
+ sig { returns(String) }
48
+ attr_accessor :currency
49
+
50
+ # Transaction descriptor
51
+ sig { returns(String) }
52
+ attr_accessor :descriptor
53
+
54
+ # List of transaction events
55
+ sig do
56
+ returns(
57
+ T::Array[
58
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event
59
+ ]
60
+ )
61
+ end
62
+ attr_accessor :events
63
+
64
+ sig do
65
+ returns(
66
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
67
+ )
68
+ end
69
+ attr_accessor :family
70
+
71
+ # Financial account token associated with the transaction
72
+ sig { returns(String) }
73
+ attr_accessor :financial_account_token
74
+
75
+ # Pending amount in cents
76
+ sig { returns(Integer) }
77
+ attr_accessor :pending_amount
78
+
79
+ # Transaction result
80
+ sig do
81
+ returns(
82
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::TaggedSymbol
83
+ )
84
+ end
85
+ attr_accessor :result
86
+
87
+ # Settled amount in cents
88
+ sig { returns(Integer) }
89
+ attr_accessor :settled_amount
90
+
91
+ # The status of the transaction
92
+ sig do
93
+ returns(
94
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
95
+ )
96
+ end
97
+ attr_accessor :status
98
+
99
+ # ISO 8601 timestamp of when the transaction was last updated
100
+ sig { returns(Time) }
101
+ attr_accessor :updated
102
+
103
+ # Financial transaction with inheritance from unified base transaction
104
+ sig do
105
+ params(
106
+ token: String,
107
+ category:
108
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::OrSymbol,
109
+ created: Time,
110
+ currency: String,
111
+ descriptor: String,
112
+ events:
113
+ T::Array[
114
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::OrHash
115
+ ],
116
+ family:
117
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::OrSymbol,
118
+ financial_account_token: String,
119
+ pending_amount: Integer,
120
+ result:
121
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::OrSymbol,
122
+ settled_amount: Integer,
123
+ status:
124
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::OrSymbol,
125
+ updated: Time
126
+ ).returns(T.attached_class)
127
+ end
128
+ def self.new(
129
+ # Unique identifier for the transaction
130
+ token:,
131
+ # Transaction category
132
+ category:,
133
+ # ISO 8601 timestamp of when the transaction was created
134
+ created:,
135
+ # Currency of the transaction, represented in ISO 4217 format
136
+ currency:,
137
+ # Transaction descriptor
138
+ descriptor:,
139
+ # List of transaction events
140
+ events:,
141
+ family:,
142
+ # Financial account token associated with the transaction
143
+ financial_account_token:,
144
+ # Pending amount in cents
145
+ pending_amount:,
146
+ # Transaction result
147
+ result:,
148
+ # Settled amount in cents
149
+ settled_amount:,
150
+ # The status of the transaction
151
+ status:,
152
+ # ISO 8601 timestamp of when the transaction was last updated
153
+ updated:
154
+ )
155
+ end
156
+
157
+ sig do
158
+ override.returns(
159
+ {
160
+ token: String,
161
+ category:
162
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol,
163
+ created: Time,
164
+ currency: String,
165
+ descriptor: String,
166
+ events:
167
+ T::Array[
168
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event
169
+ ],
170
+ family:
171
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol,
172
+ financial_account_token: String,
173
+ pending_amount: Integer,
174
+ result:
175
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::TaggedSymbol,
176
+ settled_amount: Integer,
177
+ status:
178
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol,
179
+ updated: Time
180
+ }
181
+ )
182
+ end
183
+ def to_hash
184
+ end
185
+
186
+ # Transaction category
187
+ module Category
188
+ extend Lithic::Internal::Type::Enum
189
+
190
+ TaggedSymbol =
191
+ T.type_alias do
192
+ T.all(
193
+ Symbol,
194
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category
195
+ )
196
+ end
197
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
198
+
199
+ ACH =
200
+ T.let(
201
+ :ACH,
202
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
203
+ )
204
+ BALANCE_OR_FUNDING =
205
+ T.let(
206
+ :BALANCE_OR_FUNDING,
207
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
208
+ )
209
+ CARD =
210
+ T.let(
211
+ :CARD,
212
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
213
+ )
214
+ EXTERNAL_ACH =
215
+ T.let(
216
+ :EXTERNAL_ACH,
217
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
218
+ )
219
+ EXTERNAL_CHECK =
220
+ T.let(
221
+ :EXTERNAL_CHECK,
222
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
223
+ )
224
+ EXTERNAL_TRANSFER =
225
+ T.let(
226
+ :EXTERNAL_TRANSFER,
227
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
228
+ )
229
+ EXTERNAL_WIRE =
230
+ T.let(
231
+ :EXTERNAL_WIRE,
232
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
233
+ )
234
+ MANAGEMENT_ADJUSTMENT =
235
+ T.let(
236
+ :MANAGEMENT_ADJUSTMENT,
237
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
238
+ )
239
+ MANAGEMENT_DISPUTE =
240
+ T.let(
241
+ :MANAGEMENT_DISPUTE,
242
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
243
+ )
244
+ MANAGEMENT_FEE =
245
+ T.let(
246
+ :MANAGEMENT_FEE,
247
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
248
+ )
249
+ MANAGEMENT_REWARD =
250
+ T.let(
251
+ :MANAGEMENT_REWARD,
252
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
253
+ )
254
+ MANAGEMENT_DISBURSEMENT =
255
+ T.let(
256
+ :MANAGEMENT_DISBURSEMENT,
257
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
258
+ )
259
+ PROGRAM_FUNDING =
260
+ T.let(
261
+ :PROGRAM_FUNDING,
262
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
263
+ )
264
+
265
+ sig do
266
+ override.returns(
267
+ T::Array[
268
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
269
+ ]
270
+ )
271
+ end
272
+ def self.values
273
+ end
274
+ end
275
+
276
+ class Event < Lithic::Internal::Type::BaseModel
277
+ OrHash =
278
+ T.type_alias do
279
+ T.any(
280
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event,
281
+ Lithic::Internal::AnyHash
282
+ )
283
+ end
284
+
285
+ # Globally unique identifier.
286
+ sig { returns(T.nilable(String)) }
287
+ attr_reader :token
288
+
289
+ sig { params(token: String).void }
290
+ attr_writer :token
291
+
292
+ # Amount of the financial event that has been settled in the currency's smallest
293
+ # unit (e.g., cents).
294
+ sig { returns(T.nilable(Integer)) }
295
+ attr_reader :amount
296
+
297
+ sig { params(amount: Integer).void }
298
+ attr_writer :amount
299
+
300
+ # Date and time when the financial event occurred. UTC time zone.
301
+ sig { returns(T.nilable(Time)) }
302
+ attr_reader :created
303
+
304
+ sig { params(created: Time).void }
305
+ attr_writer :created
306
+
307
+ # APPROVED financial events were successful while DECLINED financial events were
308
+ # declined by user, Lithic, or the network.
309
+ sig do
310
+ returns(
311
+ T.nilable(
312
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::TaggedSymbol
313
+ )
314
+ )
315
+ end
316
+ attr_reader :result
317
+
318
+ sig do
319
+ params(
320
+ result:
321
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::OrSymbol
322
+ ).void
323
+ end
324
+ attr_writer :result
325
+
326
+ sig do
327
+ returns(
328
+ T.nilable(
329
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
330
+ )
331
+ )
332
+ end
333
+ attr_reader :type
334
+
335
+ sig do
336
+ params(
337
+ type:
338
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::OrSymbol
339
+ ).void
340
+ end
341
+ attr_writer :type
342
+
343
+ # Financial Event
344
+ sig do
345
+ params(
346
+ token: String,
347
+ amount: Integer,
348
+ created: Time,
349
+ result:
350
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::OrSymbol,
351
+ type:
352
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::OrSymbol
353
+ ).returns(T.attached_class)
354
+ end
355
+ def self.new(
356
+ # Globally unique identifier.
357
+ token: nil,
358
+ # Amount of the financial event that has been settled in the currency's smallest
359
+ # unit (e.g., cents).
360
+ amount: nil,
361
+ # Date and time when the financial event occurred. UTC time zone.
362
+ created: nil,
363
+ # APPROVED financial events were successful while DECLINED financial events were
364
+ # declined by user, Lithic, or the network.
365
+ result: nil,
366
+ type: nil
367
+ )
368
+ end
369
+
370
+ sig do
371
+ override.returns(
372
+ {
373
+ token: String,
374
+ amount: Integer,
375
+ created: Time,
376
+ result:
377
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::TaggedSymbol,
378
+ type:
379
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
380
+ }
381
+ )
382
+ end
383
+ def to_hash
384
+ end
385
+
386
+ # APPROVED financial events were successful while DECLINED financial events were
387
+ # declined by user, Lithic, or the network.
388
+ module Result
389
+ extend Lithic::Internal::Type::Enum
390
+
391
+ TaggedSymbol =
392
+ T.type_alias do
393
+ T.all(
394
+ Symbol,
395
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result
396
+ )
397
+ end
398
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
399
+
400
+ APPROVED =
401
+ T.let(
402
+ :APPROVED,
403
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::TaggedSymbol
404
+ )
405
+ DECLINED =
406
+ T.let(
407
+ :DECLINED,
408
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::TaggedSymbol
409
+ )
410
+
411
+ sig do
412
+ override.returns(
413
+ T::Array[
414
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Result::TaggedSymbol
415
+ ]
416
+ )
417
+ end
418
+ def self.values
419
+ end
420
+ end
421
+
422
+ module Type
423
+ extend Lithic::Internal::Type::Enum
424
+
425
+ TaggedSymbol =
426
+ T.type_alias do
427
+ T.all(
428
+ Symbol,
429
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type
430
+ )
431
+ end
432
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
433
+
434
+ ACH_ORIGINATION_CANCELLED =
435
+ T.let(
436
+ :ACH_ORIGINATION_CANCELLED,
437
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
438
+ )
439
+ ACH_ORIGINATION_INITIATED =
440
+ T.let(
441
+ :ACH_ORIGINATION_INITIATED,
442
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
443
+ )
444
+ ACH_ORIGINATION_PROCESSED =
445
+ T.let(
446
+ :ACH_ORIGINATION_PROCESSED,
447
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
448
+ )
449
+ ACH_ORIGINATION_RELEASED =
450
+ T.let(
451
+ :ACH_ORIGINATION_RELEASED,
452
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
453
+ )
454
+ ACH_ORIGINATION_REVIEWED =
455
+ T.let(
456
+ :ACH_ORIGINATION_REVIEWED,
457
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
458
+ )
459
+ ACH_ORIGINATION_SETTLED =
460
+ T.let(
461
+ :ACH_ORIGINATION_SETTLED,
462
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
463
+ )
464
+ ACH_RECEIPT_PROCESSED =
465
+ T.let(
466
+ :ACH_RECEIPT_PROCESSED,
467
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
468
+ )
469
+ ACH_RECEIPT_SETTLED =
470
+ T.let(
471
+ :ACH_RECEIPT_SETTLED,
472
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
473
+ )
474
+ ACH_RETURN_INITIATED =
475
+ T.let(
476
+ :ACH_RETURN_INITIATED,
477
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
478
+ )
479
+ ACH_RETURN_PROCESSED =
480
+ T.let(
481
+ :ACH_RETURN_PROCESSED,
482
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
483
+ )
484
+ ACH_RETURN_SETTLED =
485
+ T.let(
486
+ :ACH_RETURN_SETTLED,
487
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
488
+ )
489
+ AUTHORIZATION =
490
+ T.let(
491
+ :AUTHORIZATION,
492
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
493
+ )
494
+ AUTHORIZATION_ADVICE =
495
+ T.let(
496
+ :AUTHORIZATION_ADVICE,
497
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
498
+ )
499
+ AUTHORIZATION_EXPIRY =
500
+ T.let(
501
+ :AUTHORIZATION_EXPIRY,
502
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
503
+ )
504
+ AUTHORIZATION_REVERSAL =
505
+ T.let(
506
+ :AUTHORIZATION_REVERSAL,
507
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
508
+ )
509
+ BALANCE_INQUIRY =
510
+ T.let(
511
+ :BALANCE_INQUIRY,
512
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
513
+ )
514
+ BILLING_ERROR =
515
+ T.let(
516
+ :BILLING_ERROR,
517
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
518
+ )
519
+ BILLING_ERROR_REVERSAL =
520
+ T.let(
521
+ :BILLING_ERROR_REVERSAL,
522
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
523
+ )
524
+ CARD_TO_CARD =
525
+ T.let(
526
+ :CARD_TO_CARD,
527
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
528
+ )
529
+ CASH_BACK =
530
+ T.let(
531
+ :CASH_BACK,
532
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
533
+ )
534
+ CASH_BACK_REVERSAL =
535
+ T.let(
536
+ :CASH_BACK_REVERSAL,
537
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
538
+ )
539
+ CLEARING =
540
+ T.let(
541
+ :CLEARING,
542
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
543
+ )
544
+ COLLECTION =
545
+ T.let(
546
+ :COLLECTION,
547
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
548
+ )
549
+ CORRECTION_CREDIT =
550
+ T.let(
551
+ :CORRECTION_CREDIT,
552
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
553
+ )
554
+ CORRECTION_DEBIT =
555
+ T.let(
556
+ :CORRECTION_DEBIT,
557
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
558
+ )
559
+ CREDIT_AUTHORIZATION =
560
+ T.let(
561
+ :CREDIT_AUTHORIZATION,
562
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
563
+ )
564
+ CREDIT_AUTHORIZATION_ADVICE =
565
+ T.let(
566
+ :CREDIT_AUTHORIZATION_ADVICE,
567
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
568
+ )
569
+ CURRENCY_CONVERSION =
570
+ T.let(
571
+ :CURRENCY_CONVERSION,
572
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
573
+ )
574
+ CURRENCY_CONVERSION_REVERSAL =
575
+ T.let(
576
+ :CURRENCY_CONVERSION_REVERSAL,
577
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
578
+ )
579
+ DISPUTE_WON =
580
+ T.let(
581
+ :DISPUTE_WON,
582
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
583
+ )
584
+ EXTERNAL_ACH_CANCELED =
585
+ T.let(
586
+ :EXTERNAL_ACH_CANCELED,
587
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
588
+ )
589
+ EXTERNAL_ACH_INITIATED =
590
+ T.let(
591
+ :EXTERNAL_ACH_INITIATED,
592
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
593
+ )
594
+ EXTERNAL_ACH_RELEASED =
595
+ T.let(
596
+ :EXTERNAL_ACH_RELEASED,
597
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
598
+ )
599
+ EXTERNAL_ACH_REVERSED =
600
+ T.let(
601
+ :EXTERNAL_ACH_REVERSED,
602
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
603
+ )
604
+ EXTERNAL_ACH_SETTLED =
605
+ T.let(
606
+ :EXTERNAL_ACH_SETTLED,
607
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
608
+ )
609
+ EXTERNAL_CHECK_CANCELED =
610
+ T.let(
611
+ :EXTERNAL_CHECK_CANCELED,
612
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
613
+ )
614
+ EXTERNAL_CHECK_INITIATED =
615
+ T.let(
616
+ :EXTERNAL_CHECK_INITIATED,
617
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
618
+ )
619
+ EXTERNAL_CHECK_RELEASED =
620
+ T.let(
621
+ :EXTERNAL_CHECK_RELEASED,
622
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
623
+ )
624
+ EXTERNAL_CHECK_REVERSED =
625
+ T.let(
626
+ :EXTERNAL_CHECK_REVERSED,
627
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
628
+ )
629
+ EXTERNAL_CHECK_SETTLED =
630
+ T.let(
631
+ :EXTERNAL_CHECK_SETTLED,
632
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
633
+ )
634
+ EXTERNAL_TRANSFER_CANCELED =
635
+ T.let(
636
+ :EXTERNAL_TRANSFER_CANCELED,
637
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
638
+ )
639
+ EXTERNAL_TRANSFER_INITIATED =
640
+ T.let(
641
+ :EXTERNAL_TRANSFER_INITIATED,
642
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
643
+ )
644
+ EXTERNAL_TRANSFER_RELEASED =
645
+ T.let(
646
+ :EXTERNAL_TRANSFER_RELEASED,
647
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
648
+ )
649
+ EXTERNAL_TRANSFER_REVERSED =
650
+ T.let(
651
+ :EXTERNAL_TRANSFER_REVERSED,
652
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
653
+ )
654
+ EXTERNAL_TRANSFER_SETTLED =
655
+ T.let(
656
+ :EXTERNAL_TRANSFER_SETTLED,
657
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
658
+ )
659
+ EXTERNAL_WIRE_CANCELED =
660
+ T.let(
661
+ :EXTERNAL_WIRE_CANCELED,
662
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
663
+ )
664
+ EXTERNAL_WIRE_INITIATED =
665
+ T.let(
666
+ :EXTERNAL_WIRE_INITIATED,
667
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
668
+ )
669
+ EXTERNAL_WIRE_RELEASED =
670
+ T.let(
671
+ :EXTERNAL_WIRE_RELEASED,
672
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
673
+ )
674
+ EXTERNAL_WIRE_REVERSED =
675
+ T.let(
676
+ :EXTERNAL_WIRE_REVERSED,
677
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
678
+ )
679
+ EXTERNAL_WIRE_SETTLED =
680
+ T.let(
681
+ :EXTERNAL_WIRE_SETTLED,
682
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
683
+ )
684
+ FINANCIAL_AUTHORIZATION =
685
+ T.let(
686
+ :FINANCIAL_AUTHORIZATION,
687
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
688
+ )
689
+ FINANCIAL_CREDIT_AUTHORIZATION =
690
+ T.let(
691
+ :FINANCIAL_CREDIT_AUTHORIZATION,
692
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
693
+ )
694
+ INTEREST =
695
+ T.let(
696
+ :INTEREST,
697
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
698
+ )
699
+ INTEREST_REVERSAL =
700
+ T.let(
701
+ :INTEREST_REVERSAL,
702
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
703
+ )
704
+ INTERNAL_ADJUSTMENT =
705
+ T.let(
706
+ :INTERNAL_ADJUSTMENT,
707
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
708
+ )
709
+ LATE_PAYMENT =
710
+ T.let(
711
+ :LATE_PAYMENT,
712
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
713
+ )
714
+ LATE_PAYMENT_REVERSAL =
715
+ T.let(
716
+ :LATE_PAYMENT_REVERSAL,
717
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
718
+ )
719
+ LOSS_WRITE_OFF =
720
+ T.let(
721
+ :LOSS_WRITE_OFF,
722
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
723
+ )
724
+ PROVISIONAL_CREDIT =
725
+ T.let(
726
+ :PROVISIONAL_CREDIT,
727
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
728
+ )
729
+ PROVISIONAL_CREDIT_REVERSAL =
730
+ T.let(
731
+ :PROVISIONAL_CREDIT_REVERSAL,
732
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
733
+ )
734
+ SERVICE =
735
+ T.let(
736
+ :SERVICE,
737
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
738
+ )
739
+ RETURN =
740
+ T.let(
741
+ :RETURN,
742
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
743
+ )
744
+ RETURN_REVERSAL =
745
+ T.let(
746
+ :RETURN_REVERSAL,
747
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
748
+ )
749
+ TRANSFER =
750
+ T.let(
751
+ :TRANSFER,
752
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
753
+ )
754
+ TRANSFER_INSUFFICIENT_FUNDS =
755
+ T.let(
756
+ :TRANSFER_INSUFFICIENT_FUNDS,
757
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
758
+ )
759
+ RETURNED_PAYMENT =
760
+ T.let(
761
+ :RETURNED_PAYMENT,
762
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
763
+ )
764
+ RETURNED_PAYMENT_REVERSAL =
765
+ T.let(
766
+ :RETURNED_PAYMENT_REVERSAL,
767
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
768
+ )
769
+ LITHIC_NETWORK_PAYMENT =
770
+ T.let(
771
+ :LITHIC_NETWORK_PAYMENT,
772
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
773
+ )
774
+
775
+ sig do
776
+ override.returns(
777
+ T::Array[
778
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
779
+ ]
780
+ )
781
+ end
782
+ def self.values
783
+ end
784
+ end
785
+ end
786
+
787
+ module Family
788
+ extend Lithic::Internal::Type::Enum
789
+
790
+ TaggedSymbol =
791
+ T.type_alias do
792
+ T.all(
793
+ Symbol,
794
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family
795
+ )
796
+ end
797
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
798
+
799
+ CARD =
800
+ T.let(
801
+ :CARD,
802
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
803
+ )
804
+ PAYMENT =
805
+ T.let(
806
+ :PAYMENT,
807
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
808
+ )
809
+ TRANSFER =
810
+ T.let(
811
+ :TRANSFER,
812
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
813
+ )
814
+ INTERNAL =
815
+ T.let(
816
+ :INTERNAL,
817
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
818
+ )
819
+ EXTERNAL_PAYMENT =
820
+ T.let(
821
+ :EXTERNAL_PAYMENT,
822
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
823
+ )
824
+ MANAGEMENT_OPERATION =
825
+ T.let(
826
+ :MANAGEMENT_OPERATION,
827
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
828
+ )
829
+
830
+ sig do
831
+ override.returns(
832
+ T::Array[
833
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Family::TaggedSymbol
834
+ ]
835
+ )
836
+ end
837
+ def self.values
838
+ end
839
+ end
840
+
841
+ # Transaction result
842
+ module Result
843
+ extend Lithic::Internal::Type::Enum
844
+
845
+ TaggedSymbol =
846
+ T.type_alias do
847
+ T.all(
848
+ Symbol,
849
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result
850
+ )
851
+ end
852
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
853
+
854
+ APPROVED =
855
+ T.let(
856
+ :APPROVED,
857
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::TaggedSymbol
858
+ )
859
+ DECLINED =
860
+ T.let(
861
+ :DECLINED,
862
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::TaggedSymbol
863
+ )
864
+
865
+ sig do
866
+ override.returns(
867
+ T::Array[
868
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Result::TaggedSymbol
869
+ ]
870
+ )
871
+ end
872
+ def self.values
873
+ end
874
+ end
875
+
876
+ # The status of the transaction
877
+ module Status
878
+ extend Lithic::Internal::Type::Enum
879
+
880
+ TaggedSymbol =
881
+ T.type_alias do
882
+ T.all(
883
+ Symbol,
884
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status
885
+ )
886
+ end
887
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
888
+
889
+ PENDING =
890
+ T.let(
891
+ :PENDING,
892
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
893
+ )
894
+ SETTLED =
895
+ T.let(
896
+ :SETTLED,
897
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
898
+ )
899
+ DECLINED =
900
+ T.let(
901
+ :DECLINED,
902
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
903
+ )
904
+ REVERSED =
905
+ T.let(
906
+ :REVERSED,
907
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
908
+ )
909
+ CANCELED =
910
+ T.let(
911
+ :CANCELED,
912
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
913
+ )
914
+
915
+ sig do
916
+ override.returns(
917
+ T::Array[
918
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Status::TaggedSymbol
919
+ ]
920
+ )
921
+ end
922
+ def self.values
923
+ end
924
+ end
925
+ end
926
+
927
+ class BookTransferTransaction < Lithic::Internal::Type::BaseModel
928
+ OrHash =
929
+ T.type_alias do
930
+ T.any(
931
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction,
932
+ Lithic::Internal::AnyHash
933
+ )
934
+ end
935
+
936
+ # Unique identifier for the transaction
937
+ sig { returns(String) }
938
+ attr_accessor :token
939
+
940
+ sig do
941
+ returns(
942
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
943
+ )
944
+ end
945
+ attr_accessor :category
946
+
947
+ # ISO 8601 timestamp of when the transaction was created
948
+ sig { returns(Time) }
949
+ attr_accessor :created
950
+
951
+ # Currency of the transaction in ISO 4217 format
952
+ sig { returns(String) }
953
+ attr_accessor :currency
954
+
955
+ # List of events associated with this book transfer
956
+ sig do
957
+ returns(
958
+ T::Array[
959
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event
960
+ ]
961
+ )
962
+ end
963
+ attr_accessor :events
964
+
965
+ sig do
966
+ returns(
967
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
968
+ )
969
+ end
970
+ attr_accessor :family
971
+
972
+ # Source account token
973
+ sig { returns(String) }
974
+ attr_accessor :from_financial_account_token
975
+
976
+ # The pending amount of the transaction in cents
977
+ sig { returns(Integer) }
978
+ attr_accessor :pending_amount
979
+
980
+ sig do
981
+ returns(
982
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::TaggedSymbol
983
+ )
984
+ end
985
+ attr_accessor :result
986
+
987
+ # The settled amount of the transaction in cents
988
+ sig { returns(Integer) }
989
+ attr_accessor :settled_amount
990
+
991
+ # The status of the transaction
992
+ sig do
993
+ returns(
994
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
995
+ )
996
+ end
997
+ attr_accessor :status
998
+
999
+ # Destination account token
1000
+ sig { returns(String) }
1001
+ attr_accessor :to_financial_account_token
1002
+
1003
+ # ISO 8601 timestamp of when the transaction was last updated
1004
+ sig { returns(Time) }
1005
+ attr_accessor :updated
1006
+
1007
+ # External identifier for the transaction
1008
+ sig { returns(T.nilable(String)) }
1009
+ attr_reader :external_id
1010
+
1011
+ sig { params(external_id: String).void }
1012
+ attr_writer :external_id
1013
+
1014
+ # External resource associated with the management operation
1015
+ sig { returns(T.nilable(Lithic::ExternalResource)) }
1016
+ attr_reader :external_resource
1017
+
1018
+ sig do
1019
+ params(
1020
+ external_resource: T.nilable(Lithic::ExternalResource::OrHash)
1021
+ ).void
1022
+ end
1023
+ attr_writer :external_resource
1024
+
1025
+ sig do
1026
+ returns(
1027
+ T.nilable(
1028
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries
1029
+ )
1030
+ )
1031
+ end
1032
+ attr_reader :transaction_series
1033
+
1034
+ sig do
1035
+ params(
1036
+ transaction_series:
1037
+ T.nilable(
1038
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries::OrHash
1039
+ )
1040
+ ).void
1041
+ end
1042
+ attr_writer :transaction_series
1043
+
1044
+ # Book transfer transaction
1045
+ sig do
1046
+ params(
1047
+ token: String,
1048
+ category:
1049
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::OrSymbol,
1050
+ created: Time,
1051
+ currency: String,
1052
+ events:
1053
+ T::Array[
1054
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::OrHash
1055
+ ],
1056
+ family:
1057
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::OrSymbol,
1058
+ from_financial_account_token: String,
1059
+ pending_amount: Integer,
1060
+ result:
1061
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::OrSymbol,
1062
+ settled_amount: Integer,
1063
+ status:
1064
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::OrSymbol,
1065
+ to_financial_account_token: String,
1066
+ updated: Time,
1067
+ external_id: String,
1068
+ external_resource: T.nilable(Lithic::ExternalResource::OrHash),
1069
+ transaction_series:
1070
+ T.nilable(
1071
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries::OrHash
1072
+ )
1073
+ ).returns(T.attached_class)
1074
+ end
1075
+ def self.new(
1076
+ # Unique identifier for the transaction
1077
+ token:,
1078
+ category:,
1079
+ # ISO 8601 timestamp of when the transaction was created
1080
+ created:,
1081
+ # Currency of the transaction in ISO 4217 format
1082
+ currency:,
1083
+ # List of events associated with this book transfer
1084
+ events:,
1085
+ family:,
1086
+ # Source account token
1087
+ from_financial_account_token:,
1088
+ # The pending amount of the transaction in cents
1089
+ pending_amount:,
1090
+ result:,
1091
+ # The settled amount of the transaction in cents
1092
+ settled_amount:,
1093
+ # The status of the transaction
1094
+ status:,
1095
+ # Destination account token
1096
+ to_financial_account_token:,
1097
+ # ISO 8601 timestamp of when the transaction was last updated
1098
+ updated:,
1099
+ # External identifier for the transaction
1100
+ external_id: nil,
1101
+ # External resource associated with the management operation
1102
+ external_resource: nil,
1103
+ transaction_series: nil
1104
+ )
1105
+ end
1106
+
1107
+ sig do
1108
+ override.returns(
1109
+ {
1110
+ token: String,
1111
+ category:
1112
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol,
1113
+ created: Time,
1114
+ currency: String,
1115
+ events:
1116
+ T::Array[
1117
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event
1118
+ ],
1119
+ family:
1120
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol,
1121
+ from_financial_account_token: String,
1122
+ pending_amount: Integer,
1123
+ result:
1124
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::TaggedSymbol,
1125
+ settled_amount: Integer,
1126
+ status:
1127
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol,
1128
+ to_financial_account_token: String,
1129
+ updated: Time,
1130
+ external_id: String,
1131
+ external_resource: T.nilable(Lithic::ExternalResource),
1132
+ transaction_series:
1133
+ T.nilable(
1134
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries
1135
+ )
1136
+ }
1137
+ )
1138
+ end
1139
+ def to_hash
1140
+ end
1141
+
1142
+ module Category
1143
+ extend Lithic::Internal::Type::Enum
1144
+
1145
+ TaggedSymbol =
1146
+ T.type_alias do
1147
+ T.all(
1148
+ Symbol,
1149
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category
1150
+ )
1151
+ end
1152
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1153
+
1154
+ ACH =
1155
+ T.let(
1156
+ :ACH,
1157
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1158
+ )
1159
+ BALANCE_OR_FUNDING =
1160
+ T.let(
1161
+ :BALANCE_OR_FUNDING,
1162
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1163
+ )
1164
+ CARD =
1165
+ T.let(
1166
+ :CARD,
1167
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1168
+ )
1169
+ EXTERNAL_ACH =
1170
+ T.let(
1171
+ :EXTERNAL_ACH,
1172
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1173
+ )
1174
+ EXTERNAL_CHECK =
1175
+ T.let(
1176
+ :EXTERNAL_CHECK,
1177
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1178
+ )
1179
+ EXTERNAL_TRANSFER =
1180
+ T.let(
1181
+ :EXTERNAL_TRANSFER,
1182
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1183
+ )
1184
+ EXTERNAL_WIRE =
1185
+ T.let(
1186
+ :EXTERNAL_WIRE,
1187
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1188
+ )
1189
+ MANAGEMENT_ADJUSTMENT =
1190
+ T.let(
1191
+ :MANAGEMENT_ADJUSTMENT,
1192
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1193
+ )
1194
+ MANAGEMENT_DISPUTE =
1195
+ T.let(
1196
+ :MANAGEMENT_DISPUTE,
1197
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1198
+ )
1199
+ MANAGEMENT_FEE =
1200
+ T.let(
1201
+ :MANAGEMENT_FEE,
1202
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1203
+ )
1204
+ MANAGEMENT_REWARD =
1205
+ T.let(
1206
+ :MANAGEMENT_REWARD,
1207
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1208
+ )
1209
+ MANAGEMENT_DISBURSEMENT =
1210
+ T.let(
1211
+ :MANAGEMENT_DISBURSEMENT,
1212
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1213
+ )
1214
+ PROGRAM_FUNDING =
1215
+ T.let(
1216
+ :PROGRAM_FUNDING,
1217
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1218
+ )
1219
+
1220
+ sig do
1221
+ override.returns(
1222
+ T::Array[
1223
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1224
+ ]
1225
+ )
1226
+ end
1227
+ def self.values
1228
+ end
1229
+ end
1230
+
1231
+ class Event < Lithic::Internal::Type::BaseModel
1232
+ OrHash =
1233
+ T.type_alias do
1234
+ T.any(
1235
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event,
1236
+ Lithic::Internal::AnyHash
1237
+ )
1238
+ end
1239
+
1240
+ # Globally unique identifier.
1241
+ sig { returns(String) }
1242
+ attr_accessor :token
1243
+
1244
+ # Amount of the financial event that has been settled in the currency's smallest
1245
+ # unit (e.g., cents).
1246
+ sig { returns(Integer) }
1247
+ attr_accessor :amount
1248
+
1249
+ # Date and time when the financial event occurred. UTC time zone.
1250
+ sig { returns(Time) }
1251
+ attr_accessor :created
1252
+
1253
+ sig do
1254
+ returns(
1255
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::TaggedSymbol
1256
+ )
1257
+ end
1258
+ attr_accessor :detailed_results
1259
+
1260
+ # Memo for the transfer.
1261
+ sig { returns(String) }
1262
+ attr_accessor :memo
1263
+
1264
+ # APPROVED financial events were successful while DECLINED financial events were
1265
+ # declined by user, Lithic, or the network.
1266
+ sig do
1267
+ returns(
1268
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::TaggedSymbol
1269
+ )
1270
+ end
1271
+ attr_accessor :result
1272
+
1273
+ # The program specific subtype code for the specified category/type.
1274
+ sig { returns(String) }
1275
+ attr_accessor :subtype
1276
+
1277
+ # Type of the book transfer
1278
+ sig do
1279
+ returns(
1280
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1281
+ )
1282
+ end
1283
+ attr_accessor :type
1284
+
1285
+ # Book transfer Event
1286
+ sig do
1287
+ params(
1288
+ token: String,
1289
+ amount: Integer,
1290
+ created: Time,
1291
+ detailed_results:
1292
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::OrSymbol,
1293
+ memo: String,
1294
+ result:
1295
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::OrSymbol,
1296
+ subtype: String,
1297
+ type:
1298
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::OrSymbol
1299
+ ).returns(T.attached_class)
1300
+ end
1301
+ def self.new(
1302
+ # Globally unique identifier.
1303
+ token:,
1304
+ # Amount of the financial event that has been settled in the currency's smallest
1305
+ # unit (e.g., cents).
1306
+ amount:,
1307
+ # Date and time when the financial event occurred. UTC time zone.
1308
+ created:,
1309
+ detailed_results:,
1310
+ # Memo for the transfer.
1311
+ memo:,
1312
+ # APPROVED financial events were successful while DECLINED financial events were
1313
+ # declined by user, Lithic, or the network.
1314
+ result:,
1315
+ # The program specific subtype code for the specified category/type.
1316
+ subtype:,
1317
+ # Type of the book transfer
1318
+ type:
1319
+ )
1320
+ end
1321
+
1322
+ sig do
1323
+ override.returns(
1324
+ {
1325
+ token: String,
1326
+ amount: Integer,
1327
+ created: Time,
1328
+ detailed_results:
1329
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::TaggedSymbol,
1330
+ memo: String,
1331
+ result:
1332
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::TaggedSymbol,
1333
+ subtype: String,
1334
+ type:
1335
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1336
+ }
1337
+ )
1338
+ end
1339
+ def to_hash
1340
+ end
1341
+
1342
+ module DetailedResults
1343
+ extend Lithic::Internal::Type::Enum
1344
+
1345
+ TaggedSymbol =
1346
+ T.type_alias do
1347
+ T.all(
1348
+ Symbol,
1349
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults
1350
+ )
1351
+ end
1352
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1353
+
1354
+ APPROVED =
1355
+ T.let(
1356
+ :APPROVED,
1357
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::TaggedSymbol
1358
+ )
1359
+ FUNDS_INSUFFICIENT =
1360
+ T.let(
1361
+ :FUNDS_INSUFFICIENT,
1362
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::TaggedSymbol
1363
+ )
1364
+
1365
+ sig do
1366
+ override.returns(
1367
+ T::Array[
1368
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::DetailedResults::TaggedSymbol
1369
+ ]
1370
+ )
1371
+ end
1372
+ def self.values
1373
+ end
1374
+ end
1375
+
1376
+ # APPROVED financial events were successful while DECLINED financial events were
1377
+ # declined by user, Lithic, or the network.
1378
+ module Result
1379
+ extend Lithic::Internal::Type::Enum
1380
+
1381
+ TaggedSymbol =
1382
+ T.type_alias do
1383
+ T.all(
1384
+ Symbol,
1385
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result
1386
+ )
1387
+ end
1388
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1389
+
1390
+ APPROVED =
1391
+ T.let(
1392
+ :APPROVED,
1393
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::TaggedSymbol
1394
+ )
1395
+ DECLINED =
1396
+ T.let(
1397
+ :DECLINED,
1398
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::TaggedSymbol
1399
+ )
1400
+
1401
+ sig do
1402
+ override.returns(
1403
+ T::Array[
1404
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Result::TaggedSymbol
1405
+ ]
1406
+ )
1407
+ end
1408
+ def self.values
1409
+ end
1410
+ end
1411
+
1412
+ # Type of the book transfer
1413
+ module Type
1414
+ extend Lithic::Internal::Type::Enum
1415
+
1416
+ TaggedSymbol =
1417
+ T.type_alias do
1418
+ T.all(
1419
+ Symbol,
1420
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type
1421
+ )
1422
+ end
1423
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1424
+
1425
+ ATM_WITHDRAWAL =
1426
+ T.let(
1427
+ :ATM_WITHDRAWAL,
1428
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1429
+ )
1430
+ ATM_DECLINE =
1431
+ T.let(
1432
+ :ATM_DECLINE,
1433
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1434
+ )
1435
+ INTERNATIONAL_ATM_WITHDRAWAL =
1436
+ T.let(
1437
+ :INTERNATIONAL_ATM_WITHDRAWAL,
1438
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1439
+ )
1440
+ INACTIVITY =
1441
+ T.let(
1442
+ :INACTIVITY,
1443
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1444
+ )
1445
+ STATEMENT =
1446
+ T.let(
1447
+ :STATEMENT,
1448
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1449
+ )
1450
+ MONTHLY =
1451
+ T.let(
1452
+ :MONTHLY,
1453
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1454
+ )
1455
+ QUARTERLY =
1456
+ T.let(
1457
+ :QUARTERLY,
1458
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1459
+ )
1460
+ ANNUAL =
1461
+ T.let(
1462
+ :ANNUAL,
1463
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1464
+ )
1465
+ CUSTOMER_SERVICE =
1466
+ T.let(
1467
+ :CUSTOMER_SERVICE,
1468
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1469
+ )
1470
+ ACCOUNT_MAINTENANCE =
1471
+ T.let(
1472
+ :ACCOUNT_MAINTENANCE,
1473
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1474
+ )
1475
+ ACCOUNT_ACTIVATION =
1476
+ T.let(
1477
+ :ACCOUNT_ACTIVATION,
1478
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1479
+ )
1480
+ ACCOUNT_CLOSURE =
1481
+ T.let(
1482
+ :ACCOUNT_CLOSURE,
1483
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1484
+ )
1485
+ CARD_REPLACEMENT =
1486
+ T.let(
1487
+ :CARD_REPLACEMENT,
1488
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1489
+ )
1490
+ CARD_DELIVERY =
1491
+ T.let(
1492
+ :CARD_DELIVERY,
1493
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1494
+ )
1495
+ CARD_CREATE =
1496
+ T.let(
1497
+ :CARD_CREATE,
1498
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1499
+ )
1500
+ CURRENCY_CONVERSION =
1501
+ T.let(
1502
+ :CURRENCY_CONVERSION,
1503
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1504
+ )
1505
+ INTEREST =
1506
+ T.let(
1507
+ :INTEREST,
1508
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1509
+ )
1510
+ LATE_PAYMENT =
1511
+ T.let(
1512
+ :LATE_PAYMENT,
1513
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1514
+ )
1515
+ BILL_PAYMENT =
1516
+ T.let(
1517
+ :BILL_PAYMENT,
1518
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1519
+ )
1520
+ CASH_BACK =
1521
+ T.let(
1522
+ :CASH_BACK,
1523
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1524
+ )
1525
+ ACCOUNT_TO_ACCOUNT =
1526
+ T.let(
1527
+ :ACCOUNT_TO_ACCOUNT,
1528
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1529
+ )
1530
+ CARD_TO_CARD =
1531
+ T.let(
1532
+ :CARD_TO_CARD,
1533
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1534
+ )
1535
+ DISBURSE =
1536
+ T.let(
1537
+ :DISBURSE,
1538
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1539
+ )
1540
+ BILLING_ERROR =
1541
+ T.let(
1542
+ :BILLING_ERROR,
1543
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1544
+ )
1545
+ LOSS_WRITE_OFF =
1546
+ T.let(
1547
+ :LOSS_WRITE_OFF,
1548
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1549
+ )
1550
+ EXPIRED_CARD =
1551
+ T.let(
1552
+ :EXPIRED_CARD,
1553
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1554
+ )
1555
+ EARLY_DERECOGNITION =
1556
+ T.let(
1557
+ :EARLY_DERECOGNITION,
1558
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1559
+ )
1560
+ ESCHEATMENT =
1561
+ T.let(
1562
+ :ESCHEATMENT,
1563
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1564
+ )
1565
+ INACTIVITY_FEE_DOWN =
1566
+ T.let(
1567
+ :INACTIVITY_FEE_DOWN,
1568
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1569
+ )
1570
+ PROVISIONAL_CREDIT =
1571
+ T.let(
1572
+ :PROVISIONAL_CREDIT,
1573
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1574
+ )
1575
+ DISPUTE_WON =
1576
+ T.let(
1577
+ :DISPUTE_WON,
1578
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1579
+ )
1580
+ SERVICE =
1581
+ T.let(
1582
+ :SERVICE,
1583
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1584
+ )
1585
+ TRANSFER =
1586
+ T.let(
1587
+ :TRANSFER,
1588
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1589
+ )
1590
+ COLLECTION =
1591
+ T.let(
1592
+ :COLLECTION,
1593
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1594
+ )
1595
+
1596
+ sig do
1597
+ override.returns(
1598
+ T::Array[
1599
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1600
+ ]
1601
+ )
1602
+ end
1603
+ def self.values
1604
+ end
1605
+ end
1606
+ end
1607
+
1608
+ module Family
1609
+ extend Lithic::Internal::Type::Enum
1610
+
1611
+ TaggedSymbol =
1612
+ T.type_alias do
1613
+ T.all(
1614
+ Symbol,
1615
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family
1616
+ )
1617
+ end
1618
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1619
+
1620
+ CARD =
1621
+ T.let(
1622
+ :CARD,
1623
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1624
+ )
1625
+ PAYMENT =
1626
+ T.let(
1627
+ :PAYMENT,
1628
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1629
+ )
1630
+ TRANSFER =
1631
+ T.let(
1632
+ :TRANSFER,
1633
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1634
+ )
1635
+ INTERNAL =
1636
+ T.let(
1637
+ :INTERNAL,
1638
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1639
+ )
1640
+ EXTERNAL_PAYMENT =
1641
+ T.let(
1642
+ :EXTERNAL_PAYMENT,
1643
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1644
+ )
1645
+ MANAGEMENT_OPERATION =
1646
+ T.let(
1647
+ :MANAGEMENT_OPERATION,
1648
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1649
+ )
1650
+
1651
+ sig do
1652
+ override.returns(
1653
+ T::Array[
1654
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Family::TaggedSymbol
1655
+ ]
1656
+ )
1657
+ end
1658
+ def self.values
1659
+ end
1660
+ end
1661
+
1662
+ module Result
1663
+ extend Lithic::Internal::Type::Enum
1664
+
1665
+ TaggedSymbol =
1666
+ T.type_alias do
1667
+ T.all(
1668
+ Symbol,
1669
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result
1670
+ )
1671
+ end
1672
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1673
+
1674
+ APPROVED =
1675
+ T.let(
1676
+ :APPROVED,
1677
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::TaggedSymbol
1678
+ )
1679
+ DECLINED =
1680
+ T.let(
1681
+ :DECLINED,
1682
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::TaggedSymbol
1683
+ )
1684
+
1685
+ sig do
1686
+ override.returns(
1687
+ T::Array[
1688
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Result::TaggedSymbol
1689
+ ]
1690
+ )
1691
+ end
1692
+ def self.values
1693
+ end
1694
+ end
1695
+
1696
+ # The status of the transaction
1697
+ module Status
1698
+ extend Lithic::Internal::Type::Enum
1699
+
1700
+ TaggedSymbol =
1701
+ T.type_alias do
1702
+ T.all(
1703
+ Symbol,
1704
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status
1705
+ )
1706
+ end
1707
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1708
+
1709
+ PENDING =
1710
+ T.let(
1711
+ :PENDING,
1712
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1713
+ )
1714
+ SETTLED =
1715
+ T.let(
1716
+ :SETTLED,
1717
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1718
+ )
1719
+ DECLINED =
1720
+ T.let(
1721
+ :DECLINED,
1722
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1723
+ )
1724
+ REVERSED =
1725
+ T.let(
1726
+ :REVERSED,
1727
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1728
+ )
1729
+ CANCELED =
1730
+ T.let(
1731
+ :CANCELED,
1732
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1733
+ )
1734
+
1735
+ sig do
1736
+ override.returns(
1737
+ T::Array[
1738
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Status::TaggedSymbol
1739
+ ]
1740
+ )
1741
+ end
1742
+ def self.values
1743
+ end
1744
+ end
1745
+
1746
+ class TransactionSeries < Lithic::Internal::Type::BaseModel
1747
+ OrHash =
1748
+ T.type_alias do
1749
+ T.any(
1750
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries,
1751
+ Lithic::Internal::AnyHash
1752
+ )
1753
+ end
1754
+
1755
+ sig { returns(T.nilable(String)) }
1756
+ attr_accessor :related_transaction_event_token
1757
+
1758
+ sig { returns(T.nilable(String)) }
1759
+ attr_accessor :related_transaction_token
1760
+
1761
+ sig { returns(String) }
1762
+ attr_accessor :type
1763
+
1764
+ sig do
1765
+ params(
1766
+ related_transaction_event_token: T.nilable(String),
1767
+ related_transaction_token: T.nilable(String),
1768
+ type: String
1769
+ ).returns(T.attached_class)
1770
+ end
1771
+ def self.new(
1772
+ related_transaction_event_token:,
1773
+ related_transaction_token:,
1774
+ type:
1775
+ )
1776
+ end
1777
+
1778
+ sig do
1779
+ override.returns(
1780
+ {
1781
+ related_transaction_event_token: T.nilable(String),
1782
+ related_transaction_token: T.nilable(String),
1783
+ type: String
1784
+ }
1785
+ )
1786
+ end
1787
+ def to_hash
1788
+ end
1789
+ end
1790
+ end
1791
+
1792
+ class CardTransaction < Lithic::Models::Transaction
1793
+ OrHash =
1794
+ T.type_alias do
1795
+ T.any(
1796
+ Lithic::Models::AccountActivityListResponse::CardTransaction,
1797
+ Lithic::Internal::AnyHash
1798
+ )
1799
+ end
1800
+
1801
+ # Unique identifier for the transaction
1802
+ sig { returns(String) }
1803
+ attr_accessor :token
1804
+
1805
+ # ISO 8601 timestamp of when the transaction was created
1806
+ sig { returns(Time) }
1807
+ attr_accessor :created
1808
+
1809
+ sig do
1810
+ returns(
1811
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1812
+ )
1813
+ end
1814
+ attr_accessor :family
1815
+
1816
+ # The status of the transaction
1817
+ sig do
1818
+ returns(
1819
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1820
+ )
1821
+ end
1822
+ attr_accessor :status
1823
+
1824
+ # ISO 8601 timestamp of when the transaction was last updated
1825
+ sig { returns(Time) }
1826
+ attr_accessor :updated
1827
+
1828
+ # Base class for all transaction types in the ledger service
1829
+ sig do
1830
+ params(
1831
+ token: String,
1832
+ created: Time,
1833
+ family:
1834
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::OrSymbol,
1835
+ status:
1836
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::OrSymbol,
1837
+ updated: Time
1838
+ ).returns(T.attached_class)
1839
+ end
1840
+ def self.new(
1841
+ # Unique identifier for the transaction
1842
+ token:,
1843
+ # ISO 8601 timestamp of when the transaction was created
1844
+ created:,
1845
+ family:,
1846
+ # The status of the transaction
1847
+ status:,
1848
+ # ISO 8601 timestamp of when the transaction was last updated
1849
+ updated:
1850
+ )
1851
+ end
1852
+
1853
+ sig do
1854
+ override.returns(
1855
+ {
1856
+ token: String,
1857
+ created: Time,
1858
+ family:
1859
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol,
1860
+ status:
1861
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol,
1862
+ updated: Time
1863
+ }
1864
+ )
1865
+ end
1866
+ def to_hash
1867
+ end
1868
+
1869
+ module Family
1870
+ extend Lithic::Internal::Type::Enum
1871
+
1872
+ TaggedSymbol =
1873
+ T.type_alias do
1874
+ T.all(
1875
+ Symbol,
1876
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family
1877
+ )
1878
+ end
1879
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1880
+
1881
+ CARD =
1882
+ T.let(
1883
+ :CARD,
1884
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1885
+ )
1886
+ PAYMENT =
1887
+ T.let(
1888
+ :PAYMENT,
1889
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1890
+ )
1891
+ TRANSFER =
1892
+ T.let(
1893
+ :TRANSFER,
1894
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1895
+ )
1896
+ INTERNAL =
1897
+ T.let(
1898
+ :INTERNAL,
1899
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1900
+ )
1901
+ EXTERNAL_PAYMENT =
1902
+ T.let(
1903
+ :EXTERNAL_PAYMENT,
1904
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1905
+ )
1906
+ MANAGEMENT_OPERATION =
1907
+ T.let(
1908
+ :MANAGEMENT_OPERATION,
1909
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1910
+ )
1911
+
1912
+ sig do
1913
+ override.returns(
1914
+ T::Array[
1915
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Family::TaggedSymbol
1916
+ ]
1917
+ )
1918
+ end
1919
+ def self.values
1920
+ end
1921
+ end
1922
+
1923
+ # The status of the transaction
1924
+ module Status
1925
+ extend Lithic::Internal::Type::Enum
1926
+
1927
+ TaggedSymbol =
1928
+ T.type_alias do
1929
+ T.all(
1930
+ Symbol,
1931
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status
1932
+ )
1933
+ end
1934
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1935
+
1936
+ PENDING =
1937
+ T.let(
1938
+ :PENDING,
1939
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1940
+ )
1941
+ SETTLED =
1942
+ T.let(
1943
+ :SETTLED,
1944
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1945
+ )
1946
+ DECLINED =
1947
+ T.let(
1948
+ :DECLINED,
1949
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1950
+ )
1951
+ REVERSED =
1952
+ T.let(
1953
+ :REVERSED,
1954
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1955
+ )
1956
+ CANCELED =
1957
+ T.let(
1958
+ :CANCELED,
1959
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1960
+ )
1961
+
1962
+ sig do
1963
+ override.returns(
1964
+ T::Array[
1965
+ Lithic::Models::AccountActivityListResponse::CardTransaction::Status::TaggedSymbol
1966
+ ]
1967
+ )
1968
+ end
1969
+ def self.values
1970
+ end
1971
+ end
1972
+ end
1973
+
1974
+ class PaymentTransaction < Lithic::Internal::Type::BaseModel
1975
+ OrHash =
1976
+ T.type_alias do
1977
+ T.any(
1978
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction,
1979
+ Lithic::Internal::AnyHash
1980
+ )
1981
+ end
1982
+
1983
+ # Unique identifier for the transaction
1984
+ sig { returns(String) }
1985
+ attr_accessor :token
1986
+
1987
+ # Transaction category
1988
+ sig do
1989
+ returns(
1990
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
1991
+ )
1992
+ end
1993
+ attr_accessor :category
1994
+
1995
+ # ISO 8601 timestamp of when the transaction was created
1996
+ sig { returns(Time) }
1997
+ attr_accessor :created
1998
+
1999
+ # Transaction descriptor
2000
+ sig { returns(String) }
2001
+ attr_accessor :descriptor
2002
+
2003
+ # Transfer direction
2004
+ sig do
2005
+ returns(
2006
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::TaggedSymbol
2007
+ )
2008
+ end
2009
+ attr_accessor :direction
2010
+
2011
+ # List of transaction events
2012
+ sig do
2013
+ returns(
2014
+ T::Array[
2015
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event
2016
+ ]
2017
+ )
2018
+ end
2019
+ attr_accessor :events
2020
+
2021
+ sig do
2022
+ returns(
2023
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2024
+ )
2025
+ end
2026
+ attr_accessor :family
2027
+
2028
+ # Financial account token
2029
+ sig { returns(String) }
2030
+ attr_accessor :financial_account_token
2031
+
2032
+ # Transfer method
2033
+ sig do
2034
+ returns(
2035
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol
2036
+ )
2037
+ end
2038
+ attr_accessor :method_
2039
+
2040
+ # Method-specific attributes
2041
+ sig do
2042
+ returns(
2043
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::Variants
2044
+ )
2045
+ end
2046
+ attr_accessor :method_attributes
2047
+
2048
+ # Pending amount in cents
2049
+ sig { returns(Integer) }
2050
+ attr_accessor :pending_amount
2051
+
2052
+ # Related account tokens for the transaction
2053
+ sig do
2054
+ returns(
2055
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens
2056
+ )
2057
+ end
2058
+ attr_reader :related_account_tokens
2059
+
2060
+ sig do
2061
+ params(
2062
+ related_account_tokens:
2063
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens::OrHash
2064
+ ).void
2065
+ end
2066
+ attr_writer :related_account_tokens
2067
+
2068
+ # Transaction result
2069
+ sig do
2070
+ returns(
2071
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::TaggedSymbol
2072
+ )
2073
+ end
2074
+ attr_accessor :result
2075
+
2076
+ # Settled amount in cents
2077
+ sig { returns(Integer) }
2078
+ attr_accessor :settled_amount
2079
+
2080
+ # Transaction source
2081
+ sig do
2082
+ returns(
2083
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol
2084
+ )
2085
+ end
2086
+ attr_accessor :source
2087
+
2088
+ # The status of the transaction
2089
+ sig do
2090
+ returns(
2091
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
2092
+ )
2093
+ end
2094
+ attr_accessor :status
2095
+
2096
+ # ISO 8601 timestamp of when the transaction was last updated
2097
+ sig { returns(Time) }
2098
+ attr_accessor :updated
2099
+
2100
+ # Currency of the transaction in ISO 4217 format
2101
+ sig { returns(T.nilable(String)) }
2102
+ attr_reader :currency
2103
+
2104
+ sig { params(currency: String).void }
2105
+ attr_writer :currency
2106
+
2107
+ # Expected release date for the transaction
2108
+ sig { returns(T.nilable(Date)) }
2109
+ attr_accessor :expected_release_date
2110
+
2111
+ # External bank account token
2112
+ sig { returns(T.nilable(String)) }
2113
+ attr_accessor :external_bank_account_token
2114
+
2115
+ sig do
2116
+ returns(
2117
+ T.nilable(
2118
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
2119
+ )
2120
+ )
2121
+ end
2122
+ attr_reader :type
2123
+
2124
+ sig do
2125
+ params(
2126
+ type:
2127
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::OrSymbol
2128
+ ).void
2129
+ end
2130
+ attr_writer :type
2131
+
2132
+ # User-defined identifier
2133
+ sig { returns(T.nilable(String)) }
2134
+ attr_accessor :user_defined_id
2135
+
2136
+ # Payment transaction
2137
+ sig do
2138
+ params(
2139
+ token: String,
2140
+ category:
2141
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::OrSymbol,
2142
+ created: Time,
2143
+ descriptor: String,
2144
+ direction:
2145
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::OrSymbol,
2146
+ events:
2147
+ T::Array[
2148
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::OrHash
2149
+ ],
2150
+ family:
2151
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::OrSymbol,
2152
+ financial_account_token: String,
2153
+ method_:
2154
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::OrSymbol,
2155
+ method_attributes:
2156
+ T.any(
2157
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::OrHash,
2158
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::OrHash
2159
+ ),
2160
+ pending_amount: Integer,
2161
+ related_account_tokens:
2162
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens::OrHash,
2163
+ result:
2164
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::OrSymbol,
2165
+ settled_amount: Integer,
2166
+ source:
2167
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::OrSymbol,
2168
+ status:
2169
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::OrSymbol,
2170
+ updated: Time,
2171
+ currency: String,
2172
+ expected_release_date: T.nilable(Date),
2173
+ external_bank_account_token: T.nilable(String),
2174
+ type:
2175
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::OrSymbol,
2176
+ user_defined_id: T.nilable(String)
2177
+ ).returns(T.attached_class)
2178
+ end
2179
+ def self.new(
2180
+ # Unique identifier for the transaction
2181
+ token:,
2182
+ # Transaction category
2183
+ category:,
2184
+ # ISO 8601 timestamp of when the transaction was created
2185
+ created:,
2186
+ # Transaction descriptor
2187
+ descriptor:,
2188
+ # Transfer direction
2189
+ direction:,
2190
+ # List of transaction events
2191
+ events:,
2192
+ family:,
2193
+ # Financial account token
2194
+ financial_account_token:,
2195
+ # Transfer method
2196
+ method_:,
2197
+ # Method-specific attributes
2198
+ method_attributes:,
2199
+ # Pending amount in cents
2200
+ pending_amount:,
2201
+ # Related account tokens for the transaction
2202
+ related_account_tokens:,
2203
+ # Transaction result
2204
+ result:,
2205
+ # Settled amount in cents
2206
+ settled_amount:,
2207
+ # Transaction source
2208
+ source:,
2209
+ # The status of the transaction
2210
+ status:,
2211
+ # ISO 8601 timestamp of when the transaction was last updated
2212
+ updated:,
2213
+ # Currency of the transaction in ISO 4217 format
2214
+ currency: nil,
2215
+ # Expected release date for the transaction
2216
+ expected_release_date: nil,
2217
+ # External bank account token
2218
+ external_bank_account_token: nil,
2219
+ type: nil,
2220
+ # User-defined identifier
2221
+ user_defined_id: nil
2222
+ )
2223
+ end
2224
+
2225
+ sig do
2226
+ override.returns(
2227
+ {
2228
+ token: String,
2229
+ category:
2230
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol,
2231
+ created: Time,
2232
+ descriptor: String,
2233
+ direction:
2234
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::TaggedSymbol,
2235
+ events:
2236
+ T::Array[
2237
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event
2238
+ ],
2239
+ family:
2240
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol,
2241
+ financial_account_token: String,
2242
+ method_:
2243
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol,
2244
+ method_attributes:
2245
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::Variants,
2246
+ pending_amount: Integer,
2247
+ related_account_tokens:
2248
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens,
2249
+ result:
2250
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::TaggedSymbol,
2251
+ settled_amount: Integer,
2252
+ source:
2253
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol,
2254
+ status:
2255
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol,
2256
+ updated: Time,
2257
+ currency: String,
2258
+ expected_release_date: T.nilable(Date),
2259
+ external_bank_account_token: T.nilable(String),
2260
+ type:
2261
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol,
2262
+ user_defined_id: T.nilable(String)
2263
+ }
2264
+ )
2265
+ end
2266
+ def to_hash
2267
+ end
2268
+
2269
+ # Transaction category
2270
+ module Category
2271
+ extend Lithic::Internal::Type::Enum
2272
+
2273
+ TaggedSymbol =
2274
+ T.type_alias do
2275
+ T.all(
2276
+ Symbol,
2277
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category
2278
+ )
2279
+ end
2280
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2281
+
2282
+ ACH =
2283
+ T.let(
2284
+ :ACH,
2285
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2286
+ )
2287
+ BALANCE_OR_FUNDING =
2288
+ T.let(
2289
+ :BALANCE_OR_FUNDING,
2290
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2291
+ )
2292
+ CARD =
2293
+ T.let(
2294
+ :CARD,
2295
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2296
+ )
2297
+ EXTERNAL_ACH =
2298
+ T.let(
2299
+ :EXTERNAL_ACH,
2300
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2301
+ )
2302
+ EXTERNAL_CHECK =
2303
+ T.let(
2304
+ :EXTERNAL_CHECK,
2305
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2306
+ )
2307
+ EXTERNAL_TRANSFER =
2308
+ T.let(
2309
+ :EXTERNAL_TRANSFER,
2310
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2311
+ )
2312
+ EXTERNAL_WIRE =
2313
+ T.let(
2314
+ :EXTERNAL_WIRE,
2315
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2316
+ )
2317
+ MANAGEMENT_ADJUSTMENT =
2318
+ T.let(
2319
+ :MANAGEMENT_ADJUSTMENT,
2320
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2321
+ )
2322
+ MANAGEMENT_DISPUTE =
2323
+ T.let(
2324
+ :MANAGEMENT_DISPUTE,
2325
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2326
+ )
2327
+ MANAGEMENT_FEE =
2328
+ T.let(
2329
+ :MANAGEMENT_FEE,
2330
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2331
+ )
2332
+ MANAGEMENT_REWARD =
2333
+ T.let(
2334
+ :MANAGEMENT_REWARD,
2335
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2336
+ )
2337
+ MANAGEMENT_DISBURSEMENT =
2338
+ T.let(
2339
+ :MANAGEMENT_DISBURSEMENT,
2340
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2341
+ )
2342
+ PROGRAM_FUNDING =
2343
+ T.let(
2344
+ :PROGRAM_FUNDING,
2345
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2346
+ )
2347
+
2348
+ sig do
2349
+ override.returns(
2350
+ T::Array[
2351
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2352
+ ]
2353
+ )
2354
+ end
2355
+ def self.values
2356
+ end
2357
+ end
2358
+
2359
+ # Transfer direction
2360
+ module Direction
2361
+ extend Lithic::Internal::Type::Enum
2362
+
2363
+ TaggedSymbol =
2364
+ T.type_alias do
2365
+ T.all(
2366
+ Symbol,
2367
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction
2368
+ )
2369
+ end
2370
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2371
+
2372
+ CREDIT =
2373
+ T.let(
2374
+ :CREDIT,
2375
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::TaggedSymbol
2376
+ )
2377
+ DEBIT =
2378
+ T.let(
2379
+ :DEBIT,
2380
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::TaggedSymbol
2381
+ )
2382
+
2383
+ sig do
2384
+ override.returns(
2385
+ T::Array[
2386
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Direction::TaggedSymbol
2387
+ ]
2388
+ )
2389
+ end
2390
+ def self.values
2391
+ end
2392
+ end
2393
+
2394
+ class Event < Lithic::Internal::Type::BaseModel
2395
+ OrHash =
2396
+ T.type_alias do
2397
+ T.any(
2398
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event,
2399
+ Lithic::Internal::AnyHash
2400
+ )
2401
+ end
2402
+
2403
+ # Globally unique identifier.
2404
+ sig { returns(String) }
2405
+ attr_accessor :token
2406
+
2407
+ # Amount of the financial event that has been settled in the currency's smallest
2408
+ # unit (e.g., cents).
2409
+ sig { returns(Integer) }
2410
+ attr_accessor :amount
2411
+
2412
+ # Date and time when the financial event occurred. UTC time zone.
2413
+ sig { returns(Time) }
2414
+ attr_accessor :created
2415
+
2416
+ # APPROVED financial events were successful while DECLINED financial events were
2417
+ # declined by user, Lithic, or the network.
2418
+ sig do
2419
+ returns(
2420
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::TaggedSymbol
2421
+ )
2422
+ end
2423
+ attr_accessor :result
2424
+
2425
+ # Event types:
2426
+ #
2427
+ # - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
2428
+ # approval/release from an ACH hold.
2429
+ # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
2430
+ # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
2431
+ # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
2432
+ # the Federal Reserve.
2433
+ # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
2434
+ # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
2435
+ # available balance.
2436
+ # - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
2437
+ # Financial Institution.
2438
+ # - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
2439
+ # - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
2440
+ # - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
2441
+ # - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
2442
+ # balance.
2443
+ # - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
2444
+ # Financial Institution.
2445
+ sig do
2446
+ returns(
2447
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2448
+ )
2449
+ end
2450
+ attr_accessor :type
2451
+
2452
+ # More detailed reasons for the event
2453
+ sig do
2454
+ returns(
2455
+ T.nilable(
2456
+ T::Array[
2457
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2458
+ ]
2459
+ )
2460
+ )
2461
+ end
2462
+ attr_reader :detailed_results
2463
+
2464
+ sig do
2465
+ params(
2466
+ detailed_results:
2467
+ T::Array[
2468
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::OrSymbol
2469
+ ]
2470
+ ).void
2471
+ end
2472
+ attr_writer :detailed_results
2473
+
2474
+ # Payment Event
2475
+ sig do
2476
+ params(
2477
+ token: String,
2478
+ amount: Integer,
2479
+ created: Time,
2480
+ result:
2481
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::OrSymbol,
2482
+ type:
2483
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::OrSymbol,
2484
+ detailed_results:
2485
+ T::Array[
2486
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::OrSymbol
2487
+ ]
2488
+ ).returns(T.attached_class)
2489
+ end
2490
+ def self.new(
2491
+ # Globally unique identifier.
2492
+ token:,
2493
+ # Amount of the financial event that has been settled in the currency's smallest
2494
+ # unit (e.g., cents).
2495
+ amount:,
2496
+ # Date and time when the financial event occurred. UTC time zone.
2497
+ created:,
2498
+ # APPROVED financial events were successful while DECLINED financial events were
2499
+ # declined by user, Lithic, or the network.
2500
+ result:,
2501
+ # Event types:
2502
+ #
2503
+ # - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
2504
+ # approval/release from an ACH hold.
2505
+ # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
2506
+ # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
2507
+ # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
2508
+ # the Federal Reserve.
2509
+ # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
2510
+ # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
2511
+ # available balance.
2512
+ # - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
2513
+ # Financial Institution.
2514
+ # - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
2515
+ # - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
2516
+ # - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
2517
+ # - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
2518
+ # balance.
2519
+ # - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
2520
+ # Financial Institution.
2521
+ type:,
2522
+ # More detailed reasons for the event
2523
+ detailed_results: nil
2524
+ )
2525
+ end
2526
+
2527
+ sig do
2528
+ override.returns(
2529
+ {
2530
+ token: String,
2531
+ amount: Integer,
2532
+ created: Time,
2533
+ result:
2534
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::TaggedSymbol,
2535
+ type:
2536
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol,
2537
+ detailed_results:
2538
+ T::Array[
2539
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2540
+ ]
2541
+ }
2542
+ )
2543
+ end
2544
+ def to_hash
2545
+ end
2546
+
2547
+ # APPROVED financial events were successful while DECLINED financial events were
2548
+ # declined by user, Lithic, or the network.
2549
+ module Result
2550
+ extend Lithic::Internal::Type::Enum
2551
+
2552
+ TaggedSymbol =
2553
+ T.type_alias do
2554
+ T.all(
2555
+ Symbol,
2556
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result
2557
+ )
2558
+ end
2559
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2560
+
2561
+ APPROVED =
2562
+ T.let(
2563
+ :APPROVED,
2564
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::TaggedSymbol
2565
+ )
2566
+ DECLINED =
2567
+ T.let(
2568
+ :DECLINED,
2569
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::TaggedSymbol
2570
+ )
2571
+
2572
+ sig do
2573
+ override.returns(
2574
+ T::Array[
2575
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Result::TaggedSymbol
2576
+ ]
2577
+ )
2578
+ end
2579
+ def self.values
2580
+ end
2581
+ end
2582
+
2583
+ # Event types:
2584
+ #
2585
+ # - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
2586
+ # approval/release from an ACH hold.
2587
+ # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
2588
+ # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
2589
+ # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
2590
+ # the Federal Reserve.
2591
+ # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
2592
+ # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
2593
+ # available balance.
2594
+ # - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
2595
+ # Financial Institution.
2596
+ # - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
2597
+ # - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
2598
+ # - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
2599
+ # - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
2600
+ # balance.
2601
+ # - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
2602
+ # Financial Institution.
2603
+ module Type
2604
+ extend Lithic::Internal::Type::Enum
2605
+
2606
+ TaggedSymbol =
2607
+ T.type_alias do
2608
+ T.all(
2609
+ Symbol,
2610
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type
2611
+ )
2612
+ end
2613
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2614
+
2615
+ ACH_ORIGINATION_CANCELLED =
2616
+ T.let(
2617
+ :ACH_ORIGINATION_CANCELLED,
2618
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2619
+ )
2620
+ ACH_ORIGINATION_INITIATED =
2621
+ T.let(
2622
+ :ACH_ORIGINATION_INITIATED,
2623
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2624
+ )
2625
+ ACH_ORIGINATION_PROCESSED =
2626
+ T.let(
2627
+ :ACH_ORIGINATION_PROCESSED,
2628
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2629
+ )
2630
+ ACH_ORIGINATION_SETTLED =
2631
+ T.let(
2632
+ :ACH_ORIGINATION_SETTLED,
2633
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2634
+ )
2635
+ ACH_ORIGINATION_RELEASED =
2636
+ T.let(
2637
+ :ACH_ORIGINATION_RELEASED,
2638
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2639
+ )
2640
+ ACH_ORIGINATION_REVIEWED =
2641
+ T.let(
2642
+ :ACH_ORIGINATION_REVIEWED,
2643
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2644
+ )
2645
+ ACH_RECEIPT_PROCESSED =
2646
+ T.let(
2647
+ :ACH_RECEIPT_PROCESSED,
2648
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2649
+ )
2650
+ ACH_RECEIPT_SETTLED =
2651
+ T.let(
2652
+ :ACH_RECEIPT_SETTLED,
2653
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2654
+ )
2655
+ ACH_RETURN_INITIATED =
2656
+ T.let(
2657
+ :ACH_RETURN_INITIATED,
2658
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2659
+ )
2660
+ ACH_RETURN_PROCESSED =
2661
+ T.let(
2662
+ :ACH_RETURN_PROCESSED,
2663
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2664
+ )
2665
+ ACH_RETURN_SETTLED =
2666
+ T.let(
2667
+ :ACH_RETURN_SETTLED,
2668
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2669
+ )
2670
+
2671
+ sig do
2672
+ override.returns(
2673
+ T::Array[
2674
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::Type::TaggedSymbol
2675
+ ]
2676
+ )
2677
+ end
2678
+ def self.values
2679
+ end
2680
+ end
2681
+
2682
+ module DetailedResult
2683
+ extend Lithic::Internal::Type::Enum
2684
+
2685
+ TaggedSymbol =
2686
+ T.type_alias do
2687
+ T.all(
2688
+ Symbol,
2689
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult
2690
+ )
2691
+ end
2692
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2693
+
2694
+ APPROVED =
2695
+ T.let(
2696
+ :APPROVED,
2697
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2698
+ )
2699
+ FUNDS_INSUFFICIENT =
2700
+ T.let(
2701
+ :FUNDS_INSUFFICIENT,
2702
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2703
+ )
2704
+ ACCOUNT_INVALID =
2705
+ T.let(
2706
+ :ACCOUNT_INVALID,
2707
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2708
+ )
2709
+ PROGRAM_TRANSACTION_LIMIT_EXCEEDED =
2710
+ T.let(
2711
+ :PROGRAM_TRANSACTION_LIMIT_EXCEEDED,
2712
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2713
+ )
2714
+ PROGRAM_DAILY_LIMIT_EXCEEDED =
2715
+ T.let(
2716
+ :PROGRAM_DAILY_LIMIT_EXCEEDED,
2717
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2718
+ )
2719
+ PROGRAM_MONTHLY_LIMIT_EXCEEDED =
2720
+ T.let(
2721
+ :PROGRAM_MONTHLY_LIMIT_EXCEEDED,
2722
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2723
+ )
2724
+
2725
+ sig do
2726
+ override.returns(
2727
+ T::Array[
2728
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::DetailedResult::TaggedSymbol
2729
+ ]
2730
+ )
2731
+ end
2732
+ def self.values
2733
+ end
2734
+ end
2735
+ end
2736
+
2737
+ module Family
2738
+ extend Lithic::Internal::Type::Enum
2739
+
2740
+ TaggedSymbol =
2741
+ T.type_alias do
2742
+ T.all(
2743
+ Symbol,
2744
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family
2745
+ )
2746
+ end
2747
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2748
+
2749
+ CARD =
2750
+ T.let(
2751
+ :CARD,
2752
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2753
+ )
2754
+ PAYMENT =
2755
+ T.let(
2756
+ :PAYMENT,
2757
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2758
+ )
2759
+ TRANSFER =
2760
+ T.let(
2761
+ :TRANSFER,
2762
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2763
+ )
2764
+ INTERNAL =
2765
+ T.let(
2766
+ :INTERNAL,
2767
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2768
+ )
2769
+ EXTERNAL_PAYMENT =
2770
+ T.let(
2771
+ :EXTERNAL_PAYMENT,
2772
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2773
+ )
2774
+ MANAGEMENT_OPERATION =
2775
+ T.let(
2776
+ :MANAGEMENT_OPERATION,
2777
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2778
+ )
2779
+
2780
+ sig do
2781
+ override.returns(
2782
+ T::Array[
2783
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Family::TaggedSymbol
2784
+ ]
2785
+ )
2786
+ end
2787
+ def self.values
2788
+ end
2789
+ end
2790
+
2791
+ # Transfer method
2792
+ module Method
2793
+ extend Lithic::Internal::Type::Enum
2794
+
2795
+ TaggedSymbol =
2796
+ T.type_alias do
2797
+ T.all(
2798
+ Symbol,
2799
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method
2800
+ )
2801
+ end
2802
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2803
+
2804
+ ACH_NEXT_DAY =
2805
+ T.let(
2806
+ :ACH_NEXT_DAY,
2807
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol
2808
+ )
2809
+ ACH_SAME_DAY =
2810
+ T.let(
2811
+ :ACH_SAME_DAY,
2812
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol
2813
+ )
2814
+ WIRE =
2815
+ T.let(
2816
+ :WIRE,
2817
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol
2818
+ )
2819
+
2820
+ sig do
2821
+ override.returns(
2822
+ T::Array[
2823
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Method::TaggedSymbol
2824
+ ]
2825
+ )
2826
+ end
2827
+ def self.values
2828
+ end
2829
+ end
2830
+
2831
+ # Method-specific attributes
2832
+ module MethodAttributes
2833
+ extend Lithic::Internal::Type::Union
2834
+
2835
+ Variants =
2836
+ T.type_alias do
2837
+ T.any(
2838
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes,
2839
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes
2840
+ )
2841
+ end
2842
+
2843
+ class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
2844
+ OrHash =
2845
+ T.type_alias do
2846
+ T.any(
2847
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes,
2848
+ Lithic::Internal::AnyHash
2849
+ )
2850
+ end
2851
+
2852
+ # SEC code for ACH transaction
2853
+ sig do
2854
+ returns(
2855
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2856
+ )
2857
+ end
2858
+ attr_accessor :sec_code
2859
+
2860
+ # Addenda information
2861
+ sig { returns(T.nilable(String)) }
2862
+ attr_accessor :addenda
2863
+
2864
+ # Company ID for the ACH transaction
2865
+ sig { returns(T.nilable(String)) }
2866
+ attr_accessor :company_id
2867
+
2868
+ # Receipt routing number
2869
+ sig { returns(T.nilable(String)) }
2870
+ attr_accessor :receipt_routing_number
2871
+
2872
+ # Number of retries attempted
2873
+ sig { returns(T.nilable(Integer)) }
2874
+ attr_accessor :retries
2875
+
2876
+ # Return reason code if the transaction was returned
2877
+ sig { returns(T.nilable(String)) }
2878
+ attr_accessor :return_reason_code
2879
+
2880
+ # Trace numbers for the ACH transaction
2881
+ sig { returns(T.nilable(T::Array[String])) }
2882
+ attr_reader :trace_numbers
2883
+
2884
+ sig { params(trace_numbers: T::Array[String]).void }
2885
+ attr_writer :trace_numbers
2886
+
2887
+ sig do
2888
+ params(
2889
+ sec_code:
2890
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::OrSymbol,
2891
+ addenda: T.nilable(String),
2892
+ company_id: T.nilable(String),
2893
+ receipt_routing_number: T.nilable(String),
2894
+ retries: T.nilable(Integer),
2895
+ return_reason_code: T.nilable(String),
2896
+ trace_numbers: T::Array[String]
2897
+ ).returns(T.attached_class)
2898
+ end
2899
+ def self.new(
2900
+ # SEC code for ACH transaction
2901
+ sec_code:,
2902
+ # Addenda information
2903
+ addenda: nil,
2904
+ # Company ID for the ACH transaction
2905
+ company_id: nil,
2906
+ # Receipt routing number
2907
+ receipt_routing_number: nil,
2908
+ # Number of retries attempted
2909
+ retries: nil,
2910
+ # Return reason code if the transaction was returned
2911
+ return_reason_code: nil,
2912
+ # Trace numbers for the ACH transaction
2913
+ trace_numbers: nil
2914
+ )
2915
+ end
2916
+
2917
+ sig do
2918
+ override.returns(
2919
+ {
2920
+ sec_code:
2921
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol,
2922
+ addenda: T.nilable(String),
2923
+ company_id: T.nilable(String),
2924
+ receipt_routing_number: T.nilable(String),
2925
+ retries: T.nilable(Integer),
2926
+ return_reason_code: T.nilable(String),
2927
+ trace_numbers: T::Array[String]
2928
+ }
2929
+ )
2930
+ end
2931
+ def to_hash
2932
+ end
2933
+
2934
+ # SEC code for ACH transaction
2935
+ module SecCode
2936
+ extend Lithic::Internal::Type::Enum
2937
+
2938
+ TaggedSymbol =
2939
+ T.type_alias do
2940
+ T.all(
2941
+ Symbol,
2942
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode
2943
+ )
2944
+ end
2945
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2946
+
2947
+ CCD =
2948
+ T.let(
2949
+ :CCD,
2950
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2951
+ )
2952
+ PPD =
2953
+ T.let(
2954
+ :PPD,
2955
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2956
+ )
2957
+ WEB =
2958
+ T.let(
2959
+ :WEB,
2960
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2961
+ )
2962
+ TEL =
2963
+ T.let(
2964
+ :TEL,
2965
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2966
+ )
2967
+ CIE =
2968
+ T.let(
2969
+ :CIE,
2970
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2971
+ )
2972
+ CTX =
2973
+ T.let(
2974
+ :CTX,
2975
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2976
+ )
2977
+
2978
+ sig do
2979
+ override.returns(
2980
+ T::Array[
2981
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode::TaggedSymbol
2982
+ ]
2983
+ )
2984
+ end
2985
+ def self.values
2986
+ end
2987
+ end
2988
+ end
2989
+
2990
+ class WireMethodAttributes < Lithic::Internal::Type::BaseModel
2991
+ OrHash =
2992
+ T.type_alias do
2993
+ T.any(
2994
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes,
2995
+ Lithic::Internal::AnyHash
2996
+ )
2997
+ end
2998
+
2999
+ # Type of wire transfer
3000
+ sig do
3001
+ returns(
3002
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol
3003
+ )
3004
+ end
3005
+ attr_accessor :wire_network
3006
+
3007
+ sig { returns(T.nilable(Lithic::WirePartyDetails)) }
3008
+ attr_reader :creditor
3009
+
3010
+ sig { params(creditor: Lithic::WirePartyDetails::OrHash).void }
3011
+ attr_writer :creditor
3012
+
3013
+ sig { returns(T.nilable(Lithic::WirePartyDetails)) }
3014
+ attr_reader :debtor
3015
+
3016
+ sig { params(debtor: Lithic::WirePartyDetails::OrHash).void }
3017
+ attr_writer :debtor
3018
+
3019
+ # Point to point reference identifier, as assigned by the instructing party, used
3020
+ # for tracking the message through the Fedwire system
3021
+ sig { returns(T.nilable(String)) }
3022
+ attr_accessor :message_id
3023
+
3024
+ # Payment details or invoice reference
3025
+ sig { returns(T.nilable(String)) }
3026
+ attr_accessor :remittance_information
3027
+
3028
+ # Type of wire message
3029
+ sig { returns(T.nilable(String)) }
3030
+ attr_reader :wire_message_type
3031
+
3032
+ sig { params(wire_message_type: String).void }
3033
+ attr_writer :wire_message_type
3034
+
3035
+ sig do
3036
+ params(
3037
+ wire_network:
3038
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::OrSymbol,
3039
+ creditor: Lithic::WirePartyDetails::OrHash,
3040
+ debtor: Lithic::WirePartyDetails::OrHash,
3041
+ message_id: T.nilable(String),
3042
+ remittance_information: T.nilable(String),
3043
+ wire_message_type: String
3044
+ ).returns(T.attached_class)
3045
+ end
3046
+ def self.new(
3047
+ # Type of wire transfer
3048
+ wire_network:,
3049
+ creditor: nil,
3050
+ debtor: nil,
3051
+ # Point to point reference identifier, as assigned by the instructing party, used
3052
+ # for tracking the message through the Fedwire system
3053
+ message_id: nil,
3054
+ # Payment details or invoice reference
3055
+ remittance_information: nil,
3056
+ # Type of wire message
3057
+ wire_message_type: nil
3058
+ )
3059
+ end
3060
+
3061
+ sig do
3062
+ override.returns(
3063
+ {
3064
+ wire_network:
3065
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol,
3066
+ creditor: Lithic::WirePartyDetails,
3067
+ debtor: Lithic::WirePartyDetails,
3068
+ message_id: T.nilable(String),
3069
+ remittance_information: T.nilable(String),
3070
+ wire_message_type: String
3071
+ }
3072
+ )
3073
+ end
3074
+ def to_hash
3075
+ end
3076
+
3077
+ # Type of wire transfer
3078
+ module WireNetwork
3079
+ extend Lithic::Internal::Type::Enum
3080
+
3081
+ TaggedSymbol =
3082
+ T.type_alias do
3083
+ T.all(
3084
+ Symbol,
3085
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork
3086
+ )
3087
+ end
3088
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3089
+
3090
+ FEDWIRE =
3091
+ T.let(
3092
+ :FEDWIRE,
3093
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol
3094
+ )
3095
+ SWIFT =
3096
+ T.let(
3097
+ :SWIFT,
3098
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol
3099
+ )
3100
+
3101
+ sig do
3102
+ override.returns(
3103
+ T::Array[
3104
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol
3105
+ ]
3106
+ )
3107
+ end
3108
+ def self.values
3109
+ end
3110
+ end
3111
+ end
3112
+
3113
+ sig do
3114
+ override.returns(
3115
+ T::Array[
3116
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::Variants
3117
+ ]
3118
+ )
3119
+ end
3120
+ def self.variants
3121
+ end
3122
+ end
3123
+
3124
+ class RelatedAccountTokens < Lithic::Internal::Type::BaseModel
3125
+ OrHash =
3126
+ T.type_alias do
3127
+ T.any(
3128
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens,
3129
+ Lithic::Internal::AnyHash
3130
+ )
3131
+ end
3132
+
3133
+ # Globally unique identifier for the account
3134
+ sig { returns(T.nilable(String)) }
3135
+ attr_accessor :account_token
3136
+
3137
+ # Globally unique identifier for the business account
3138
+ sig { returns(T.nilable(String)) }
3139
+ attr_accessor :business_account_token
3140
+
3141
+ # Related account tokens for the transaction
3142
+ sig do
3143
+ params(
3144
+ account_token: T.nilable(String),
3145
+ business_account_token: T.nilable(String)
3146
+ ).returns(T.attached_class)
3147
+ end
3148
+ def self.new(
3149
+ # Globally unique identifier for the account
3150
+ account_token:,
3151
+ # Globally unique identifier for the business account
3152
+ business_account_token:
3153
+ )
3154
+ end
3155
+
3156
+ sig do
3157
+ override.returns(
3158
+ {
3159
+ account_token: T.nilable(String),
3160
+ business_account_token: T.nilable(String)
3161
+ }
3162
+ )
3163
+ end
3164
+ def to_hash
3165
+ end
3166
+ end
3167
+
3168
+ # Transaction result
3169
+ module Result
3170
+ extend Lithic::Internal::Type::Enum
3171
+
3172
+ TaggedSymbol =
3173
+ T.type_alias do
3174
+ T.all(
3175
+ Symbol,
3176
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result
3177
+ )
3178
+ end
3179
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3180
+
3181
+ APPROVED =
3182
+ T.let(
3183
+ :APPROVED,
3184
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::TaggedSymbol
3185
+ )
3186
+ DECLINED =
3187
+ T.let(
3188
+ :DECLINED,
3189
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::TaggedSymbol
3190
+ )
3191
+
3192
+ sig do
3193
+ override.returns(
3194
+ T::Array[
3195
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Result::TaggedSymbol
3196
+ ]
3197
+ )
3198
+ end
3199
+ def self.values
3200
+ end
3201
+ end
3202
+
3203
+ # Transaction source
3204
+ module Source
3205
+ extend Lithic::Internal::Type::Enum
3206
+
3207
+ TaggedSymbol =
3208
+ T.type_alias do
3209
+ T.all(
3210
+ Symbol,
3211
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source
3212
+ )
3213
+ end
3214
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3215
+
3216
+ LITHIC =
3217
+ T.let(
3218
+ :LITHIC,
3219
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol
3220
+ )
3221
+ EXTERNAL =
3222
+ T.let(
3223
+ :EXTERNAL,
3224
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol
3225
+ )
3226
+ CUSTOMER =
3227
+ T.let(
3228
+ :CUSTOMER,
3229
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol
3230
+ )
3231
+
3232
+ sig do
3233
+ override.returns(
3234
+ T::Array[
3235
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Source::TaggedSymbol
3236
+ ]
3237
+ )
3238
+ end
3239
+ def self.values
3240
+ end
3241
+ end
3242
+
3243
+ # The status of the transaction
3244
+ module Status
3245
+ extend Lithic::Internal::Type::Enum
3246
+
3247
+ TaggedSymbol =
3248
+ T.type_alias do
3249
+ T.all(
3250
+ Symbol,
3251
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status
3252
+ )
3253
+ end
3254
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3255
+
3256
+ PENDING =
3257
+ T.let(
3258
+ :PENDING,
3259
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3260
+ )
3261
+ SETTLED =
3262
+ T.let(
3263
+ :SETTLED,
3264
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3265
+ )
3266
+ DECLINED =
3267
+ T.let(
3268
+ :DECLINED,
3269
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3270
+ )
3271
+ REVERSED =
3272
+ T.let(
3273
+ :REVERSED,
3274
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3275
+ )
3276
+ CANCELED =
3277
+ T.let(
3278
+ :CANCELED,
3279
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3280
+ )
3281
+
3282
+ sig do
3283
+ override.returns(
3284
+ T::Array[
3285
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Status::TaggedSymbol
3286
+ ]
3287
+ )
3288
+ end
3289
+ def self.values
3290
+ end
3291
+ end
3292
+
3293
+ module Type
3294
+ extend Lithic::Internal::Type::Enum
3295
+
3296
+ TaggedSymbol =
3297
+ T.type_alias do
3298
+ T.all(
3299
+ Symbol,
3300
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type
3301
+ )
3302
+ end
3303
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3304
+
3305
+ ORIGINATION_CREDIT =
3306
+ T.let(
3307
+ :ORIGINATION_CREDIT,
3308
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3309
+ )
3310
+ ORIGINATION_DEBIT =
3311
+ T.let(
3312
+ :ORIGINATION_DEBIT,
3313
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3314
+ )
3315
+ RECEIPT_CREDIT =
3316
+ T.let(
3317
+ :RECEIPT_CREDIT,
3318
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3319
+ )
3320
+ RECEIPT_DEBIT =
3321
+ T.let(
3322
+ :RECEIPT_DEBIT,
3323
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3324
+ )
3325
+ WIRE_INBOUND_PAYMENT =
3326
+ T.let(
3327
+ :WIRE_INBOUND_PAYMENT,
3328
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3329
+ )
3330
+ WIRE_INBOUND_ADMIN =
3331
+ T.let(
3332
+ :WIRE_INBOUND_ADMIN,
3333
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3334
+ )
3335
+ WIRE_OUTBOUND_PAYMENT =
3336
+ T.let(
3337
+ :WIRE_OUTBOUND_PAYMENT,
3338
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3339
+ )
3340
+ WIRE_OUTBOUND_ADMIN =
3341
+ T.let(
3342
+ :WIRE_OUTBOUND_ADMIN,
3343
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3344
+ )
3345
+
3346
+ sig do
3347
+ override.returns(
3348
+ T::Array[
3349
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Type::TaggedSymbol
3350
+ ]
3351
+ )
3352
+ end
3353
+ def self.values
3354
+ end
3355
+ end
3356
+ end
3357
+
3358
+ sig do
3359
+ override.returns(
3360
+ T::Array[Lithic::Models::AccountActivityListResponse::Variants]
3361
+ )
3362
+ end
3363
+ def self.variants
3364
+ end
3365
+ end
3366
+ end
3367
+ end