lithic 0.1.0.pre.alpha.56 → 0.1.0

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 (242) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +8 -0
  5. data/lib/lithic/models/account_activity_list_params.rb +2 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +2 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
  8. data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
  9. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
  10. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
  11. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
  13. data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
  14. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
  15. data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
  16. data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
  17. data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
  18. data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
  19. data/lib/lithic/models/card_bulk_order.rb +106 -0
  20. data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
  21. data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
  22. data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
  23. data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
  24. data/lib/lithic/models/card_convert_physical_params.rb +3 -0
  25. data/lib/lithic/models/card_create_params.rb +14 -1
  26. data/lib/lithic/models/card_program.rb +10 -10
  27. data/lib/lithic/models/card_reissue_params.rb +3 -0
  28. data/lib/lithic/models/card_renew_params.rb +3 -0
  29. data/lib/lithic/models/card_web_provision_params.rb +32 -1
  30. data/lib/lithic/models/card_web_provision_response.rb +98 -60
  31. data/lib/lithic/models/cardholder_authentication.rb +132 -0
  32. data/lib/lithic/models/device.rb +37 -0
  33. data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
  34. data/lib/lithic/models/{external_bank_account_unpause_response.rb → external_bank_account.rb} +15 -16
  35. data/lib/lithic/models/external_payment.rb +12 -0
  36. data/lib/lithic/models/external_payment_create_params.rb +2 -0
  37. data/lib/lithic/models/external_payment_list_params.rb +2 -0
  38. data/lib/lithic/models/financial_account_balance.rb +112 -0
  39. data/lib/lithic/models/financial_accounts/statement.rb +9 -9
  40. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
  41. data/lib/lithic/models/financial_event.rb +16 -0
  42. data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
  43. data/lib/lithic/models/internal_transaction.rb +166 -0
  44. data/lib/lithic/models/management_operation_create_params.rb +6 -0
  45. data/lib/lithic/models/management_operation_transaction.rb +6 -0
  46. data/lib/lithic/models/network_total.rb +169 -0
  47. data/lib/lithic/models/non_pci_card.rb +10 -1
  48. data/lib/lithic/models/payment.rb +11 -1
  49. data/lib/lithic/models/payment_create_params.rb +10 -1
  50. data/lib/lithic/models/three_ds_authentication.rb +1259 -0
  51. data/lib/lithic/models/token_info.rb +42 -0
  52. data/lib/lithic/models/tokenization.rb +9 -111
  53. data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
  54. data/lib/lithic/models/tokenization_rule_result.rb +61 -0
  55. data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
  56. data/lib/lithic/models/transaction.rb +6 -174
  57. data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
  58. data/lib/lithic/models.rb +38 -0
  59. data/lib/lithic/resources/auth_rules/v2.rb +17 -15
  60. data/lib/lithic/resources/card_bulk_orders.rb +127 -0
  61. data/lib/lithic/resources/cards/balances.rb +2 -2
  62. data/lib/lithic/resources/cards.rb +14 -3
  63. data/lib/lithic/resources/external_bank_accounts.rb +4 -4
  64. data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
  65. data/lib/lithic/resources/funding_events.rb +4 -4
  66. data/lib/lithic/resources/internal_transaction.rb +14 -0
  67. data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
  68. data/lib/lithic/resources/three_ds/authentication.rb +2 -2
  69. data/lib/lithic/resources/tokenizations.rb +4 -4
  70. data/lib/lithic/version.rb +1 -1
  71. data/lib/lithic.rb +23 -17
  72. data/manifest.yaml +1 -0
  73. data/rbi/lithic/client.rbi +6 -0
  74. data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
  75. data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
  76. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
  77. data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
  78. data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
  79. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
  80. data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
  81. data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
  82. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
  83. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
  84. data/rbi/lithic/models/card_bulk_order.rbi +141 -0
  85. data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
  86. data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
  87. data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
  88. data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
  89. data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
  90. data/rbi/lithic/models/card_create_params.rbi +23 -0
  91. data/rbi/lithic/models/card_program.rbi +10 -13
  92. data/rbi/lithic/models/card_reissue_params.rbi +8 -0
  93. data/rbi/lithic/models/card_renew_params.rbi +8 -0
  94. data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
  95. data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
  96. data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
  97. data/rbi/lithic/models/device.rbi +54 -0
  98. data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
  99. data/rbi/lithic/models/{external_bank_account_unpause_response.rbi → external_bank_account.rbi} +26 -75
  100. data/rbi/lithic/models/external_payment.rbi +57 -0
  101. data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
  102. data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
  103. data/rbi/lithic/models/financial_account_balance.rbi +144 -0
  104. data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
  105. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
  106. data/rbi/lithic/models/financial_event.rbi +60 -0
  107. data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
  108. data/rbi/lithic/models/internal_transaction.rbi +277 -0
  109. data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
  110. data/rbi/lithic/models/management_operation_transaction.rbi +30 -0
  111. data/rbi/lithic/models/network_total.rbi +226 -0
  112. data/rbi/lithic/models/non_pci_card.rbi +10 -0
  113. data/rbi/lithic/models/payment.rbi +12 -0
  114. data/rbi/lithic/models/payment_create_params.rbi +15 -1
  115. data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
  116. data/rbi/lithic/models/token_info.rbi +70 -0
  117. data/rbi/lithic/models/tokenization.rbi +12 -335
  118. data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
  119. data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
  120. data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
  121. data/rbi/lithic/models/transaction.rbi +8 -410
  122. data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
  123. data/rbi/lithic/models.rbi +38 -0
  124. data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
  125. data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
  126. data/rbi/lithic/resources/cards/balances.rbi +1 -3
  127. data/rbi/lithic/resources/cards.rbi +22 -1
  128. data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
  129. data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
  130. data/rbi/lithic/resources/funding_events.rbi +2 -4
  131. data/rbi/lithic/resources/internal_transaction.rbi +12 -0
  132. data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
  133. data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
  134. data/rbi/lithic/resources/tokenizations.rbi +2 -2
  135. data/sig/lithic/client.rbs +4 -0
  136. data/sig/lithic/models/account_activity_list_params.rbs +4 -0
  137. data/sig/lithic/models/account_activity_list_response.rbs +4 -0
  138. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
  139. data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
  140. data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
  141. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
  142. data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
  143. data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
  144. data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
  145. data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
  146. data/sig/lithic/models/card_bulk_order.rbs +76 -0
  147. data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
  148. data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
  149. data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
  150. data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
  151. data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
  152. data/sig/lithic/models/card_create_params.rbs +9 -0
  153. data/sig/lithic/models/card_program.rbs +5 -7
  154. data/sig/lithic/models/card_reissue_params.rbs +2 -0
  155. data/sig/lithic/models/card_renew_params.rbs +2 -0
  156. data/sig/lithic/models/card_web_provision_params.rbs +26 -2
  157. data/sig/lithic/models/card_web_provision_response.rbs +81 -51
  158. data/sig/lithic/models/cardholder_authentication.rbs +98 -0
  159. data/sig/lithic/models/device.rbs +21 -0
  160. data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
  161. data/sig/lithic/models/{external_bank_account_unpause_response.rbs → external_bank_account.rbs} +17 -17
  162. data/sig/lithic/models/external_payment.rbs +28 -1
  163. data/sig/lithic/models/external_payment_create_params.rbs +8 -1
  164. data/sig/lithic/models/external_payment_list_params.rbs +8 -1
  165. data/sig/lithic/models/financial_account_balance.rbs +78 -0
  166. data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
  167. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
  168. data/sig/lithic/models/financial_event.rbs +32 -0
  169. data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
  170. data/sig/lithic/models/internal_transaction.rbs +165 -0
  171. data/sig/lithic/models/management_operation_create_params.rbs +12 -0
  172. data/sig/lithic/models/management_operation_transaction.rbs +12 -0
  173. data/sig/lithic/models/network_total.rbs +125 -0
  174. data/sig/lithic/models/non_pci_card.rbs +5 -0
  175. data/sig/lithic/models/payment.rbs +9 -0
  176. data/sig/lithic/models/payment_create_params.rbs +7 -0
  177. data/sig/lithic/models/three_ds_authentication.rbs +911 -0
  178. data/sig/lithic/models/token_info.rbs +36 -0
  179. data/sig/lithic/models/tokenization.rbs +18 -137
  180. data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
  181. data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
  182. data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
  183. data/sig/lithic/models/transaction.rbs +8 -140
  184. data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
  185. data/sig/lithic/models.rbs +38 -0
  186. data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
  187. data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
  188. data/sig/lithic/resources/cards/balances.rbs +1 -1
  189. data/sig/lithic/resources/cards.rbs +5 -1
  190. data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
  191. data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
  192. data/sig/lithic/resources/funding_events.rbs +2 -2
  193. data/sig/lithic/resources/internal_transaction.rbs +7 -0
  194. data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
  195. data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
  196. data/sig/lithic/resources/tokenizations.rbs +2 -2
  197. metadata +70 -55
  198. data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
  199. data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
  200. data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
  201. data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
  202. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
  203. data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
  204. data/lib/lithic/models/cards/balance_list_response.rb +0 -115
  205. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
  206. data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
  207. data/lib/lithic/models/funding_event_list_response.rb +0 -108
  208. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
  209. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
  210. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
  211. data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
  212. data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
  213. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
  214. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
  215. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
  216. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
  217. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
  218. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
  219. data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
  220. data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
  221. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
  222. data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
  223. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
  224. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
  225. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
  226. data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
  227. data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
  228. data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
  229. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
  230. data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
  231. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
  232. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
  233. data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
  234. data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
  235. data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
  236. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
  237. data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
  238. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
  239. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
  240. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
  241. data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
  242. data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
