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
@@ -1,37 +1,37 @@
1
1
  module Lithic
2
2
  module Models
3
3
  type account_activity_retrieve_transaction_response =
4
- Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction
5
- | Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction
6
- | Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction
7
- | Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction
4
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal
5
+ | Lithic::BookTransferResponse
6
+ | Lithic::Models::AccountActivityRetrieveTransactionResponse::Card
7
+ | Lithic::Payment
8
8
  | Lithic::ExternalPayment
9
9
  | Lithic::ManagementOperationTransaction
10
10
 
11
11
  module AccountActivityRetrieveTransactionResponse
12
12
  extend Lithic::Internal::Type::Union
13
13
 
14
- type financial_transaction =
14
+ type internal =
15
15
  {
16
16
  token: String,
17
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::category,
17
+ category: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category,
18
18
  created: Time,
19
19
  currency: String,
20
20
  descriptor: String,
21
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event],
22
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::family,
21
+ events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event],
22
+ family: :INTERNAL,
23
23
  financial_account_token: String,
24
24
  pending_amount: Integer,
25
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::result,
25
+ result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result,
26
26
  settled_amount: Integer,
27
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::status,
27
+ status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status,
28
28
  updated: Time
29
29
  }
30
30
 
31
- class FinancialTransaction < Lithic::Internal::Type::BaseModel
31
+ class Internal < Lithic::Internal::Type::BaseModel
32
32
  attr_accessor token: String
33
33
 
34
- attr_accessor category: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::category
34
+ attr_accessor category: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category
35
35
 
36
36
  attr_accessor created: Time
37
37
 
@@ -39,51 +39,51 @@ module Lithic
39
39
 
40
40
  attr_accessor descriptor: String
41
41
 
42
- attr_accessor events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event]
42
+ attr_accessor events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event]
43
43
 
44
- attr_accessor family: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::family
44
+ attr_accessor family: :INTERNAL
45
45
 
46
46
  attr_accessor financial_account_token: String
47
47
 
48
48
  attr_accessor pending_amount: Integer
49
49
 
50
- attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::result
50
+ attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result
51
51
 
52
52
  attr_accessor settled_amount: Integer
53
53
 
54
- attr_accessor status: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::status
54
+ attr_accessor status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status
55
55
 
56
56
  attr_accessor updated: Time
57
57
 
58
58
  def initialize: (
59
59
  token: String,
60
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::category,
60
+ category: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category,
61
61
  created: Time,
62
62
  currency: String,
63
63
  descriptor: String,
64
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event],
65
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::family,
64
+ events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event],
66
65
  financial_account_token: String,
67
66
  pending_amount: Integer,
68
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::result,
67
+ result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result,
69
68
  settled_amount: Integer,
70
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::status,
71
- updated: Time
69
+ status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status,
70
+ updated: Time,
71
+ ?family: :INTERNAL
72
72
  ) -> void
73
73
 
74
74
  def to_hash: -> {
75
75
  token: String,
76
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::category,
76
+ category: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category,
77
77
  created: Time,
78
78
  currency: String,
79
79
  descriptor: String,
80
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event],
81
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::family,
80
+ events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event],
81
+ family: :INTERNAL,
82
82
  financial_account_token: String,
83
83
  pending_amount: Integer,
84
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::result,
84
+ result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result,
85
85
  settled_amount: Integer,
86
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::status,
86
+ status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status,
87
87
  updated: Time
88
88
  }
89
89
 
@@ -129,7 +129,7 @@ module Lithic
129
129
  MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
130
130
  PROGRAM_FUNDING: :PROGRAM_FUNDING
131
131
 
132
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::category]
132
+ def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category]
133
133
  end
134
134
 
135
135
  type event =
@@ -137,8 +137,8 @@ module Lithic
137
137
  token: String,
138
138
  amount: Integer,
139
139
  created: Time,
140
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result,
141
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_
140
+ result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
141
+ type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
142
142
  }
143
143
 
144
144
  class Event < Lithic::Internal::Type::BaseModel
@@ -154,32 +154,32 @@ module Lithic
154
154
 
155
155
  def created=: (Time) -> Time
156
156
 
157
- attr_reader result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result?
157
+ attr_reader result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result?
158
158
 
