lithic 0.1.0.pre.alpha.52 → 0.1.0.pre.alpha.54

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