@@ -1,242 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- # @see Lithic::Resources::ExternalBankAccounts#retry_prenote
6
- class ExternalBankAccountRetryPrenoteResponse < Lithic::Internal::Type::BaseModel
7
- # @!attribute token
8
- # A globally unique identifier for this record of an external bank account
9
- # association. If a program links an external bank account to more than one
10
- # end-user or to both the program and the end-user, then Lithic will return each
11
- # record of the association
12
- #
13
- # @return [String]
14
- required :token, String
15
-
16
- # @!attribute country
17
- # The country that the bank account is located in using ISO 3166-1. We will only
18
- # accept USA bank accounts e.g., USA
19
- #
20
- # @return [String]
21
- required :country, String
22
-
23
- # @!attribute created
24
- # An ISO 8601 string representing when this funding source was added to the Lithic
25
- # account.
26
- #
27
- # @return [Time]
28
- required :created, Time
29
-
30
- # @!attribute currency
31
- # currency of the external account 3-character alphabetic ISO 4217 code
32
- #
33
- # @return [String]
34
- required :currency, String
35
-
36
- # @!attribute last_four
37
- # The last 4 digits of the bank account. Derived by Lithic from the account number
38
- # passed
39
- #
40
- # @return [String]
41
- required :last_four, String
42
-
43
- # @!attribute owner
44
- # Legal Name of the business or individual who owns the external account. This
45
- # will appear in statements
46
- #
47
- # @return [String]
48
- required :owner, String
49
-
50
- # @!attribute owner_type
51
- # Owner Type
52
- #
53
- # @return [Symbol, Lithic::Models::OwnerType]
54
- required :owner_type, enum: -> { Lithic::OwnerType }
55
-
56
- # @!attribute routing_number
57
- # Routing Number
58
- #
59
- # @return [String]
60
- required :routing_number, String
61
-
62
- # @!attribute state
63
- # Account State
64
- #
65
- # @return [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State]
66
- required :state, enum: -> { Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State }
67
-
68
- # @!attribute type
69
- # Account Type
70
- #
71
- # @return [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type]
72
- required :type, enum: -> { Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type }
73
-
74
- # @!attribute verification_attempts
75
- # The number of attempts at verification
76
- #
77
- # @return [Integer]
78
- required :verification_attempts, Integer
79
-
80
- # @!attribute verification_method
81
- # Verification Method
82
- #
83
- # @return [Symbol, Lithic::Models::VerificationMethod]
84
- required :verification_method, enum: -> { Lithic::VerificationMethod }
85
-
86
- # @!attribute verification_state
87
- # Verification State
88
- #
89
- # @return [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState]
90
- required :verification_state,
91
- enum: -> { Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState }
92
-
93
- # @!attribute account_token
94
- # Indicates which Lithic account the external account is associated with. For
95
- # external accounts that are associated with the program, account_token field
96
- # returned will be null
97
- #
98
- # @return [String, nil]
99
- optional :account_token, String, nil?: true
100
-
101
- # @!attribute address
102
- # Address
103
- #
104
- # @return [Lithic::Models::ExternalBankAccountAddress, nil]
105
- optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
106
-
107
- # @!attribute company_id
108
- # Optional field that helps identify bank accounts in receipts
109
- #
110
- # @return [String, nil]
111
- optional :company_id, String, nil?: true
112
-
113
- # @!attribute dob
114
- # Date of Birth of the Individual that owns the external bank account
115
- #
116
- # @return [Date, nil]
117
- optional :dob, Date, nil?: true
118
-
119
- # @!attribute doing_business_as
120
- # Doing Business As
121
- #
122
- # @return [String, nil]
123
- optional :doing_business_as, String, nil?: true
124
-
125
- # @!attribute financial_account_token
126
- # The financial account token of the operating account to fund the micro deposits
127
- #
128
- # @return [String, nil]
129
- optional :financial_account_token, String, nil?: true
130
-
131
- # @!attribute name
132
- # The nickname for this External Bank Account
133
- #
134
- # @return [String, nil]
135
- optional :name, String, nil?: true
136
-
137
- # @!attribute user_defined_id
138
- # User Defined ID
139
- #
140
- # @return [String, nil]
141
- optional :user_defined_id, String, nil?: true
142
-
143
- # @!attribute verification_failed_reason
144
- # Optional free text description of the reason for the failed verification. For
145
- # ACH micro-deposits returned, this field will display the reason return code sent
146
- # by the ACH network
147
- #
148
- # @return [String, nil]
149
- optional :verification_failed_reason, String, nil?: true
150
-
151
- # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
152
- # Some parameter documentations has been truncated, see
153
- # {Lithic::Models::ExternalBankAccountRetryPrenoteResponse} for more details.
154
- #
155
- # @param token [String] A globally unique identifier for this record of an external bank account associa
156
- #
157
- # @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
158
- #
159
- # @param created [Time] An ISO 8601 string representing when this funding source was added to the Lithic
160
- #
161
- # @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
162
- #
163
- # @param last_four [String] The last 4 digits of the bank account. Derived by Lithic from the account number
164
- #
165
- # @param owner [String] Legal Name of the business or individual who owns the external account. This wil
166
- #
167
- # @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
168
- #
169
- # @param routing_number [String] Routing Number
170
- #
171
- # @param state [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State] Account State
172
- #
173
- # @param type [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type] Account Type
174
- #
175
- # @param verification_attempts [Integer] The number of attempts at verification
176
- #
177
- # @param verification_method [Symbol, Lithic::Models::VerificationMethod] Verification Method
178
- #
179
- # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState] Verification State
180
- #
181
- # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
182
- #
183
- # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
184
- #
185
- # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
186
- #
187
- # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
188
- #
189
- # @param doing_business_as [String, nil] Doing Business As
190
- #
191
- # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
192
- #
193
- # @param name [String, nil] The nickname for this External Bank Account
194
- #
195
- # @param user_defined_id [String, nil] User Defined ID
196
- #
197
- # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
198
-
199
- # Account State
200
- #
201
- # @see Lithic::Models::ExternalBankAccountRetryPrenoteResponse#state
202
- module State
203
- extend Lithic::Internal::Type::Enum
204
-
205
- ENABLED = :ENABLED
206
- CLOSED = :CLOSED
207
- PAUSED = :PAUSED
208
-
209
- # @!method self.values
210
- # @return [Array<Symbol>]
211
- end
212
-
213
- # Account Type
214
- #
215
- # @see Lithic::Models::ExternalBankAccountRetryPrenoteResponse#type
216
- module Type
217
- extend Lithic::Internal::Type::Enum
218
-
219
- CHECKING = :CHECKING
220
- SAVINGS = :SAVINGS
221
-
222
- # @!method self.values
223
- # @return [Array<Symbol>]
224
- end
225
-
226
- # Verification State
227
- #
228
- # @see Lithic::Models::ExternalBankAccountRetryPrenoteResponse#verification_state
229
- module VerificationState
230
- extend Lithic::Internal::Type::Enum
231
-
232
- PENDING = :PENDING
233
- ENABLED = :ENABLED
234
- FAILED_VERIFICATION = :FAILED_VERIFICATION
235
- INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
236
-
237
- # @!method self.values
238
- # @return [Array<Symbol>]
239
- end
240
- end
241
- end
242
- end
@@ -1,115 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- module FinancialAccounts
6
- # @see Lithic::Resources::FinancialAccounts::Balances#list
7
- class BalanceListResponse < Lithic::Internal::Type::BaseModel
8
- # @!attribute token
9
- # Globally unique identifier for the financial account that holds this balance.
10
- #
11
- # @return [String]
12
- required :token, String
13
-
14
- # @!attribute available_amount
15
- # Funds available for spend in the currency's smallest unit (e.g., cents for USD)
16
- #
17
- # @return [Integer]
18
- required :available_amount, Integer
19
-
20
- # @!attribute created
21
- # Date and time for when the balance was first created.
22
- #
23
- # @return [Time]
24
- required :created, Time
25
-
26
- # @!attribute currency
27
- # 3-character alphabetic ISO 4217 code for the local currency of the balance.
28
- #
29
- # @return [String]
30
- required :currency, String
31
-
32
- # @!attribute last_transaction_event_token
33
- # Globally unique identifier for the last financial transaction event that
34
- # impacted this balance.
35
- #
36
- # @return [String]
37
- required :last_transaction_event_token, String
38
-
39
- # @!attribute last_transaction_token
40
- # Globally unique identifier for the last financial transaction that impacted this
41
- # balance.
42
- #
43
- # @return [String]
44
- required :last_transaction_token, String
45
-
46
- # @!attribute pending_amount
47
- # Funds not available for spend due to card authorizations or pending ACH release.
48
- # Shown in the currency's smallest unit (e.g., cents for USD).
49
- #
50
- # @return [Integer]
51
- required :pending_amount, Integer
52
-
53
- # @!attribute total_amount
54
- # The sum of available and pending balance in the currency's smallest unit (e.g.,
55
- # cents for USD).
56
- #
57
- # @return [Integer]
58
- required :total_amount, Integer
59
-
60
- # @!attribute type
61
- # Type of financial account.
62
- #
63
- # @return [Symbol, Lithic::Models::FinancialAccounts::BalanceListResponse::Type]
64
- required :type, enum: -> { Lithic::Models::FinancialAccounts::BalanceListResponse::Type }
65
-
66
- # @!attribute updated
67
- # Date and time for when the balance was last updated.
68
- #
69
- # @return [Time]
70
- required :updated, Time
71
-
72
- # @!method initialize(token:, available_amount:, created:, currency:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, type:, updated:)
73
- # Some parameter documentations has been truncated, see
74
- # {Lithic::Models::FinancialAccounts::BalanceListResponse} for more details.
75
- #
76
- # Balance of a Financial Account
77
- #
78
- # @param token [String] Globally unique identifier for the financial account that holds this balance.
79
- #
80
- # @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
81
- #
82
- # @param created [Time] Date and time for when the balance was first created.
83
- #
84
- # @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
85
- #
86
- # @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
87
- #
88
- # @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
89
- #
90
- # @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
91
- #
92
- # @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
93
- #
94
- # @param type [Symbol, Lithic::Models::FinancialAccounts::BalanceListResponse::Type] Type of financial account.
95
- #
96
- # @param updated [Time] Date and time for when the balance was last updated.
97
-
98
- # Type of financial account.
99
- #
100
- # @see Lithic::Models::FinancialAccounts::BalanceListResponse#type
101
- module Type
102
- extend Lithic::Internal::Type::Enum
103
-
104
- ISSUING = :ISSUING
105
- OPERATING = :OPERATING
106
- RESERVE = :RESERVE
107
- SECURITY = :SECURITY
108
-
109
- # @!method self.values
110
- # @return [Array<Symbol>]
111
- end
112
- end
113
- end
114
- end
115
- end
@@ -1,108 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- # @see Lithic::Resources::FundingEvents#list
6
- class FundingEventListResponse < Lithic::Internal::Type::BaseModel
7
- # @!attribute token
8
- # Unique token ID
9
- #
10
- # @return [String]
11
- required :token, String
12
-
13
- # @!attribute collection_resource_type
14
- # Collection resource type
15
- #
16
- # @return [Symbol, Lithic::Models::FundingEventListResponse::CollectionResourceType]
17
- required :collection_resource_type,
18
- enum: -> { Lithic::Models::FundingEventListResponse::CollectionResourceType }
19
-
20
- # @!attribute collection_tokens
21
- # IDs of collections, further information can be gathered from the appropriate
22
- # collection API based on collection_resource_type
23
- #
24
- # @return [Array<String>]
25
- required :collection_tokens, Lithic::Internal::Type::ArrayOf[String]
26
-
27
- # @!attribute created
28
- # Time of the creation
29
- #
30
- # @return [Time]
31
- required :created, Time
32
-
33
- # @!attribute high_watermark
34
- # Time of the high watermark
35
- #
36
- # @return [Time]
37
- required :high_watermark, Time
38
-
39
- # @!attribute network_settlement_summary
40
- # Network settlement summary breakdown by network settlement date
41
- #
42
- # @return [Array<Lithic::Models::FundingEventListResponse::NetworkSettlementSummary>]
43
- required :network_settlement_summary,
44
- -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary] }
45
-
46
- # @!attribute previous_high_watermark
47
- # Time of the previous high watermark
48
- #
49
- # @return [Time]
50
- required :previous_high_watermark, Time
51
-
52
- # @!attribute updated
53
- # Time of the update
54
- #
55
- # @return [Time]
56
- required :updated, Time
57
-
58
- # @!method initialize(token:, collection_resource_type:, collection_tokens:, created:, high_watermark:, network_settlement_summary:, previous_high_watermark:, updated:)
59
- # Some parameter documentations has been truncated, see
60
- # {Lithic::Models::FundingEventListResponse} for more details.
61
- #
62
- # @param token [String] Unique token ID
63
- #
64
- # @param collection_resource_type [Symbol, Lithic::Models::FundingEventListResponse::CollectionResourceType] Collection resource type
65
- #
66
- # @param collection_tokens [Array<String>] IDs of collections, further information can be gathered from the appropriate col
67
- #
68
- # @param created [Time] Time of the creation
69
- #
70
- # @param high_watermark [Time] Time of the high watermark
71
- #
72
- # @param network_settlement_summary [Array<Lithic::Models::FundingEventListResponse::NetworkSettlementSummary>] Network settlement summary breakdown by network settlement date
73
- #
74
- # @param previous_high_watermark [Time] Time of the previous high watermark
75
- #
76
- # @param updated [Time] Time of the update
77
-
78
- # Collection resource type
79
- #
80
- # @see Lithic::Models::FundingEventListResponse#collection_resource_type
81
- module CollectionResourceType
82
- extend Lithic::Internal::Type::Enum
83
-
84
- BOOK_TRANSFER = :BOOK_TRANSFER
85
- PAYMENT = :PAYMENT
86
-
87
- # @!method self.values
88
- # @return [Array<Symbol>]
89
- end
90
-
91
- class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
92
- # @!attribute network_settlement_date
93
- #
94
- # @return [Date]
95
- required :network_settlement_date, Date
96
-
97
- # @!attribute settled_gross_amount
98
- #
99
- # @return [Integer]
100
- required :settled_gross_amount, Integer
101
-
102
- # @!method initialize(network_settlement_date:, settled_gross_amount:)
103
- # @param network_settlement_date [Date]
104
- # @param settled_gross_amount [Integer]
105
- end
106
- end
107
- end
108
- end
@@ -1,176 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- module Reports
6
- module Settlement
7
- # @see Lithic::Resources::Reports::Settlement::NetworkTotals#list
8
- class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
9
- # @!attribute token
10
- # Globally unique identifier.
11
- #
12
- # @return [String]
13
- required :token, String
14
-
15
- # @!attribute amounts
16
- #
17
- # @return [Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts]
18
- required :amounts, -> { Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts }
19
-
20
- # @!attribute created
21
- # RFC 3339 timestamp for when the record was created. UTC time zone.
22
- #
23
- # @return [Time]
24
- required :created, Time
25
-
26
- # @!attribute currency
27
- # 3-character alphabetic ISO 4217 code.
28
- #
29
- # @return [String]
30
- required :currency, String
31
-
32
- # @!attribute institution_id
33
- # The institution that activity occurred on. For Mastercard: ICA (Interbank Card
34
- # Association). For Maestro: institution ID. For Visa: lowest level SRE
35
- # (Settlement Reporting Entity).
36
- #
37
- # @return [String]
38
- required :institution_id, String
39
-
40
- # @!attribute is_complete
41
- # Indicates that all settlement records related to this Network Total are
42
- # available in the details endpoint.
43
- #
44
- # @return [Boolean]
45
- required :is_complete, Lithic::Internal::Type::Boolean
46
-
47
- # @!attribute network
48
- # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
49
- # or INTERLINK.
50
- #
51
- # @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network]
52
- required :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network }
53
-
54
- # @!attribute report_date
55
- # Date that the network total record applies to. YYYY-MM-DD format.
56
- #
57
- # @return [Date]
58
- required :report_date, Date
59
-
60
- # @!attribute settlement_institution_id
61
- # The institution responsible for settlement. For Mastercard: same as
62
- # `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
63
- # (FTSRE).
64
- #
65
- # @return [String]
66
- required :settlement_institution_id, String
67
-
68
- # @!attribute settlement_service
69
- # Settlement service.
70
- #
71
- # @return [String]
72
- required :settlement_service, String
73
-
74
- # @!attribute updated
75
- # RFC 3339 timestamp for when the record was last updated. UTC time zone.
76
- #
77
- # @return [Time]
78
- required :updated, Time
79
-
80
- # @!attribute cycle
81
- # The clearing cycle that the network total record applies to. Mastercard only.
82
- #
83
- # @return [Integer, nil]
84
- optional :cycle, Integer
85
-
86
- # @!method initialize(token:, amounts:, created:, currency:, institution_id:, is_complete:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
87
- # Some parameter documentations has been truncated, see
88
- # {Lithic::Models::Reports::Settlement::NetworkTotalListResponse} for more
89
- # details.
90
- #
91
- # @param token [String] Globally unique identifier.
92
- #
93
- # @param amounts [Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts]
94
- #
95
- # @param created [Time] RFC 3339 timestamp for when the record was created. UTC time zone.
96
- #
97
- # @param currency [String] 3-character alphabetic ISO 4217 code.
98
- #
99
- # @param institution_id [String] The institution that activity occurred on. For Mastercard: ICA (Interbank Card A
100
- #
101
- # @param is_complete [Boolean] Indicates that all settlement records related to this Network Total are availabl
102
- #
103
- # @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network] Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
104
- #
105
- # @param report_date [Date] Date that the network total record applies to. YYYY-MM-DD format.
106
- #
107
- # @param settlement_institution_id [String] The institution responsible for settlement. For Mastercard: same as `institution
108
- #
109
- # @param settlement_service [String] Settlement service.
110
- #
111
- # @param updated [Time] RFC 3339 timestamp for when the record was last updated. UTC time zone.
112
- #
113
- # @param cycle [Integer] The clearing cycle that the network total record applies to. Mastercard only.
114
-
115
- # @see Lithic::Models::Reports::Settlement::NetworkTotalListResponse#amounts
116
- class Amounts < Lithic::Internal::Type::BaseModel
117
- # @!attribute gross_settlement
118
- # Total settlement amount excluding interchange, in currency's smallest unit.
119
- #
120
- # @return [Integer]
121
- required :gross_settlement, Integer
122
-
123
- # @!attribute interchange_fees
124
- # Interchange amount, in currency's smallest unit.
125
- #
126
- # @return [Integer]
127
- required :interchange_fees, Integer
128
-
129
- # @!attribute net_settlement
130
- # `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
131
- # in currency's smallest unit.
132
- #
133
- # @return [Integer]
134
- required :net_settlement, Integer
135
-
136
- # @!attribute visa_charges
137
- # Charges specific to Visa/Interlink, in currency's smallest unit.
138
- #
139
- # @return [Integer, nil]
140
- optional :visa_charges, Integer
141
-
142
- # @!method initialize(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil)
143
- # Some parameter documentations has been truncated, see
144
- # {Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts} for
145
- # more details.
146
- #
147
- # @param gross_settlement [Integer] Total settlement amount excluding interchange, in currency's smallest unit.
148
- #
149
- # @param interchange_fees [Integer] Interchange amount, in currency's smallest unit.
150
- #
151
- # @param net_settlement [Integer] `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
152
- #
153
- # @param visa_charges [Integer] Charges specific to Visa/Interlink, in currency's smallest unit.
154
- end
155
-
156
- # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
157
- # or INTERLINK.
158
- #
159
- # @see Lithic::Models::Reports::Settlement::NetworkTotalListResponse#network
160
- module Network
161
- extend Lithic::Internal::Type::Enum
162
-
163
- AMEX = :AMEX
164
- VISA = :VISA
165
- MASTERCARD = :MASTERCARD
166
- MAESTRO = :MAESTRO
167
- INTERLINK = :INTERLINK
168
-
169
- # @!method self.values
170
- # @return [Array<Symbol>]
171
- end
172
- end
173
- end
174
- end
175
- end
176
- end