159
159
  def result=: (
160
- Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result
161
- ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result
160
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result
161
+ ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result
162
162
 
163
- attr_reader type: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_?
163
+ attr_reader type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_?
164
164
 
165
165
  def type=: (
166
- Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_
167
- ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_
166
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
167
+ ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
168
168
 
169
169
  def initialize: (
170
170
  ?token: String,
171
171
  ?amount: Integer,
172
172
  ?created: Time,
173
- ?result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result,
174
- ?type: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_
173
+ ?result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
174
+ ?type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
175
175
  ) -> void
176
176
 
177
177
  def to_hash: -> {
178
178
  token: String,
179
179
  amount: Integer,
180
180
  created: Time,
181
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result,
182
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_
181
+ result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
182
+ type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
183
183
  }
184
184
 
185
185
  type result = :APPROVED | :DECLINED
@@ -190,7 +190,7 @@ module Lithic
190
190
  APPROVED: :APPROVED
191
191
  DECLINED: :DECLINED
192
192
 
193
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::result]
193
+ def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result]
194
194
  end
195
195
 
196
196
  type type_ =
@@ -202,6 +202,7 @@ module Lithic
202
202
  | :ACH_ORIGINATION_REVIEWED
203
203
  | :ACH_ORIGINATION_SETTLED
204
204
  | :ACH_RECEIPT_PROCESSED
205
+ | :ACH_RECEIPT_RELEASED
205
206
  | :ACH_RECEIPT_SETTLED
206
207
  | :ACH_RETURN_INITIATED
207
208
  | :ACH_RETURN_PROCESSED
@@ -276,6 +277,7 @@ module Lithic
276
277
  ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
277
278
  ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
278
279
  ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
280
+ ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
279
281
  ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
280
282
  ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
281
283
  ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
@@ -339,351 +341,10 @@ module Lithic
339
341
  RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
340
342
  LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
341
343
 
342
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::type_]
343
- end
344
- end
345
-
346
- type family =
347
- :CARD
348
- | :PAYMENT
349
- | :TRANSFER
350
- | :INTERNAL
351
- | :EXTERNAL_PAYMENT
352
- | :MANAGEMENT_OPERATION
353
-
354
- module Family
355
- extend Lithic::Internal::Type::Enum
356
-
357
- CARD: :CARD
358
- PAYMENT: :PAYMENT
359
- TRANSFER: :TRANSFER
360
- INTERNAL: :INTERNAL
361
- EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
362
- MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
363
-
364
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::family]
365
- end
366
-
367
- type result = :APPROVED | :DECLINED
368
-
369
- module Result
370
- extend Lithic::Internal::Type::Enum
371
-
372
- APPROVED: :APPROVED
373
- DECLINED: :DECLINED
374
-
375
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::result]
376
- end
377
-
378
- type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
379
-
380
- module Status
381
- extend Lithic::Internal::Type::Enum
382
-
383
- PENDING: :PENDING
384
- SETTLED: :SETTLED
385
- DECLINED: :DECLINED
386
- REVERSED: :REVERSED
387
- CANCELED: :CANCELED
388
-
389
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::status]
390
- end
391
- end
392
-
393
- type book_transfer_transaction =
394
- {
395
- token: String,
396
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::category,
397
- created: Time,
398
- currency: String,
399
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event],
400
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::family,
401
- from_financial_account_token: String,
402
- pending_amount: Integer,
403
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::result,
404
- settled_amount: Integer,
405
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::status,
406
- to_financial_account_token: String,
407
- updated: Time,
408
- external_id: String,
409
- external_resource: Lithic::ExternalResource?,
410
- transaction_series: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries?
411
- }
412
-
413
- class BookTransferTransaction < Lithic::Internal::Type::BaseModel
414
- attr_accessor token: String
415
-
416
- attr_accessor category: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::category
417
-
418
- attr_accessor created: Time
419
-
420
- attr_accessor currency: String
421
-
422
- attr_accessor events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event]
423
-
424
- attr_accessor family: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::family
425
-
426
- attr_accessor from_financial_account_token: String
427
-
428
- attr_accessor pending_amount: Integer
429
-
430
- attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::result
431
-
432
- attr_accessor settled_amount: Integer
433
-
434
- attr_accessor status: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::status
435
-
436
- attr_accessor to_financial_account_token: String
437
-
438
- attr_accessor updated: Time
439
-
440
- attr_reader external_id: String?
441
-
442
- def external_id=: (String) -> String
443
-
444
- attr_accessor external_resource: Lithic::ExternalResource?
445
-
446
- attr_accessor transaction_series: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries?
447
-
448
- def initialize: (
449
- token: String,
450
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::category,
451
- created: Time,
452
- currency: String,
453
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event],
454
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::family,
455
- from_financial_account_token: String,
456
- pending_amount: Integer,
457
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::result,
458
- settled_amount: Integer,
459
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::status,
460
- to_financial_account_token: String,
461
- updated: Time,
462
- ?external_id: String,
463
- ?external_resource: Lithic::ExternalResource?,
464
- ?transaction_series: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries?
465
- ) -> void
466
-
467
- def to_hash: -> {
468
- token: String,
469
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::category,
470
- created: Time,
471
- currency: String,
472
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event],
473
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::family,
474
- from_financial_account_token: String,
475
- pending_amount: Integer,
476
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::result,
477
- settled_amount: Integer,
478
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::status,
479
- to_financial_account_token: String,
480
- updated: Time,
481
- external_id: String,
482
- external_resource: Lithic::ExternalResource?,
483
- transaction_series: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries?
484
- }
485
-
486
- type category =
487
- :ADJUSTMENT
488
- | :BALANCE_OR_FUNDING
489
- | :DERECOGNITION
490
- | :DISPUTE
491
- | :FEE
492
- | :INTERNAL
493
- | :REWARD
494
- | :PROGRAM_FUNDING
495
- | :TRANSFER
496
-
497
- module Category
498
- extend Lithic::Internal::Type::Enum
499
-
500
- ADJUSTMENT: :ADJUSTMENT
501
- BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
502
- DERECOGNITION: :DERECOGNITION
503
- DISPUTE: :DISPUTE
504
- FEE: :FEE
505
- INTERNAL: :INTERNAL
506
- REWARD: :REWARD
507
- PROGRAM_FUNDING: :PROGRAM_FUNDING
508
- TRANSFER: :TRANSFER
509
-
510
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::category]
511
- end
512
-
513
- type event =
514
- {
515
- token: String,
516
- amount: Integer,
517
- created: Time,
518
- detailed_results: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::detailed_results,
519
- memo: String,
520
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::result,
521
- subtype: String,
522
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::type_
523
- }
524
-
525
- class Event < Lithic::Internal::Type::BaseModel
526
- attr_accessor token: String
527
-
528
- attr_accessor amount: Integer
529
-
530
- attr_accessor created: Time
531
-
532
- attr_accessor detailed_results: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::detailed_results
533
-
534
- attr_accessor memo: String
535
-
536
- attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::result
537
-
538
- attr_accessor subtype: String
539
-
540
- attr_accessor type: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::type_
541
-
542
- def initialize: (
543
- token: String,
544
- amount: Integer,
545
- created: Time,
546
- detailed_results: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::detailed_results,
547
- memo: String,
548
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::result,
549
- subtype: String,
550
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::type_
551
- ) -> void
552
-
553
- def to_hash: -> {
554
- token: String,
555
- amount: Integer,
556
- created: Time,
557
- detailed_results: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::detailed_results,
558
- memo: String,
559
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::result,
560
- subtype: String,
561
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::type_
562
- }
563
-
564
- type detailed_results = :APPROVED | :FUNDS_INSUFFICIENT
565
-
566
- module DetailedResults
567
- extend Lithic::Internal::Type::Enum
568
-
569
- APPROVED: :APPROVED
570
- FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
571
-
572
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::detailed_results]
573
- end
574
-
575
- type result = :APPROVED | :DECLINED
576
-
577
- module Result
578
- extend Lithic::Internal::Type::Enum
579
-
580
- APPROVED: :APPROVED
581
- DECLINED: :DECLINED
582
-
583
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::result]
584
- end
585
-
586
- type type_ =
587
- :ATM_BALANCE_INQUIRY
588
- | :ATM_WITHDRAWAL
589
- | :ATM_DECLINE
590
- | :INTERNATIONAL_ATM_WITHDRAWAL
591
- | :INACTIVITY
592
- | :STATEMENT
593
- | :MONTHLY
594
- | :QUARTERLY
595
- | :ANNUAL
596
- | :CUSTOMER_SERVICE
597
- | :ACCOUNT_MAINTENANCE
598
- | :ACCOUNT_ACTIVATION
599
- | :ACCOUNT_CLOSURE
600
- | :CARD_REPLACEMENT
601
- | :CARD_DELIVERY
602
- | :CARD_CREATE
603
- | :CURRENCY_CONVERSION
604
- | :INTEREST
605
- | :LATE_PAYMENT
606
- | :BILL_PAYMENT
607
- | :CASH_BACK
608
- | :ACCOUNT_TO_ACCOUNT
609
- | :CARD_TO_CARD
610
- | :DISBURSE
611
- | :BILLING_ERROR
612
- | :LOSS_WRITE_OFF
613
- | :EXPIRED_CARD
614
- | :EARLY_DERECOGNITION
615
- | :ESCHEATMENT
616
- | :INACTIVITY_FEE_DOWN
617
- | :PROVISIONAL_CREDIT
618
- | :DISPUTE_WON
619
- | :SERVICE
620
- | :TRANSFER
621
- | :COLLECTION
622
-
623
- module Type
624
- extend Lithic::Internal::Type::Enum
625
-
626
- ATM_BALANCE_INQUIRY: :ATM_BALANCE_INQUIRY
627
- ATM_WITHDRAWAL: :ATM_WITHDRAWAL
628
- ATM_DECLINE: :ATM_DECLINE
629
- INTERNATIONAL_ATM_WITHDRAWAL: :INTERNATIONAL_ATM_WITHDRAWAL
630
- INACTIVITY: :INACTIVITY
631
- STATEMENT: :STATEMENT
632
- MONTHLY: :MONTHLY
633
- QUARTERLY: :QUARTERLY
634
- ANNUAL: :ANNUAL
635
- CUSTOMER_SERVICE: :CUSTOMER_SERVICE
636
- ACCOUNT_MAINTENANCE: :ACCOUNT_MAINTENANCE
637
- ACCOUNT_ACTIVATION: :ACCOUNT_ACTIVATION
638
- ACCOUNT_CLOSURE: :ACCOUNT_CLOSURE
639
- CARD_REPLACEMENT: :CARD_REPLACEMENT
640
- CARD_DELIVERY: :CARD_DELIVERY
641
- CARD_CREATE: :CARD_CREATE
642
- CURRENCY_CONVERSION: :CURRENCY_CONVERSION
643
- INTEREST: :INTEREST
644
- LATE_PAYMENT: :LATE_PAYMENT
645
- BILL_PAYMENT: :BILL_PAYMENT
646
- CASH_BACK: :CASH_BACK
647
- ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
648
- CARD_TO_CARD: :CARD_TO_CARD
649
- DISBURSE: :DISBURSE
650
- BILLING_ERROR: :BILLING_ERROR
651
- LOSS_WRITE_OFF: :LOSS_WRITE_OFF
652
- EXPIRED_CARD: :EXPIRED_CARD
653
- EARLY_DERECOGNITION: :EARLY_DERECOGNITION
654
- ESCHEATMENT: :ESCHEATMENT
655
- INACTIVITY_FEE_DOWN: :INACTIVITY_FEE_DOWN
656
- PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
657
- DISPUTE_WON: :DISPUTE_WON
658
- SERVICE: :SERVICE
659
- TRANSFER: :TRANSFER
660
- COLLECTION: :COLLECTION
661
-
662
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::type_]
344
+ def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_]
663
345
  end
664
346
  end
665
347
 
666
- type family =
667
- :CARD
668
- | :PAYMENT
669
- | :TRANSFER
670
- | :INTERNAL
671
- | :EXTERNAL_PAYMENT
672
- | :MANAGEMENT_OPERATION
673
-
674
- module Family
675
- extend Lithic::Internal::Type::Enum
676
-
677
- CARD: :CARD
678
- PAYMENT: :PAYMENT
679
- TRANSFER: :TRANSFER
680
- INTERNAL: :INTERNAL
681
- EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
682
- MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
683
-
684
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::family]
685
- end
686
-
687
348
  type result = :APPROVED | :DECLINED
688
349
 
689
350
  module Result
@@ -692,7 +353,7 @@ module Lithic
692
353
  APPROVED: :APPROVED
693
354
  DECLINED: :DECLINED
694
355
 
695
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::result]
356
+ def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result]
696
357
  end
697
358
 
698
359
  type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
@@ -706,663 +367,16 @@ module Lithic
706
367
  REVERSED: :REVERSED
707
368
  CANCELED: :CANCELED
708
369
 
709
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::status]
710
- end
711
-
712
- type transaction_series =
713
- {
714
- related_transaction_event_token: String?,
715
- related_transaction_token: String?,
716
- type: String
717
- }
718
-
719
- class TransactionSeries < Lithic::Internal::Type::BaseModel
720
- attr_accessor related_transaction_event_token: String?
721
-
722
- attr_accessor related_transaction_token: String?
723
-
724
- attr_accessor type: String
725
-
726
- def initialize: (
727
- related_transaction_event_token: String?,
728
- related_transaction_token: String?,
729
- type: String
730
- ) -> void
731
-
732
- def to_hash: -> {
733
- related_transaction_event_token: String?,
734
- related_transaction_token: String?,
735
- type: String
736
- }
370
+ def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status]
737
371
  end
738
372
  end
739
373
 
740
- type card_transaction =
741
- {
742
- token: String,
743
- created: Time,
744
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family,
745
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status,
746
- updated: Time
747
- }
748
-
749
- class CardTransaction < Lithic::Models::Transaction
750
- def token: -> String
751
-
752
- def token=: (String _) -> String
753
-
754
- def created: -> Time
755
-
756
- def created=: (Time _) -> Time
757
-
758
- def family: -> Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family
759
-
760
- def family=: (
761
- Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family _
762
- ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family
763
-
764
- def status: -> Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status
765
-
766
- def status=: (
767
- Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status _
768
- ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status
769
-
770
- def updated: -> Time
771
-
772
- def updated=: (Time _) -> Time
773
-
774
- def initialize: (
775
- token: String,
776
- created: Time,
777
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family,
778
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status,
779
- updated: Time
780
- ) -> void
781
-
782
- def to_hash: -> {
783
- token: String,
784
- created: Time,
785
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family,
786
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status,
787
- updated: Time
788
- }
789
-
790
- type family =
791
- :CARD
792
- | :PAYMENT
793
- | :TRANSFER
794
- | :INTERNAL
795
- | :EXTERNAL_PAYMENT
796
- | :MANAGEMENT_OPERATION
797
-
798
- module Family
799
- extend Lithic::Internal::Type::Enum
800
-
801
- CARD: :CARD
802
- PAYMENT: :PAYMENT
803
- TRANSFER: :TRANSFER
804
- INTERNAL: :INTERNAL
805
- EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
806
- MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
807
-
808
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::family]
809
- end
810
-
811
- type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
812
-
813
- module Status
814
- extend Lithic::Internal::Type::Enum
815
-
816
- PENDING: :PENDING
817
- SETTLED: :SETTLED
818
- DECLINED: :DECLINED
819
- REVERSED: :REVERSED
820
- CANCELED: :CANCELED
374
+ type card = { }
821
375
 
822
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::status]
823
- end
824
- end
376
+ class Card < Lithic::Models::Transaction
377
+ def initialize: -> void
825
378
 
826
- type payment_transaction =
827
- {
828
- token: String,
829
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::category,
830
- created: Time,
831
- descriptor: String,
832
- direction: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::direction,
833
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event],
834
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::family,
835
- financial_account_token: String,
836
- method_: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_,
837
- method_attributes: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_attributes,
838
- pending_amount: Integer,
839
- related_account_tokens: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens,
840
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::result,
841
- settled_amount: Integer,
842
- source: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::source,
843
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::status,
844
- updated: Time,
845
- currency: String,
846
- expected_release_date: Date?,
847
- external_bank_account_token: String?,
848
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_,
849
- user_defined_id: String?
850
- }
851
-
852
- class PaymentTransaction < Lithic::Internal::Type::BaseModel
853
- attr_accessor token: String
854
-
855
- attr_accessor category: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::category
856
-
857
- attr_accessor created: Time
858
-
859
- attr_accessor descriptor: String
860
-
861
- attr_accessor direction: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::direction
862
-
863
- attr_accessor events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event]
864
-
865
- attr_accessor family: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::family
866
-
867
- attr_accessor financial_account_token: String
868
-
869
- attr_accessor method_: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_
870
-
871
- attr_accessor method_attributes: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_attributes
872
-
873
- attr_accessor pending_amount: Integer
874
-
875
- attr_accessor related_account_tokens: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens
876
-
877
- attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::result
878
-
879
- attr_accessor settled_amount: Integer
880
-
881
- attr_accessor source: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::source
882
-
883
- attr_accessor status: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::status
884
-
885
- attr_accessor updated: Time
886
-
887
- attr_reader currency: String?
888
-
889
- def currency=: (String) -> String
890
-
891
- attr_accessor expected_release_date: Date?
892
-
893
- attr_accessor external_bank_account_token: String?
894
-
895
- attr_reader type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_?
896
-
897
- def type=: (
898
- Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_
899
- ) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_
900
-
901
- attr_accessor user_defined_id: String?
902
-
903
- def initialize: (
904
- token: String,
905
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::category,
906
- created: Time,
907
- descriptor: String,
908
- direction: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::direction,
909
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event],
910
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::family,
911
- financial_account_token: String,
912
- method_: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_,
913
- method_attributes: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_attributes,
914
- pending_amount: Integer,
915
- related_account_tokens: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens,
916
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::result,
917
- settled_amount: Integer,
918
- source: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::source,
919
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::status,
920
- updated: Time,
921
- ?currency: String,
922
- ?expected_release_date: Date?,
923
- ?external_bank_account_token: String?,
924
- ?type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_,
925
- ?user_defined_id: String?
926
- ) -> void
927
-
928
- def to_hash: -> {
929
- token: String,
930
- category: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::category,
931
- created: Time,
932
- descriptor: String,
933
- direction: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::direction,
934
- events: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event],
935
- family: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::family,
936
- financial_account_token: String,
937
- method_: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_,
938
- method_attributes: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_attributes,
939
- pending_amount: Integer,
940
- related_account_tokens: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens,
941
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::result,
942
- settled_amount: Integer,
943
- source: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::source,
944
- status: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::status,
945
- updated: Time,
946
- currency: String,
947
- expected_release_date: Date?,
948
- external_bank_account_token: String?,
949
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_,
950
- user_defined_id: String?
951
- }
952
-
953
- type category =
954
- :ACH
955
- | :BALANCE_OR_FUNDING
956
- | :FEE
957
- | :REWARD
958
- | :ADJUSTMENT
959
- | :DERECOGNITION
960
- | :DISPUTE
961
- | :CARD
962
- | :EXTERNAL_ACH
963
- | :EXTERNAL_CHECK
964
- | :EXTERNAL_TRANSFER
965
- | :EXTERNAL_WIRE
966
- | :MANAGEMENT_ADJUSTMENT
967
- | :MANAGEMENT_DISPUTE
968
- | :MANAGEMENT_FEE
969
- | :MANAGEMENT_REWARD
970
- | :MANAGEMENT_DISBURSEMENT
971
- | :PROGRAM_FUNDING
972
-
973
- module Category
974
- extend Lithic::Internal::Type::Enum
975
-
976
- ACH: :ACH
977
- BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
978
- FEE: :FEE
979
- REWARD: :REWARD
980
- ADJUSTMENT: :ADJUSTMENT
981
- DERECOGNITION: :DERECOGNITION
982
- DISPUTE: :DISPUTE
983
- CARD: :CARD
984
- EXTERNAL_ACH: :EXTERNAL_ACH
985
- EXTERNAL_CHECK: :EXTERNAL_CHECK
986
- EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
987
- EXTERNAL_WIRE: :EXTERNAL_WIRE
988
- MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
989
- MANAGEMENT_DISPUTE: :MANAGEMENT_DISPUTE
990
- MANAGEMENT_FEE: :MANAGEMENT_FEE
991
- MANAGEMENT_REWARD: :MANAGEMENT_REWARD
992
- MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
993
- PROGRAM_FUNDING: :PROGRAM_FUNDING
994
-
995
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::category]
996
- end
997
-
998
- type direction = :CREDIT | :DEBIT
999
-
1000
- module Direction
1001
- extend Lithic::Internal::Type::Enum
1002
-
1003
- CREDIT: :CREDIT
1004
- DEBIT: :DEBIT
1005
-
1006
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::direction]
1007
- end
1008
-
1009
- type event =
1010
- {
1011
- token: String,
1012
- amount: Integer,
1013
- created: Time,
1014
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::result,
1015
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::type_,
1016
- detailed_results: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1017
- }
1018
-
1019
- class Event < Lithic::Internal::Type::BaseModel
1020
- attr_accessor token: String
1021
-
1022
- attr_accessor amount: Integer
1023
-
1024
- attr_accessor created: Time
1025
-
1026
- attr_accessor result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::result
1027
-
1028
- attr_accessor type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::type_
1029
-
1030
- attr_reader detailed_results: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]?
1031
-
1032
- def detailed_results=: (
1033
- ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1034
- ) -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1035
-
1036
- def initialize: (
1037
- token: String,
1038
- amount: Integer,
1039
- created: Time,
1040
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::result,
1041
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::type_,
1042
- ?detailed_results: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1043
- ) -> void
1044
-
1045
- def to_hash: -> {
1046
- token: String,
1047
- amount: Integer,
1048
- created: Time,
1049
- result: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::result,
1050
- type: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::type_,
1051
- detailed_results: ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1052
- }
1053
-
1054
- type result = :APPROVED | :DECLINED
1055
-
1056
- module Result
1057
- extend Lithic::Internal::Type::Enum
1058
-
1059
- APPROVED: :APPROVED
1060
- DECLINED: :DECLINED
1061
-
1062
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::result]
1063
- end
1064
-
1065
- type type_ =
1066
- :ACH_ORIGINATION_CANCELLED
1067
- | :ACH_ORIGINATION_INITIATED
1068
- | :ACH_ORIGINATION_PROCESSED
1069
- | :ACH_ORIGINATION_SETTLED
1070
- | :ACH_ORIGINATION_RELEASED
1071
- | :ACH_ORIGINATION_REVIEWED
1072
- | :ACH_RECEIPT_PROCESSED
1073
- | :ACH_RECEIPT_SETTLED
1074
- | :ACH_RETURN_INITIATED
1075
- | :ACH_RETURN_PROCESSED
1076
- | :ACH_RETURN_SETTLED
1077
-
1078
- module Type
1079
- extend Lithic::Internal::Type::Enum
1080
-
1081
- ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
1082
- ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
1083
- ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
1084
- ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
1085
- ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
1086
- ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
1087
- ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
1088
- ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
1089
- ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
1090
- ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
1091
- ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
1092
-
1093
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::type_]
1094
- end
1095
-
1096
- type detailed_result =
1097
- :APPROVED
1098
- | :FUNDS_INSUFFICIENT
1099
- | :ACCOUNT_INVALID
1100
- | :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
1101
- | :PROGRAM_DAILY_LIMIT_EXCEEDED
1102
- | :PROGRAM_MONTHLY_LIMIT_EXCEEDED
1103
-
1104
- module DetailedResult
1105
- extend Lithic::Internal::Type::Enum
1106
-
1107
- APPROVED: :APPROVED
1108
- FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
1109
- ACCOUNT_INVALID: :ACCOUNT_INVALID
1110
- PROGRAM_TRANSACTION_LIMIT_EXCEEDED: :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
1111
- PROGRAM_DAILY_LIMIT_EXCEEDED: :PROGRAM_DAILY_LIMIT_EXCEEDED
1112
- PROGRAM_MONTHLY_LIMIT_EXCEEDED: :PROGRAM_MONTHLY_LIMIT_EXCEEDED
1113
-
1114
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::detailed_result]
1115
- end
1116
- end
1117
-
1118
- type family =
1119
- :CARD
1120
- | :PAYMENT
1121
- | :TRANSFER
1122
- | :INTERNAL
1123
- | :EXTERNAL_PAYMENT
1124
- | :MANAGEMENT_OPERATION
1125
-
1126
- module Family
1127
- extend Lithic::Internal::Type::Enum
1128
-
1129
- CARD: :CARD
1130
- PAYMENT: :PAYMENT
1131
- TRANSFER: :TRANSFER
1132
- INTERNAL: :INTERNAL
1133
- EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
1134
- MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
1135
-
1136
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::family]
1137
- end
1138
-
1139
- type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY | :WIRE
1140
-
1141
- module Method
1142
- extend Lithic::Internal::Type::Enum
1143
-
1144
- ACH_NEXT_DAY: :ACH_NEXT_DAY
1145
- ACH_SAME_DAY: :ACH_SAME_DAY
1146
- WIRE: :WIRE
1147
-
1148
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_]
1149
- end
1150
-
1151
- type method_attributes =
1152
- Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes
1153
- | Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes
1154
-
1155
- module MethodAttributes
1156
- extend Lithic::Internal::Type::Union
1157
-
1158
- type ach_method_attributes =
1159
- {
1160
- sec_code: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
1161
- addenda: String?,
1162
- company_id: String?,
1163
- receipt_routing_number: String?,
1164
- retries: Integer?,
1165
- return_reason_code: String?,
1166
- trace_numbers: ::Array[String]
1167
- }
1168
-
1169
- class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
1170
- attr_accessor sec_code: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code
1171
-
1172
- attr_accessor addenda: String?
1173
-
1174
- attr_accessor company_id: String?
1175
-
1176
- attr_accessor receipt_routing_number: String?
1177
-
1178
- attr_accessor retries: Integer?
1179
-
1180
- attr_accessor return_reason_code: String?
1181
-
1182
- attr_reader trace_numbers: ::Array[String]?
1183
-
1184
- def trace_numbers=: (::Array[String]) -> ::Array[String]
1185
-
1186
- def initialize: (
1187
- sec_code: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
1188
- ?addenda: String?,
1189
- ?company_id: String?,
1190
- ?receipt_routing_number: String?,
1191
- ?retries: Integer?,
1192
- ?return_reason_code: String?,
1193
- ?trace_numbers: ::Array[String]
1194
- ) -> void
1195
-
1196
- def to_hash: -> {
1197
- sec_code: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
1198
- addenda: String?,
1199
- company_id: String?,
1200
- receipt_routing_number: String?,
1201
- retries: Integer?,
1202
- return_reason_code: String?,
1203
- trace_numbers: ::Array[String]
1204
- }
1205
-
1206
- type sec_code = :CCD | :PPD | :WEB | :TEL | :CIE | :CTX
1207
-
1208
- module SecCode
1209
- extend Lithic::Internal::Type::Enum
1210
-
1211
- CCD: :CCD
1212
- PPD: :PPD
1213
- WEB: :WEB
1214
- TEL: :TEL
1215
- CIE: :CIE
1216
- CTX: :CTX
1217
-
1218
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code]
1219
- end
1220
- end
1221
-
1222
- type wire_method_attributes =
1223
- {
1224
- wire_network: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
1225
- creditor: Lithic::WirePartyDetails,
1226
- debtor: Lithic::WirePartyDetails,
1227
- message_id: String?,
1228
- remittance_information: String?,
1229
- wire_message_type: String
1230
- }
1231
-
1232
- class WireMethodAttributes < Lithic::Internal::Type::BaseModel
1233
- attr_accessor wire_network: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network
1234
-
1235
- attr_reader creditor: Lithic::WirePartyDetails?
1236
-
1237
- def creditor=: (
1238
- Lithic::WirePartyDetails
1239
- ) -> Lithic::WirePartyDetails
1240
-
1241
- attr_reader debtor: Lithic::WirePartyDetails?
1242
-
1243
- def debtor=: (Lithic::WirePartyDetails) -> Lithic::WirePartyDetails
1244
-
1245
- attr_accessor message_id: String?
1246
-
1247
- attr_accessor remittance_information: String?
1248
-
1249
- attr_reader wire_message_type: String?
1250
-
1251
- def wire_message_type=: (String) -> String
1252
-
1253
- def initialize: (
1254
- wire_network: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
1255
- ?creditor: Lithic::WirePartyDetails,
1256
- ?debtor: Lithic::WirePartyDetails,
1257
- ?message_id: String?,
1258
- ?remittance_information: String?,
1259
- ?wire_message_type: String
1260
- ) -> void
1261
-
1262
- def to_hash: -> {
1263
- wire_network: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
1264
- creditor: Lithic::WirePartyDetails,
1265
- debtor: Lithic::WirePartyDetails,
1266
- message_id: String?,
1267
- remittance_information: String?,
1268
- wire_message_type: String
1269
- }
1270
-
1271
- type wire_network = :FEDWIRE | :SWIFT
1272
-
1273
- module WireNetwork
1274
- extend Lithic::Internal::Type::Enum
1275
-
1276
- FEDWIRE: :FEDWIRE
1277
- SWIFT: :SWIFT
1278
-
1279
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network]
1280
- end
1281
- end
1282
-
1283
- def self?.variants: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::method_attributes]
1284
- end
1285
-
1286
- type related_account_tokens =
1287
- { account_token: String?, business_account_token: String? }
1288
-
1289
- class RelatedAccountTokens < Lithic::Internal::Type::BaseModel
1290
- attr_accessor account_token: String?
1291
-
1292
- attr_accessor business_account_token: String?
1293
-
1294
- def initialize: (
1295
- account_token: String?,
1296
- business_account_token: String?
1297
- ) -> void
1298
-
1299
- def to_hash: -> {
1300
- account_token: String?,
1301
- business_account_token: String?
1302
- }
1303
- end
1304
-
1305
- type result = :APPROVED | :DECLINED
1306
-
1307
- module Result
1308
- extend Lithic::Internal::Type::Enum
1309
-
1310
- APPROVED: :APPROVED
1311
- DECLINED: :DECLINED
1312
-
1313
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::result]
1314
- end
1315
-
1316
- type source = :LITHIC | :EXTERNAL | :CUSTOMER
1317
-
1318
- module Source
1319
- extend Lithic::Internal::Type::Enum
1320
-
1321
- LITHIC: :LITHIC
1322
- EXTERNAL: :EXTERNAL
1323
- CUSTOMER: :CUSTOMER
1324
-
1325
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::source]
1326
- end
1327
-
1328
- type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
1329
-
1330
- module Status
1331
- extend Lithic::Internal::Type::Enum
1332
-
1333
- PENDING: :PENDING
1334
- SETTLED: :SETTLED
1335
- DECLINED: :DECLINED
1336
- REVERSED: :REVERSED
1337
- CANCELED: :CANCELED
1338
-
1339
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::status]
1340
- end
1341
-
1342
- type type_ =
1343
- :ORIGINATION_CREDIT
1344
- | :ORIGINATION_DEBIT
1345
- | :RECEIPT_CREDIT
1346
- | :RECEIPT_DEBIT
1347
- | :WIRE_INBOUND_PAYMENT
1348
- | :WIRE_INBOUND_ADMIN
1349
- | :WIRE_OUTBOUND_PAYMENT
1350
- | :WIRE_OUTBOUND_ADMIN
1351
-
1352
- module Type
1353
- extend Lithic::Internal::Type::Enum
1354
-
1355
- ORIGINATION_CREDIT: :ORIGINATION_CREDIT
1356
- ORIGINATION_DEBIT: :ORIGINATION_DEBIT
1357
- RECEIPT_CREDIT: :RECEIPT_CREDIT
1358
- RECEIPT_DEBIT: :RECEIPT_DEBIT
1359
- WIRE_INBOUND_PAYMENT: :WIRE_INBOUND_PAYMENT
1360
- WIRE_INBOUND_ADMIN: :WIRE_INBOUND_ADMIN
1361
- WIRE_OUTBOUND_PAYMENT: :WIRE_OUTBOUND_PAYMENT
1362
- WIRE_OUTBOUND_ADMIN: :WIRE_OUTBOUND_ADMIN
1363
-
1364
- def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::type_]
1365
- end
379
+ def to_hash: -> { }
1366
380
  end
1367
381
 
1368
382
  def self?.variants: -> ::Array[Lithic::Models::account_activity_retrieve_transaction_response]