lithic 0.14.0 → 0.16.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 (279) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +52 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +8 -0
  5. data/lib/lithic/internal/transport/base_client.rb +5 -0
  6. data/lib/lithic/models/account.rb +2 -2
  7. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
  8. data/lib/lithic/models/account_holders/account_holder_entity.rb +3 -16
  9. data/lib/lithic/models/account_holders/entity_create_params.rb +3 -14
  10. data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
  11. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
  12. data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
  13. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
  14. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
  15. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +52 -34
  16. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +531 -0
  17. data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +213 -23
  18. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
  19. data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
  20. data/lib/lithic/models/auth_rules/rule_feature.rb +29 -6
  21. data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
  22. data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
  23. data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
  24. data/lib/lithic/models/balance.rb +8 -6
  25. data/lib/lithic/models/card.rb +1 -1
  26. data/lib/lithic/models/card_authorization.rb +1372 -0
  27. data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
  28. data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
  29. data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
  30. data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
  31. data/lib/lithic/models/card_program.rb +2 -2
  32. data/lib/lithic/models/event.rb +13 -4
  33. data/lib/lithic/models/event_list_params.rb +7 -2
  34. data/lib/lithic/models/event_subscription.rb +7 -2
  35. data/lib/lithic/models/events/subscription_create_params.rb +7 -2
  36. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  37. data/lib/lithic/models/events/subscription_update_params.rb +7 -2
  38. data/lib/lithic/models/external_bank_account.rb +1 -1
  39. data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
  40. data/lib/lithic/models/financial_accounts/loan_tape.rb +9 -1
  41. data/lib/lithic/models/financial_accounts/statement.rb +4 -4
  42. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
  43. data/lib/lithic/models/financial_event.rb +1 -0
  44. data/lib/lithic/models/kyb_business_entity.rb +2 -2
  45. data/lib/lithic/models/parsed_webhook_event.rb +4 -1
  46. data/lib/lithic/models/payment.rb +13 -1
  47. data/lib/lithic/models/settlement_detail.rb +14 -14
  48. data/lib/lithic/models/statement_totals.rb +6 -6
  49. data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
  50. data/lib/lithic/models/transaction.rb +2 -2
  51. data/lib/lithic/models/transaction_monitoring/case_activity_entry.rb +74 -0
  52. data/lib/lithic/models/transaction_monitoring/case_activity_type.rb +35 -0
  53. data/lib/lithic/models/transaction_monitoring/case_card.rb +37 -0
  54. data/lib/lithic/models/transaction_monitoring/case_entity.rb +50 -0
  55. data/lib/lithic/models/transaction_monitoring/case_list_activity_params.rb +53 -0
  56. data/lib/lithic/models/transaction_monitoring/case_list_params.rb +136 -0
  57. data/lib/lithic/models/transaction_monitoring/case_list_transactions_params.rb +53 -0
  58. data/lib/lithic/models/transaction_monitoring/case_priority.rb +20 -0
  59. data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_params.rb +22 -0
  60. data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_response.rb +11 -0
  61. data/lib/lithic/models/transaction_monitoring/case_retrieve_params.rb +22 -0
  62. data/lib/lithic/models/transaction_monitoring/case_sort_order.rb +29 -0
  63. data/lib/lithic/models/transaction_monitoring/case_status.rb +31 -0
  64. data/lib/lithic/models/transaction_monitoring/case_transaction.rb +53 -0
  65. data/lib/lithic/models/transaction_monitoring/case_update_params.rb +116 -0
  66. data/lib/lithic/models/transaction_monitoring/cases/case_file.rb +141 -0
  67. data/lib/lithic/models/transaction_monitoring/cases/comment_create_params.rb +47 -0
  68. data/lib/lithic/models/transaction_monitoring/cases/comment_delete_params.rb +30 -0
  69. data/lib/lithic/models/transaction_monitoring/cases/comment_update_params.rb +54 -0
  70. data/lib/lithic/models/transaction_monitoring/cases/file_create_params.rb +33 -0
  71. data/lib/lithic/models/transaction_monitoring/cases/file_delete_params.rb +30 -0
  72. data/lib/lithic/models/transaction_monitoring/cases/file_list_params.rb +54 -0
  73. data/lib/lithic/models/transaction_monitoring/cases/file_retrieve_params.rb +30 -0
  74. data/lib/lithic/models/transaction_monitoring/cases/file_status.rb +26 -0
  75. data/lib/lithic/models/transaction_monitoring/cases/upload_constraints.rb +31 -0
  76. data/lib/lithic/models/transaction_monitoring/entity_type.rb +18 -0
  77. data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +168 -0
  78. data/lib/lithic/models/transaction_monitoring/queue.rb +120 -0
  79. data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +32 -0
  80. data/lib/lithic/models/transaction_monitoring/queue_delete_params.rb +22 -0
  81. data/lib/lithic/models/transaction_monitoring/queue_list_params.rb +45 -0
  82. data/lib/lithic/models/transaction_monitoring/queue_retrieve_params.rb +22 -0
  83. data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +39 -0
  84. data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +28 -0
  85. data/lib/lithic/models/transaction_route_params.rb +29 -0
  86. data/lib/lithic/models/transfer_limits_response.rb +12 -12
  87. data/lib/lithic/models.rb +12 -0
  88. data/lib/lithic/resources/account_holders/entities.rb +1 -1
  89. data/lib/lithic/resources/auth_rules/v2.rb +1 -1
  90. data/lib/lithic/resources/card_authorizations.rb +45 -0
  91. data/lib/lithic/resources/cards.rb +2 -2
  92. data/lib/lithic/resources/external_bank_accounts.rb +19 -0
  93. data/lib/lithic/resources/transaction_monitoring/cases/comments.rb +111 -0
  94. data/lib/lithic/resources/transaction_monitoring/cases/files.rb +131 -0
  95. data/lib/lithic/resources/transaction_monitoring/cases.rb +228 -0
  96. data/lib/lithic/resources/transaction_monitoring/queues.rb +137 -0
  97. data/lib/lithic/resources/transaction_monitoring.rb +22 -0
  98. data/lib/lithic/resources/transactions.rb +25 -0
  99. data/lib/lithic/resources/webhooks.rb +1 -1
  100. data/lib/lithic/version.rb +1 -1
  101. data/lib/lithic.rb +46 -0
  102. data/rbi/lithic/client.rbi +6 -0
  103. data/rbi/lithic/models/account.rbi +3 -3
  104. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
  105. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +3 -40
  106. data/rbi/lithic/models/account_holders/entity_create_params.rbi +3 -37
  107. data/rbi/lithic/models/auth_rules/auth_rule.rbi +14 -7
  108. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
  109. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
  110. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
  111. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +75 -48
  112. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
  113. data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +419 -30
  114. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
  115. data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
  116. data/rbi/lithic/models/auth_rules/rule_feature.rbi +41 -5
  117. data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +3 -0
  118. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +42 -21
  119. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
  120. data/rbi/lithic/models/balance.rbi +12 -6
  121. data/rbi/lithic/models/card.rbi +2 -2
  122. data/rbi/lithic/models/card_authorization.rbi +2769 -0
  123. data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
  124. data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
  125. data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
  126. data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
  127. data/rbi/lithic/models/card_program.rbi +3 -6
  128. data/rbi/lithic/models/event.rbi +23 -6
  129. data/rbi/lithic/models/event_list_params.rbi +11 -2
  130. data/rbi/lithic/models/event_subscription.rbi +11 -2
  131. data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
  132. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  133. data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
  134. data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
  135. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +8 -0
  136. data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
  137. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
  138. data/rbi/lithic/models/financial_event.rbi +2 -0
  139. data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
  140. data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
  141. data/rbi/lithic/models/payment.rbi +13 -0
  142. data/rbi/lithic/models/settlement_detail.rbi +15 -15
  143. data/rbi/lithic/models/statement_totals.rbi +9 -18
  144. data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
  145. data/rbi/lithic/models/transaction.rbi +3 -3
  146. data/rbi/lithic/models/transaction_monitoring/case_activity_entry.rbi +107 -0
  147. data/rbi/lithic/models/transaction_monitoring/case_activity_type.rbi +84 -0
  148. data/rbi/lithic/models/transaction_monitoring/case_card.rbi +60 -0
  149. data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +101 -0
  150. data/rbi/lithic/models/transaction_monitoring/case_list_activity_params.rbi +83 -0
  151. data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +220 -0
  152. data/rbi/lithic/models/transaction_monitoring/case_list_transactions_params.rbi +83 -0
  153. data/rbi/lithic/models/transaction_monitoring/case_priority.rbi +44 -0
  154. data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbi +40 -0
  155. data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbi +15 -0
  156. data/rbi/lithic/models/transaction_monitoring/case_retrieve_params.rbi +40 -0
  157. data/rbi/lithic/models/transaction_monitoring/case_sort_order.rbi +64 -0
  158. data/rbi/lithic/models/transaction_monitoring/case_status.rbi +63 -0
  159. data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +75 -0
  160. data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +201 -0
  161. data/rbi/lithic/models/transaction_monitoring/cases/case_file.rbi +188 -0
  162. data/rbi/lithic/models/transaction_monitoring/cases/comment_create_params.rbi +71 -0
  163. data/rbi/lithic/models/transaction_monitoring/cases/comment_delete_params.rbi +50 -0
  164. data/rbi/lithic/models/transaction_monitoring/cases/comment_update_params.rbi +77 -0
  165. data/rbi/lithic/models/transaction_monitoring/cases/file_create_params.rbi +56 -0
  166. data/rbi/lithic/models/transaction_monitoring/cases/file_delete_params.rbi +50 -0
  167. data/rbi/lithic/models/transaction_monitoring/cases/file_list_params.rbi +85 -0
  168. data/rbi/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbi +50 -0
  169. data/rbi/lithic/models/transaction_monitoring/cases/file_status.rbi +51 -0
  170. data/rbi/lithic/models/transaction_monitoring/cases/upload_constraints.rbi +51 -0
  171. data/rbi/lithic/models/transaction_monitoring/entity_type.rbi +37 -0
  172. data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +226 -0
  173. data/rbi/lithic/models/transaction_monitoring/queue.rbi +189 -0
  174. data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +56 -0
  175. data/rbi/lithic/models/transaction_monitoring/queue_delete_params.rbi +40 -0
  176. data/rbi/lithic/models/transaction_monitoring/queue_list_params.rbi +77 -0
  177. data/rbi/lithic/models/transaction_monitoring/queue_retrieve_params.rbi +40 -0
  178. data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +65 -0
  179. data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +61 -0
  180. data/rbi/lithic/models/transaction_route_params.rbi +49 -0
  181. data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
  182. data/rbi/lithic/models.rbi +15 -0
  183. data/rbi/lithic/resources/account_holders/entities.rbi +1 -1
  184. data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
  185. data/rbi/lithic/resources/card_authorizations.rbi +35 -0
  186. data/rbi/lithic/resources/cards.rbi +2 -2
  187. data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
  188. data/rbi/lithic/resources/transaction_monitoring/cases/comments.rbi +81 -0
  189. data/rbi/lithic/resources/transaction_monitoring/cases/files.rbi +98 -0
  190. data/rbi/lithic/resources/transaction_monitoring/cases.rbi +230 -0
  191. data/rbi/lithic/resources/transaction_monitoring/queues.rbi +103 -0
  192. data/rbi/lithic/resources/transaction_monitoring.rbi +18 -0
  193. data/rbi/lithic/resources/transactions.rbi +18 -0
  194. data/rbi/lithic/resources/webhooks.rbi +4 -1
  195. data/sig/lithic/client.rbs +4 -0
  196. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
  197. data/sig/lithic/models/account_holders/account_holder_entity.rbs +4 -15
  198. data/sig/lithic/models/account_holders/entity_create_params.rbs +4 -15
  199. data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
  200. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
  201. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
  202. data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +73 -3
  203. data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
  204. data/sig/lithic/models/auth_rules/rule_feature.rbs +16 -0
  205. data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
  206. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
  207. data/sig/lithic/models/balance.rbs +17 -9
  208. data/sig/lithic/models/card_authorization.rbs +1112 -0
  209. data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
  210. data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
  211. data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
  212. data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
  213. data/sig/lithic/models/card_program.rbs +4 -6
  214. data/sig/lithic/models/event.rbs +2 -0
  215. data/sig/lithic/models/event_list_params.rbs +2 -0
  216. data/sig/lithic/models/event_subscription.rbs +2 -0
  217. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  218. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  219. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  220. data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
  221. data/sig/lithic/models/financial_accounts/loan_tape.rbs +5 -0
  222. data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
  223. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
  224. data/sig/lithic/models/financial_event.rbs +2 -0
  225. data/sig/lithic/models/kyb_business_entity.rbs +4 -6
  226. data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
  227. data/sig/lithic/models/payment.rbs +7 -0
  228. data/sig/lithic/models/settlement_detail.rbs +18 -18
  229. data/sig/lithic/models/statement_totals.rbs +12 -18
  230. data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
  231. data/sig/lithic/models/transaction.rbs +4 -8
  232. data/sig/lithic/models/transaction_monitoring/case_activity_entry.rbs +47 -0
  233. data/sig/lithic/models/transaction_monitoring/case_activity_type.rbs +32 -0
  234. data/sig/lithic/models/transaction_monitoring/case_card.rbs +32 -0
  235. data/sig/lithic/models/transaction_monitoring/case_entity.rbs +38 -0
  236. data/sig/lithic/models/transaction_monitoring/case_list_activity_params.rbs +49 -0
  237. data/sig/lithic/models/transaction_monitoring/case_list_params.rbs +125 -0
  238. data/sig/lithic/models/transaction_monitoring/case_list_transactions_params.rbs +49 -0
  239. data/sig/lithic/models/transaction_monitoring/case_priority.rbs +18 -0
  240. data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbs +25 -0
  241. data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbs +10 -0
  242. data/sig/lithic/models/transaction_monitoring/case_retrieve_params.rbs +25 -0
  243. data/sig/lithic/models/transaction_monitoring/case_sort_order.rbs +26 -0
  244. data/sig/lithic/models/transaction_monitoring/case_status.rbs +21 -0
  245. data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +42 -0
  246. data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +91 -0
  247. data/sig/lithic/models/transaction_monitoring/cases/case_file.rbs +86 -0
  248. data/sig/lithic/models/transaction_monitoring/cases/comment_create_params.rbs +38 -0
  249. data/sig/lithic/models/transaction_monitoring/cases/comment_delete_params.rbs +32 -0
  250. data/sig/lithic/models/transaction_monitoring/cases/comment_update_params.rbs +47 -0
  251. data/sig/lithic/models/transaction_monitoring/cases/file_create_params.rbs +32 -0
  252. data/sig/lithic/models/transaction_monitoring/cases/file_delete_params.rbs +32 -0
  253. data/sig/lithic/models/transaction_monitoring/cases/file_list_params.rbs +51 -0
  254. data/sig/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbs +32 -0
  255. data/sig/lithic/models/transaction_monitoring/cases/file_status.rbs +19 -0
  256. data/sig/lithic/models/transaction_monitoring/cases/upload_constraints.rbs +26 -0
  257. data/sig/lithic/models/transaction_monitoring/entity_type.rbs +16 -0
  258. data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +102 -0
  259. data/sig/lithic/models/transaction_monitoring/queue.rbs +101 -0
  260. data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +30 -0
  261. data/sig/lithic/models/transaction_monitoring/queue_delete_params.rbs +25 -0
  262. data/sig/lithic/models/transaction_monitoring/queue_list_params.rbs +40 -0
  263. data/sig/lithic/models/transaction_monitoring/queue_retrieve_params.rbs +25 -0
  264. data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +36 -0
  265. data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +24 -0
  266. data/sig/lithic/models/transaction_route_params.rbs +28 -0
  267. data/sig/lithic/models/transfer_limits_response.rbs +24 -36
  268. data/sig/lithic/models.rbs +12 -0
  269. data/sig/lithic/resources/account_holders/entities.rbs +1 -1
  270. data/sig/lithic/resources/card_authorizations.rbs +13 -0
  271. data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
  272. data/sig/lithic/resources/transaction_monitoring/cases/comments.rbs +32 -0
  273. data/sig/lithic/resources/transaction_monitoring/cases/files.rbs +37 -0
  274. data/sig/lithic/resources/transaction_monitoring/cases.rbs +71 -0
  275. data/sig/lithic/resources/transaction_monitoring/queues.rbs +39 -0
  276. data/sig/lithic/resources/transaction_monitoring.rbs +11 -0
  277. data/sig/lithic/resources/transactions.rbs +6 -0
  278. data/sig/lithic/resources/webhooks.rbs +1 -0
  279. metadata +140 -2
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Lithic
4
4
  module Models
5
- class CardAuthorizationApprovalRequestWebhookEvent < Lithic::Internal::Type::BaseModel
5
+ class CardAuthorizationApprovalRequestWebhookEvent < Lithic::Models::CardAuthorization
6
6
  OrHash =
7
7
  T.type_alias do
8
8
  T.any(
@@ -11,2770 +11,17 @@ module Lithic
11
11
  )
12
12
  end
13
13
 
14
- # The provisional transaction group uuid associated with the authorization
15
- sig { returns(String) }
16
- attr_accessor :token
17
-
18
- # Fee (in cents) assessed by the merchant and paid for by the cardholder. Will be
19
- # zero if no fee is assessed. Rebates may be transmitted as a negative value to
20
- # indicate credited fees.
21
- sig { returns(Integer) }
22
- attr_accessor :acquirer_fee
23
-
24
- # Deprecated, use `amounts`. Authorization amount of the transaction (in cents),
25
- # including any acquirer fees. The contents of this field are identical to
26
- # `authorization_amount`.
27
- sig { returns(Integer) }
28
- attr_accessor :amount
29
-
30
- # Structured amounts for this authorization. The `cardholder` and `merchant`
31
- # amounts reflect the original network authorization values. For programs with
32
- # hold adjustments enabled (e.g., automated fuel dispensers or tipping MCCs), the
33
- # `hold` amount may exceed the `cardholder` and `merchant` amounts to account for
34
- # anticipated final transaction amounts such as tips or fuel fill-ups
35
- sig do
36
- returns(Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts)
37
- end
38
- attr_reader :amounts
39
-
40
- sig do
41
- params(
42
- amounts:
43
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::OrHash
44
- ).void
45
- end
46
- attr_writer :amounts
47
-
48
- # Deprecated, use `amounts`. The base transaction amount (in cents) plus the
49
- # acquirer fee field. This is the amount the issuer should authorize against
50
- # unless the issuer is paying the acquirer fee on behalf of the cardholder.
51
- sig { returns(Integer) }
52
- attr_accessor :authorization_amount
53
-
54
- sig { returns(Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs) }
55
- attr_reader :avs
56
-
57
- sig do
58
- params(
59
- avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::OrHash
60
- ).void
61
- end
62
- attr_writer :avs
63
-
64
- # Card object in ASA
65
- sig do
66
- returns(Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card)
67
- end
68
- attr_reader :card
69
-
70
- sig do
71
- params(
72
- card:
73
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::OrHash
74
- ).void
75
- end
76
- attr_writer :card
77
-
78
- # Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's
79
- # billing currency.
80
- sig { returns(String) }
81
- attr_accessor :cardholder_currency
82
-
83
- # The portion of the transaction requested as cash back by the cardholder, and
84
- # does not include any acquirer fees. The amount field includes the purchase
85
- # amount, the requested cash back amount, and any acquirer fees.
86
- #
87
- # If no cash back was requested, the value of this field will be 0, and the field
88
- # will always be present.
89
- sig { returns(Integer) }
90
- attr_accessor :cash_amount
91
-
92
- # Date and time when the transaction first occurred in UTC.
93
- sig { returns(Time) }
94
- attr_accessor :created
95
-
96
14
  sig { returns(Symbol) }
97
15
  attr_accessor :event_type
98
16
 
99
- # Merchant information including full location details.
100
- sig do
101
- returns(Lithic::CardAuthorizationApprovalRequestWebhookEvent::Merchant)
102
- end
103
- attr_reader :merchant
104
-
105
- sig do
106
- params(
107
- merchant:
108
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Merchant::OrHash
109
- ).void
110
- end
111
- attr_writer :merchant
112
-
113
- # Deprecated, use `amounts`. The amount that the merchant will receive,
114
- # denominated in `merchant_currency` and in the smallest currency unit. Note the
115
- # amount includes `acquirer_fee`, similar to `authorization_amount`. It will be
116
- # different from `authorization_amount` if the merchant is taking payment in a
117
- # different currency.
118
- sig { returns(Integer) }
119
- attr_accessor :merchant_amount
120
-
121
- # 3-character alphabetic ISO 4217 code for the local currency of the transaction.
122
- sig { returns(String) }
123
- attr_accessor :merchant_currency
124
-
125
- # Where the cardholder received the service, when different from the card acceptor
126
- # location. This is populated from network data elements such as Mastercard DE-122
127
- # SE1 SF9-14 and Visa F34 DS02.
128
- sig do
129
- returns(
130
- T.nilable(
131
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::ServiceLocation
132
- )
133
- )
134
- end
135
- attr_reader :service_location
136
-
137
- sig do
138
- params(
139
- service_location:
140
- T.nilable(
141
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::ServiceLocation::OrHash
142
- )
143
- ).void
144
- end
145
- attr_writer :service_location
146
-
147
- # Deprecated, use `amounts`. Amount (in cents) of the transaction that has been
148
- # settled, including any acquirer fees.
149
- sig { returns(Integer) }
150
- attr_accessor :settled_amount
151
-
152
- # The type of authorization request that this request is for. Note that
153
- # `CREDIT_AUTHORIZATION` and `FINANCIAL_CREDIT_AUTHORIZATION` is only available to
154
- # users with credit decisioning via ASA enabled.
155
- sig do
156
- returns(
157
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
158
- )
159
- end
160
- attr_accessor :status
161
-
162
- # The entity that initiated the transaction.
163
- sig do
164
- returns(
165
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol
166
- )
167
- end
168
- attr_accessor :transaction_initiator
169
-
170
- sig do
171
- returns(
172
- T.nilable(
173
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::TaggedSymbol
174
- )
175
- )
176
- end
177
- attr_reader :account_type
178
-
179
- sig do
180
- params(
181
- account_type:
182
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::OrSymbol
183
- ).void
184
- end
185
- attr_writer :account_type
186
-
187
- sig { returns(T.nilable(Lithic::CardholderAuthentication)) }
188
- attr_reader :cardholder_authentication
189
-
190
- sig do
191
- params(
192
- cardholder_authentication: Lithic::CardholderAuthentication::OrHash
193
- ).void
194
- end
195
- attr_writer :cardholder_authentication
196
-
197
- # Deprecated, use `cash_amount`.
198
- sig { returns(T.nilable(Integer)) }
199
- attr_reader :cashback
200
-
201
- sig { params(cashback: Integer).void }
202
- attr_writer :cashback
203
-
204
- # Deprecated, use `amounts`. If the transaction was requested in a currency other
205
- # than the settlement currency, this field will be populated to indicate the rate
206
- # used to translate the merchant_amount to the amount (i.e., `merchant_amount` x
207
- # `conversion_rate` = `amount`). Note that the `merchant_amount` is in the local
208
- # currency and the amount is in the settlement currency.
209
- sig { returns(T.nilable(Float)) }
210
- attr_reader :conversion_rate
211
-
212
- sig { params(conversion_rate: Float).void }
213
- attr_writer :conversion_rate
214
-
215
- # The event token associated with the authorization. This field is only set for
216
- # programs enrolled into the beta.
217
- sig { returns(T.nilable(String)) }
218
- attr_reader :event_token
219
-
220
- sig { params(event_token: String).void }
221
- attr_writer :event_token
222
-
223
- # Optional Object containing information if the Card is a part of a Fleet managed
224
- # program
225
- sig do
226
- returns(
227
- T.nilable(
228
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo
229
- )
230
- )
231
- end
232
- attr_reader :fleet_info
233
-
234
- sig do
235
- params(
236
- fleet_info:
237
- T.nilable(
238
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::OrHash
239
- )
240
- ).void
241
- end
242
- attr_writer :fleet_info
243
-
244
- # The latest Authorization Challenge that was issued to the cardholder for this
245
- # merchant.
246
- sig do
247
- returns(
248
- T.nilable(
249
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge
250
- )
251
- )
252
- end
253
- attr_reader :latest_challenge
254
-
255
- sig do
256
- params(
257
- latest_challenge:
258
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::OrHash
259
- ).void
260
- end
261
- attr_writer :latest_challenge
262
-
263
- # Card network of the authorization.
264
- sig do
265
- returns(
266
- T.nilable(
267
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
268
- )
269
- )
270
- end
271
- attr_reader :network
272
-
273
- sig do
274
- params(
275
- network:
276
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::OrSymbol
277
- ).void
278
- end
279
- attr_writer :network
280
-
281
- # Network-provided score assessing risk level associated with a given
282
- # authorization. Scores are on a range of 0-999, with 0 representing the lowest
283
- # risk and 999 representing the highest risk. For Visa transactions, where the raw
284
- # score has a range of 0-99, Lithic will normalize the score by multiplying the
285
- # raw score by 10x.
286
- sig { returns(T.nilable(Integer)) }
287
- attr_accessor :network_risk_score
288
-
289
- # Contains raw data provided by the card network, including attributes that
290
- # provide further context about the authorization. If populated by the network,
291
- # data is organized by Lithic and passed through without further modification.
292
- # Please consult the official network documentation for more details about these
293
- # values and how to use them. This object is only available to certain programs-
294
- # contact your Customer Success Manager to discuss enabling access.
295
- sig do
296
- returns(
297
- T.nilable(
298
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData
299
- )
300
- )
301
- end
302
- attr_reader :network_specific_data
303
-
304
- sig do
305
- params(
306
- network_specific_data:
307
- T.nilable(
308
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::OrHash
309
- )
310
- ).void
17
+ # The Auth Stream Access request payload that was sent to the ASA responder.
18
+ sig { params(event_type: Symbol).returns(T.attached_class) }
19
+ def self.new(event_type: :"card_authorization.approval_request")
311
20
  end
312
- attr_writer :network_specific_data
313
21
 
314
- sig do
315
- returns(
316
- T.nilable(Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos)
317
- )
318
- end
319
- attr_reader :pos
320
-
321
- sig do
322
- params(
323
- pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::OrHash
324
- ).void
325
- end
326
- attr_writer :pos
327
-
328
- sig { returns(T.nilable(Lithic::TokenInfo)) }
329
- attr_reader :token_info
330
-
331
- sig { params(token_info: T.nilable(Lithic::TokenInfo::OrHash)).void }
332
- attr_writer :token_info
333
-
334
- # Deprecated: approximate time-to-live for the authorization.
335
- sig { returns(T.nilable(Time)) }
336
- attr_reader :ttl
337
-
338
- sig { params(ttl: Time).void }
339
- attr_writer :ttl
340
-
341
- sig do
342
- params(
343
- token: String,
344
- acquirer_fee: Integer,
345
- amount: Integer,
346
- amounts:
347
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::OrHash,
348
- authorization_amount: Integer,
349
- avs:
350
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::OrHash,
351
- card:
352
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::OrHash,
353
- cardholder_currency: String,
354
- cash_amount: Integer,
355
- created: Time,
356
- merchant:
357
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Merchant::OrHash,
358
- merchant_amount: Integer,
359
- merchant_currency: String,
360
- service_location:
361
- T.nilable(
362
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::ServiceLocation::OrHash
363
- ),
364
- settled_amount: Integer,
365
- status:
366
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::OrSymbol,
367
- transaction_initiator:
368
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::OrSymbol,
369
- account_type:
370
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::OrSymbol,
371
- cardholder_authentication: Lithic::CardholderAuthentication::OrHash,
372
- cashback: Integer,
373
- conversion_rate: Float,
374
- event_token: String,
375
- fleet_info:
376
- T.nilable(
377
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::OrHash
378
- ),
379
- latest_challenge:
380
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::OrHash,
381
- network:
382
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::OrSymbol,
383
- network_risk_score: T.nilable(Integer),
384
- network_specific_data:
385
- T.nilable(
386
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::OrHash
387
- ),
388
- pos:
389
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::OrHash,
390
- token_info: T.nilable(Lithic::TokenInfo::OrHash),
391
- ttl: Time,
392
- event_type: Symbol
393
- ).returns(T.attached_class)
394
- end
395
- def self.new(
396
- # The provisional transaction group uuid associated with the authorization
397
- token:,
398
- # Fee (in cents) assessed by the merchant and paid for by the cardholder. Will be
399
- # zero if no fee is assessed. Rebates may be transmitted as a negative value to
400
- # indicate credited fees.
401
- acquirer_fee:,
402
- # Deprecated, use `amounts`. Authorization amount of the transaction (in cents),
403
- # including any acquirer fees. The contents of this field are identical to
404
- # `authorization_amount`.
405
- amount:,
406
- # Structured amounts for this authorization. The `cardholder` and `merchant`
407
- # amounts reflect the original network authorization values. For programs with
408
- # hold adjustments enabled (e.g., automated fuel dispensers or tipping MCCs), the
409
- # `hold` amount may exceed the `cardholder` and `merchant` amounts to account for
410
- # anticipated final transaction amounts such as tips or fuel fill-ups
411
- amounts:,
412
- # Deprecated, use `amounts`. The base transaction amount (in cents) plus the
413
- # acquirer fee field. This is the amount the issuer should authorize against
414
- # unless the issuer is paying the acquirer fee on behalf of the cardholder.
415
- authorization_amount:,
416
- avs:,
417
- # Card object in ASA
418
- card:,
419
- # Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's
420
- # billing currency.
421
- cardholder_currency:,
422
- # The portion of the transaction requested as cash back by the cardholder, and
423
- # does not include any acquirer fees. The amount field includes the purchase
424
- # amount, the requested cash back amount, and any acquirer fees.
425
- #
426
- # If no cash back was requested, the value of this field will be 0, and the field
427
- # will always be present.
428
- cash_amount:,
429
- # Date and time when the transaction first occurred in UTC.
430
- created:,
431
- # Merchant information including full location details.
432
- merchant:,
433
- # Deprecated, use `amounts`. The amount that the merchant will receive,
434
- # denominated in `merchant_currency` and in the smallest currency unit. Note the
435
- # amount includes `acquirer_fee`, similar to `authorization_amount`. It will be
436
- # different from `authorization_amount` if the merchant is taking payment in a
437
- # different currency.
438
- merchant_amount:,
439
- # 3-character alphabetic ISO 4217 code for the local currency of the transaction.
440
- merchant_currency:,
441
- # Where the cardholder received the service, when different from the card acceptor
442
- # location. This is populated from network data elements such as Mastercard DE-122
443
- # SE1 SF9-14 and Visa F34 DS02.
444
- service_location:,
445
- # Deprecated, use `amounts`. Amount (in cents) of the transaction that has been
446
- # settled, including any acquirer fees.
447
- settled_amount:,
448
- # The type of authorization request that this request is for. Note that
449
- # `CREDIT_AUTHORIZATION` and `FINANCIAL_CREDIT_AUTHORIZATION` is only available to
450
- # users with credit decisioning via ASA enabled.
451
- status:,
452
- # The entity that initiated the transaction.
453
- transaction_initiator:,
454
- account_type: nil,
455
- cardholder_authentication: nil,
456
- # Deprecated, use `cash_amount`.
457
- cashback: nil,
458
- # Deprecated, use `amounts`. If the transaction was requested in a currency other
459
- # than the settlement currency, this field will be populated to indicate the rate
460
- # used to translate the merchant_amount to the amount (i.e., `merchant_amount` x
461
- # `conversion_rate` = `amount`). Note that the `merchant_amount` is in the local
462
- # currency and the amount is in the settlement currency.
463
- conversion_rate: nil,
464
- # The event token associated with the authorization. This field is only set for
465
- # programs enrolled into the beta.
466
- event_token: nil,
467
- # Optional Object containing information if the Card is a part of a Fleet managed
468
- # program
469
- fleet_info: nil,
470
- # The latest Authorization Challenge that was issued to the cardholder for this
471
- # merchant.
472
- latest_challenge: nil,
473
- # Card network of the authorization.
474
- network: nil,
475
- # Network-provided score assessing risk level associated with a given
476
- # authorization. Scores are on a range of 0-999, with 0 representing the lowest
477
- # risk and 999 representing the highest risk. For Visa transactions, where the raw
478
- # score has a range of 0-99, Lithic will normalize the score by multiplying the
479
- # raw score by 10x.
480
- network_risk_score: nil,
481
- # Contains raw data provided by the card network, including attributes that
482
- # provide further context about the authorization. If populated by the network,
483
- # data is organized by Lithic and passed through without further modification.
484
- # Please consult the official network documentation for more details about these
485
- # values and how to use them. This object is only available to certain programs-
486
- # contact your Customer Success Manager to discuss enabling access.
487
- network_specific_data: nil,
488
- pos: nil,
489
- token_info: nil,
490
- # Deprecated: approximate time-to-live for the authorization.
491
- ttl: nil,
492
- event_type: :"card_authorization.approval_request"
493
- )
494
- end
495
-
496
- sig do
497
- override.returns(
498
- {
499
- token: String,
500
- acquirer_fee: Integer,
501
- amount: Integer,
502
- amounts:
503
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts,
504
- authorization_amount: Integer,
505
- avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
506
- card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
507
- cardholder_currency: String,
508
- cash_amount: Integer,
509
- created: Time,
510
- event_type: Symbol,
511
- merchant:
512
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Merchant,
513
- merchant_amount: Integer,
514
- merchant_currency: String,
515
- service_location:
516
- T.nilable(
517
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::ServiceLocation
518
- ),
519
- settled_amount: Integer,
520
- status:
521
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol,
522
- transaction_initiator:
523
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol,
524
- account_type:
525
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::TaggedSymbol,
526
- cardholder_authentication: Lithic::CardholderAuthentication,
527
- cashback: Integer,
528
- conversion_rate: Float,
529
- event_token: String,
530
- fleet_info:
531
- T.nilable(
532
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo
533
- ),
534
- latest_challenge:
535
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge,
536
- network:
537
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol,
538
- network_risk_score: T.nilable(Integer),
539
- network_specific_data:
540
- T.nilable(
541
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData
542
- ),
543
- pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos,
544
- token_info: T.nilable(Lithic::TokenInfo),
545
- ttl: Time
546
- }
547
- )
548
- end
22
+ sig { override.returns({ event_type: Symbol }) }
549
23
  def to_hash
550
24
  end
551
-
552
- class Amounts < Lithic::Internal::Type::BaseModel
553
- OrHash =
554
- T.type_alias do
555
- T.any(
556
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts,
557
- Lithic::Internal::AnyHash
558
- )
559
- end
560
-
561
- sig do
562
- returns(
563
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder
564
- )
565
- end
566
- attr_reader :cardholder
567
-
568
- sig do
569
- params(
570
- cardholder:
571
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder::OrHash
572
- ).void
573
- end
574
- attr_writer :cardholder
575
-
576
- sig do
577
- returns(
578
- T.nilable(
579
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold
580
- )
581
- )
582
- end
583
- attr_reader :hold
584
-
585
- sig do
586
- params(
587
- hold:
588
- T.nilable(
589
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold::OrHash
590
- )
591
- ).void
592
- end
593
- attr_writer :hold
594
-
595
- sig do
596
- returns(
597
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant
598
- )
599
- end
600
- attr_reader :merchant
601
-
602
- sig do
603
- params(
604
- merchant:
605
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant::OrHash
606
- ).void
607
- end
608
- attr_writer :merchant
609
-
610
- sig do
611
- returns(
612
- T.nilable(
613
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement
614
- )
615
- )
616
- end
617
- attr_reader :settlement
618
-
619
- sig do
620
- params(
621
- settlement:
622
- T.nilable(
623
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement::OrHash
624
- )
625
- ).void
626
- end
627
- attr_writer :settlement
628
-
629
- # Structured amounts for this authorization. The `cardholder` and `merchant`
630
- # amounts reflect the original network authorization values. For programs with
631
- # hold adjustments enabled (e.g., automated fuel dispensers or tipping MCCs), the
632
- # `hold` amount may exceed the `cardholder` and `merchant` amounts to account for
633
- # anticipated final transaction amounts such as tips or fuel fill-ups
634
- sig do
635
- params(
636
- cardholder:
637
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder::OrHash,
638
- hold:
639
- T.nilable(
640
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold::OrHash
641
- ),
642
- merchant:
643
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant::OrHash,
644
- settlement:
645
- T.nilable(
646
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement::OrHash
647
- )
648
- ).returns(T.attached_class)
649
- end
650
- def self.new(cardholder:, hold:, merchant:, settlement:)
651
- end
652
-
653
- sig do
654
- override.returns(
655
- {
656
- cardholder:
657
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder,
658
- hold:
659
- T.nilable(
660
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold
661
- ),
662
- merchant:
663
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant,
664
- settlement:
665
- T.nilable(
666
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement
667
- )
668
- }
669
- )
670
- end
671
- def to_hash
672
- end
673
-
674
- class Cardholder < Lithic::Internal::Type::BaseModel
675
- OrHash =
676
- T.type_alias do
677
- T.any(
678
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder,
679
- Lithic::Internal::AnyHash
680
- )
681
- end
682
-
683
- # Amount in the smallest unit of the applicable currency (e.g., cents)
684
- sig { returns(Integer) }
685
- attr_accessor :amount
686
-
687
- # Exchange rate used for currency conversion
688
- sig { returns(String) }
689
- attr_accessor :conversion_rate
690
-
691
- # 3-character alphabetic ISO 4217 currency
692
- sig { returns(String) }
693
- attr_accessor :currency
694
-
695
- sig do
696
- params(
697
- amount: Integer,
698
- conversion_rate: String,
699
- currency: String
700
- ).returns(T.attached_class)
701
- end
702
- def self.new(
703
- # Amount in the smallest unit of the applicable currency (e.g., cents)
704
- amount:,
705
- # Exchange rate used for currency conversion
706
- conversion_rate:,
707
- # 3-character alphabetic ISO 4217 currency
708
- currency:
709
- )
710
- end
711
-
712
- sig do
713
- override.returns(
714
- { amount: Integer, conversion_rate: String, currency: String }
715
- )
716
- end
717
- def to_hash
718
- end
719
- end
720
-
721
- class Hold < Lithic::Internal::Type::BaseModel
722
- OrHash =
723
- T.type_alias do
724
- T.any(
725
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold,
726
- Lithic::Internal::AnyHash
727
- )
728
- end
729
-
730
- # Amount in the smallest unit of the applicable currency (e.g., cents)
731
- sig { returns(Integer) }
732
- attr_accessor :amount
733
-
734
- # 3-character alphabetic ISO 4217 currency
735
- sig { returns(String) }
736
- attr_accessor :currency
737
-
738
- sig do
739
- params(amount: Integer, currency: String).returns(T.attached_class)
740
- end
741
- def self.new(
742
- # Amount in the smallest unit of the applicable currency (e.g., cents)
743
- amount:,
744
- # 3-character alphabetic ISO 4217 currency
745
- currency:
746
- )
747
- end
748
-
749
- sig { override.returns({ amount: Integer, currency: String }) }
750
- def to_hash
751
- end
752
- end
753
-
754
- class Merchant < Lithic::Internal::Type::BaseModel
755
- OrHash =
756
- T.type_alias do
757
- T.any(
758
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant,
759
- Lithic::Internal::AnyHash
760
- )
761
- end
762
-
763
- # Amount in the smallest unit of the applicable currency (e.g., cents)
764
- sig { returns(Integer) }
765
- attr_accessor :amount
766
-
767
- # 3-character alphabetic ISO 4217 currency
768
- sig { returns(String) }
769
- attr_accessor :currency
770
-
771
- sig do
772
- params(amount: Integer, currency: String).returns(T.attached_class)
773
- end
774
- def self.new(
775
- # Amount in the smallest unit of the applicable currency (e.g., cents)
776
- amount:,
777
- # 3-character alphabetic ISO 4217 currency
778
- currency:
779
- )
780
- end
781
-
782
- sig { override.returns({ amount: Integer, currency: String }) }
783
- def to_hash
784
- end
785
- end
786
-
787
- class Settlement < Lithic::Internal::Type::BaseModel
788
- OrHash =
789
- T.type_alias do
790
- T.any(
791
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement,
792
- Lithic::Internal::AnyHash
793
- )
794
- end
795
-
796
- # Amount in the smallest unit of the applicable currency (e.g., cents)
797
- sig { returns(Integer) }
798
- attr_accessor :amount
799
-
800
- # 3-character alphabetic ISO 4217 currency
801
- sig { returns(String) }
802
- attr_accessor :currency
803
-
804
- sig do
805
- params(amount: Integer, currency: String).returns(T.attached_class)
806
- end
807
- def self.new(
808
- # Amount in the smallest unit of the applicable currency (e.g., cents)
809
- amount:,
810
- # 3-character alphabetic ISO 4217 currency
811
- currency:
812
- )
813
- end
814
-
815
- sig { override.returns({ amount: Integer, currency: String }) }
816
- def to_hash
817
- end
818
- end
819
- end
820
-
821
- class Avs < Lithic::Internal::Type::BaseModel
822
- OrHash =
823
- T.type_alias do
824
- T.any(
825
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
826
- Lithic::Internal::AnyHash
827
- )
828
- end
829
-
830
- # Cardholder address
831
- sig { returns(String) }
832
- attr_accessor :address
833
-
834
- # Lithic's evaluation result comparing the transaction's address data with the
835
- # cardholder KYC data if it exists. In the event Lithic does not have any
836
- # Cardholder KYC data, or the transaction does not contain any address data,
837
- # NOT_PRESENT will be returned
838
- sig do
839
- returns(
840
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
841
- )
842
- end
843
- attr_accessor :address_on_file_match
844
-
845
- # Cardholder ZIP code
846
- sig { returns(String) }
847
- attr_accessor :zipcode
848
-
849
- sig do
850
- params(
851
- address: String,
852
- address_on_file_match:
853
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::OrSymbol,
854
- zipcode: String
855
- ).returns(T.attached_class)
856
- end
857
- def self.new(
858
- # Cardholder address
859
- address:,
860
- # Lithic's evaluation result comparing the transaction's address data with the
861
- # cardholder KYC data if it exists. In the event Lithic does not have any
862
- # Cardholder KYC data, or the transaction does not contain any address data,
863
- # NOT_PRESENT will be returned
864
- address_on_file_match:,
865
- # Cardholder ZIP code
866
- zipcode:
867
- )
868
- end
869
-
870
- sig do
871
- override.returns(
872
- {
873
- address: String,
874
- address_on_file_match:
875
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol,
876
- zipcode: String
877
- }
878
- )
879
- end
880
- def to_hash
881
- end
882
-
883
- # Lithic's evaluation result comparing the transaction's address data with the
884
- # cardholder KYC data if it exists. In the event Lithic does not have any
885
- # Cardholder KYC data, or the transaction does not contain any address data,
886
- # NOT_PRESENT will be returned
887
- module AddressOnFileMatch
888
- extend Lithic::Internal::Type::Enum
889
-
890
- TaggedSymbol =
891
- T.type_alias do
892
- T.all(
893
- Symbol,
894
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch
895
- )
896
- end
897
- OrSymbol = T.type_alias { T.any(Symbol, String) }
898
-
899
- MATCH =
900
- T.let(
901
- :MATCH,
902
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
903
- )
904
- MATCH_ADDRESS_ONLY =
905
- T.let(
906
- :MATCH_ADDRESS_ONLY,
907
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
908
- )
909
- MATCH_ZIP_ONLY =
910
- T.let(
911
- :MATCH_ZIP_ONLY,
912
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
913
- )
914
- MISMATCH =
915
- T.let(
916
- :MISMATCH,
917
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
918
- )
919
- NOT_PRESENT =
920
- T.let(
921
- :NOT_PRESENT,
922
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
923
- )
924
-
925
- sig do
926
- override.returns(
927
- T::Array[
928
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs::AddressOnFileMatch::TaggedSymbol
929
- ]
930
- )
931
- end
932
- def self.values
933
- end
934
- end
935
- end
936
-
937
- class Card < Lithic::Internal::Type::BaseModel
938
- OrHash =
939
- T.type_alias do
940
- T.any(
941
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
942
- Lithic::Internal::AnyHash
943
- )
944
- end
945
-
946
- # Globally unique identifier for the card.
947
- sig { returns(String) }
948
- attr_accessor :token
949
-
950
- # Last four digits of the card number
951
- sig { returns(String) }
952
- attr_accessor :last_four
953
-
954
- # Customizable name to identify the card
955
- sig { returns(String) }
956
- attr_accessor :memo
957
-
958
- # Amount (in cents) to limit approved authorizations. Purchase requests above the
959
- # spend limit will be declined (refunds and credits will be approved).
960
- #
961
- # Note that while spend limits are enforced based on authorized and settled volume
962
- # on a card, they are not recommended to be used for balance or
963
- # reconciliation-level accuracy. Spend limits also cannot block force posted
964
- # charges (i.e., when a merchant sends a clearing message without a prior
965
- # authorization).
966
- sig { returns(Integer) }
967
- attr_accessor :spend_limit
968
-
969
- # Note that to support recurring monthly payments, which can occur on different
970
- # day every month, the time window we consider for MONTHLY velocity starts 6 days
971
- # after the current calendar date one month prior.
972
- sig do
973
- returns(
974
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
975
- )
976
- end
977
- attr_accessor :spend_limit_duration
978
-
979
- sig do
980
- returns(
981
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
982
- )
983
- end
984
- attr_accessor :state
985
-
986
- sig do
987
- returns(
988
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
989
- )
990
- end
991
- attr_accessor :type
992
-
993
- # Card object in ASA
994
- sig do
995
- params(
996
- token: String,
997
- last_four: String,
998
- memo: String,
999
- spend_limit: Integer,
1000
- spend_limit_duration:
1001
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::OrSymbol,
1002
- state:
1003
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::OrSymbol,
1004
- type:
1005
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::OrSymbol
1006
- ).returns(T.attached_class)
1007
- end
1008
- def self.new(
1009
- # Globally unique identifier for the card.
1010
- token:,
1011
- # Last four digits of the card number
1012
- last_four:,
1013
- # Customizable name to identify the card
1014
- memo:,
1015
- # Amount (in cents) to limit approved authorizations. Purchase requests above the
1016
- # spend limit will be declined (refunds and credits will be approved).
1017
- #
1018
- # Note that while spend limits are enforced based on authorized and settled volume
1019
- # on a card, they are not recommended to be used for balance or
1020
- # reconciliation-level accuracy. Spend limits also cannot block force posted
1021
- # charges (i.e., when a merchant sends a clearing message without a prior
1022
- # authorization).
1023
- spend_limit:,
1024
- # Note that to support recurring monthly payments, which can occur on different
1025
- # day every month, the time window we consider for MONTHLY velocity starts 6 days
1026
- # after the current calendar date one month prior.
1027
- spend_limit_duration:,
1028
- state:,
1029
- type:
1030
- )
1031
- end
1032
-
1033
- sig do
1034
- override.returns(
1035
- {
1036
- token: String,
1037
- last_four: String,
1038
- memo: String,
1039
- spend_limit: Integer,
1040
- spend_limit_duration:
1041
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol,
1042
- state:
1043
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol,
1044
- type:
1045
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1046
- }
1047
- )
1048
- end
1049
- def to_hash
1050
- end
1051
-
1052
- # Note that to support recurring monthly payments, which can occur on different
1053
- # day every month, the time window we consider for MONTHLY velocity starts 6 days
1054
- # after the current calendar date one month prior.
1055
- module SpendLimitDuration
1056
- extend Lithic::Internal::Type::Enum
1057
-
1058
- TaggedSymbol =
1059
- T.type_alias do
1060
- T.all(
1061
- Symbol,
1062
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration
1063
- )
1064
- end
1065
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1066
-
1067
- ANNUALLY =
1068
- T.let(
1069
- :ANNUALLY,
1070
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
1071
- )
1072
- FOREVER =
1073
- T.let(
1074
- :FOREVER,
1075
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
1076
- )
1077
- MONTHLY =
1078
- T.let(
1079
- :MONTHLY,
1080
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
1081
- )
1082
- TRANSACTION =
1083
- T.let(
1084
- :TRANSACTION,
1085
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
1086
- )
1087
-
1088
- sig do
1089
- override.returns(
1090
- T::Array[
1091
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
1092
- ]
1093
- )
1094
- end
1095
- def self.values
1096
- end
1097
- end
1098
-
1099
- module State
1100
- extend Lithic::Internal::Type::Enum
1101
-
1102
- TaggedSymbol =
1103
- T.type_alias do
1104
- T.all(
1105
- Symbol,
1106
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State
1107
- )
1108
- end
1109
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1110
-
1111
- CLOSED =
1112
- T.let(
1113
- :CLOSED,
1114
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1115
- )
1116
- OPEN =
1117
- T.let(
1118
- :OPEN,
1119
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1120
- )
1121
- PAUSED =
1122
- T.let(
1123
- :PAUSED,
1124
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1125
- )
1126
- PENDING_ACTIVATION =
1127
- T.let(
1128
- :PENDING_ACTIVATION,
1129
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1130
- )
1131
- PENDING_FULFILLMENT =
1132
- T.let(
1133
- :PENDING_FULFILLMENT,
1134
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1135
- )
1136
-
1137
- sig do
1138
- override.returns(
1139
- T::Array[
1140
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1141
- ]
1142
- )
1143
- end
1144
- def self.values
1145
- end
1146
- end
1147
-
1148
- module Type
1149
- extend Lithic::Internal::Type::Enum
1150
-
1151
- TaggedSymbol =
1152
- T.type_alias do
1153
- T.all(
1154
- Symbol,
1155
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type
1156
- )
1157
- end
1158
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1159
-
1160
- SINGLE_USE =
1161
- T.let(
1162
- :SINGLE_USE,
1163
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1164
- )
1165
- MERCHANT_LOCKED =
1166
- T.let(
1167
- :MERCHANT_LOCKED,
1168
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1169
- )
1170
- UNLOCKED =
1171
- T.let(
1172
- :UNLOCKED,
1173
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1174
- )
1175
- PHYSICAL =
1176
- T.let(
1177
- :PHYSICAL,
1178
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1179
- )
1180
- DIGITAL_WALLET =
1181
- T.let(
1182
- :DIGITAL_WALLET,
1183
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1184
- )
1185
- VIRTUAL =
1186
- T.let(
1187
- :VIRTUAL,
1188
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1189
- )
1190
-
1191
- sig do
1192
- override.returns(
1193
- T::Array[
1194
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1195
- ]
1196
- )
1197
- end
1198
- def self.values
1199
- end
1200
- end
1201
- end
1202
-
1203
- class Merchant < Lithic::Models::Merchant
1204
- OrHash =
1205
- T.type_alias do
1206
- T.any(
1207
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Merchant,
1208
- Lithic::Internal::AnyHash
1209
- )
1210
- end
1211
-
1212
- # Phone number of card acceptor.
1213
- sig { returns(T.nilable(String)) }
1214
- attr_accessor :phone_number
1215
-
1216
- # Postal code of card acceptor.
1217
- sig { returns(T.nilable(String)) }
1218
- attr_accessor :postal_code
1219
-
1220
- # Street address of card acceptor.
1221
- sig { returns(T.nilable(String)) }
1222
- attr_accessor :street_address
1223
-
1224
- # Merchant information including full location details.
1225
- sig do
1226
- params(
1227
- phone_number: T.nilable(String),
1228
- postal_code: T.nilable(String),
1229
- street_address: T.nilable(String)
1230
- ).returns(T.attached_class)
1231
- end
1232
- def self.new(
1233
- # Phone number of card acceptor.
1234
- phone_number:,
1235
- # Postal code of card acceptor.
1236
- postal_code:,
1237
- # Street address of card acceptor.
1238
- street_address:
1239
- )
1240
- end
1241
-
1242
- sig do
1243
- override.returns(
1244
- {
1245
- phone_number: T.nilable(String),
1246
- postal_code: T.nilable(String),
1247
- street_address: T.nilable(String)
1248
- }
1249
- )
1250
- end
1251
- def to_hash
1252
- end
1253
- end
1254
-
1255
- class ServiceLocation < Lithic::Internal::Type::BaseModel
1256
- OrHash =
1257
- T.type_alias do
1258
- T.any(
1259
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::ServiceLocation,
1260
- Lithic::Internal::AnyHash
1261
- )
1262
- end
1263
-
1264
- # City of service location.
1265
- sig { returns(T.nilable(String)) }
1266
- attr_accessor :city
1267
-
1268
- # Country code of service location, ISO 3166-1 alpha-3.
1269
- sig { returns(T.nilable(String)) }
1270
- attr_accessor :country
1271
-
1272
- # Postal code of service location.
1273
- sig { returns(T.nilable(String)) }
1274
- attr_accessor :postal_code
1275
-
1276
- # State/province code of service location, ISO 3166-2.
1277
- sig { returns(T.nilable(String)) }
1278
- attr_accessor :state
1279
-
1280
- # Street address of service location.
1281
- sig { returns(T.nilable(String)) }
1282
- attr_accessor :street_address
1283
-
1284
- # Where the cardholder received the service, when different from the card acceptor
1285
- # location. This is populated from network data elements such as Mastercard DE-122
1286
- # SE1 SF9-14 and Visa F34 DS02.
1287
- sig do
1288
- params(
1289
- city: T.nilable(String),
1290
- country: T.nilable(String),
1291
- postal_code: T.nilable(String),
1292
- state: T.nilable(String),
1293
- street_address: T.nilable(String)
1294
- ).returns(T.attached_class)
1295
- end
1296
- def self.new(
1297
- # City of service location.
1298
- city:,
1299
- # Country code of service location, ISO 3166-1 alpha-3.
1300
- country:,
1301
- # Postal code of service location.
1302
- postal_code:,
1303
- # State/province code of service location, ISO 3166-2.
1304
- state:,
1305
- # Street address of service location.
1306
- street_address:
1307
- )
1308
- end
1309
-
1310
- sig do
1311
- override.returns(
1312
- {
1313
- city: T.nilable(String),
1314
- country: T.nilable(String),
1315
- postal_code: T.nilable(String),
1316
- state: T.nilable(String),
1317
- street_address: T.nilable(String)
1318
- }
1319
- )
1320
- end
1321
- def to_hash
1322
- end
1323
- end
1324
-
1325
- # The type of authorization request that this request is for. Note that
1326
- # `CREDIT_AUTHORIZATION` and `FINANCIAL_CREDIT_AUTHORIZATION` is only available to
1327
- # users with credit decisioning via ASA enabled.
1328
- module Status
1329
- extend Lithic::Internal::Type::Enum
1330
-
1331
- TaggedSymbol =
1332
- T.type_alias do
1333
- T.all(
1334
- Symbol,
1335
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status
1336
- )
1337
- end
1338
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1339
-
1340
- AUTHORIZATION =
1341
- T.let(
1342
- :AUTHORIZATION,
1343
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1344
- )
1345
- CREDIT_AUTHORIZATION =
1346
- T.let(
1347
- :CREDIT_AUTHORIZATION,
1348
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1349
- )
1350
- FINANCIAL_AUTHORIZATION =
1351
- T.let(
1352
- :FINANCIAL_AUTHORIZATION,
1353
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1354
- )
1355
- FINANCIAL_CREDIT_AUTHORIZATION =
1356
- T.let(
1357
- :FINANCIAL_CREDIT_AUTHORIZATION,
1358
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1359
- )
1360
- BALANCE_INQUIRY =
1361
- T.let(
1362
- :BALANCE_INQUIRY,
1363
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1364
- )
1365
-
1366
- sig do
1367
- override.returns(
1368
- T::Array[
1369
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Status::TaggedSymbol
1370
- ]
1371
- )
1372
- end
1373
- def self.values
1374
- end
1375
- end
1376
-
1377
- # The entity that initiated the transaction.
1378
- module TransactionInitiator
1379
- extend Lithic::Internal::Type::Enum
1380
-
1381
- TaggedSymbol =
1382
- T.type_alias do
1383
- T.all(
1384
- Symbol,
1385
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator
1386
- )
1387
- end
1388
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1389
-
1390
- CARDHOLDER =
1391
- T.let(
1392
- :CARDHOLDER,
1393
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol
1394
- )
1395
- MERCHANT =
1396
- T.let(
1397
- :MERCHANT,
1398
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol
1399
- )
1400
- UNKNOWN =
1401
- T.let(
1402
- :UNKNOWN,
1403
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol
1404
- )
1405
-
1406
- sig do
1407
- override.returns(
1408
- T::Array[
1409
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::TransactionInitiator::TaggedSymbol
1410
- ]
1411
- )
1412
- end
1413
- def self.values
1414
- end
1415
- end
1416
-
1417
- module AccountType
1418
- extend Lithic::Internal::Type::Enum
1419
-
1420
- TaggedSymbol =
1421
- T.type_alias do
1422
- T.all(
1423
- Symbol,
1424
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType
1425
- )
1426
- end
1427
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1428
-
1429
- CHECKING =
1430
- T.let(
1431
- :CHECKING,
1432
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::TaggedSymbol
1433
- )
1434
- SAVINGS =
1435
- T.let(
1436
- :SAVINGS,
1437
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::TaggedSymbol
1438
- )
1439
-
1440
- sig do
1441
- override.returns(
1442
- T::Array[
1443
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::AccountType::TaggedSymbol
1444
- ]
1445
- )
1446
- end
1447
- def self.values
1448
- end
1449
- end
1450
-
1451
- class FleetInfo < Lithic::Internal::Type::BaseModel
1452
- OrHash =
1453
- T.type_alias do
1454
- T.any(
1455
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo,
1456
- Lithic::Internal::AnyHash
1457
- )
1458
- end
1459
-
1460
- # Code indicating what the driver was prompted to enter at time of purchase. This
1461
- # is configured at a program level and is a static configuration, and does not
1462
- # change on a request to request basis
1463
- sig do
1464
- returns(
1465
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol
1466
- )
1467
- end
1468
- attr_accessor :fleet_prompt_code
1469
-
1470
- # Code indicating which restrictions, if any, there are on purchase. This is
1471
- # configured at a program level and is a static configuration, and does not change
1472
- # on a request to request basis
1473
- sig do
1474
- returns(
1475
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::TaggedSymbol
1476
- )
1477
- end
1478
- attr_accessor :fleet_restriction_code
1479
-
1480
- # Number representing the driver
1481
- sig { returns(T.nilable(String)) }
1482
- attr_accessor :driver_number
1483
-
1484
- # Number associated with the vehicle
1485
- sig { returns(T.nilable(String)) }
1486
- attr_accessor :vehicle_number
1487
-
1488
- # Optional Object containing information if the Card is a part of a Fleet managed
1489
- # program
1490
- sig do
1491
- params(
1492
- fleet_prompt_code:
1493
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::OrSymbol,
1494
- fleet_restriction_code:
1495
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::OrSymbol,
1496
- driver_number: T.nilable(String),
1497
- vehicle_number: T.nilable(String)
1498
- ).returns(T.attached_class)
1499
- end
1500
- def self.new(
1501
- # Code indicating what the driver was prompted to enter at time of purchase. This
1502
- # is configured at a program level and is a static configuration, and does not
1503
- # change on a request to request basis
1504
- fleet_prompt_code:,
1505
- # Code indicating which restrictions, if any, there are on purchase. This is
1506
- # configured at a program level and is a static configuration, and does not change
1507
- # on a request to request basis
1508
- fleet_restriction_code:,
1509
- # Number representing the driver
1510
- driver_number: nil,
1511
- # Number associated with the vehicle
1512
- vehicle_number: nil
1513
- )
1514
- end
1515
-
1516
- sig do
1517
- override.returns(
1518
- {
1519
- fleet_prompt_code:
1520
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol,
1521
- fleet_restriction_code:
1522
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::TaggedSymbol,
1523
- driver_number: T.nilable(String),
1524
- vehicle_number: T.nilable(String)
1525
- }
1526
- )
1527
- end
1528
- def to_hash
1529
- end
1530
-
1531
- # Code indicating what the driver was prompted to enter at time of purchase. This
1532
- # is configured at a program level and is a static configuration, and does not
1533
- # change on a request to request basis
1534
- module FleetPromptCode
1535
- extend Lithic::Internal::Type::Enum
1536
-
1537
- TaggedSymbol =
1538
- T.type_alias do
1539
- T.all(
1540
- Symbol,
1541
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode
1542
- )
1543
- end
1544
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1545
-
1546
- NO_PROMPT =
1547
- T.let(
1548
- :NO_PROMPT,
1549
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol
1550
- )
1551
- VEHICLE_NUMBER =
1552
- T.let(
1553
- :VEHICLE_NUMBER,
1554
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol
1555
- )
1556
- DRIVER_NUMBER =
1557
- T.let(
1558
- :DRIVER_NUMBER,
1559
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol
1560
- )
1561
-
1562
- sig do
1563
- override.returns(
1564
- T::Array[
1565
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetPromptCode::TaggedSymbol
1566
- ]
1567
- )
1568
- end
1569
- def self.values
1570
- end
1571
- end
1572
-
1573
- # Code indicating which restrictions, if any, there are on purchase. This is
1574
- # configured at a program level and is a static configuration, and does not change
1575
- # on a request to request basis
1576
- module FleetRestrictionCode
1577
- extend Lithic::Internal::Type::Enum
1578
-
1579
- TaggedSymbol =
1580
- T.type_alias do
1581
- T.all(
1582
- Symbol,
1583
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode
1584
- )
1585
- end
1586
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1587
-
1588
- NO_RESTRICTIONS =
1589
- T.let(
1590
- :NO_RESTRICTIONS,
1591
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::TaggedSymbol
1592
- )
1593
- FUEL_ONLY =
1594
- T.let(
1595
- :FUEL_ONLY,
1596
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::TaggedSymbol
1597
- )
1598
-
1599
- sig do
1600
- override.returns(
1601
- T::Array[
1602
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::FleetRestrictionCode::TaggedSymbol
1603
- ]
1604
- )
1605
- end
1606
- def self.values
1607
- end
1608
- end
1609
- end
1610
-
1611
- class LatestChallenge < Lithic::Internal::Type::BaseModel
1612
- OrHash =
1613
- T.type_alias do
1614
- T.any(
1615
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge,
1616
- Lithic::Internal::AnyHash
1617
- )
1618
- end
1619
-
1620
- # The phone number used for sending Authorization Challenge SMS.
1621
- sig { returns(String) }
1622
- attr_accessor :phone_number
1623
-
1624
- # The status of the Authorization Challenge
1625
- #
1626
- # - `COMPLETED` - Challenge was successfully completed by the cardholder
1627
- # - `PENDING` - Challenge is still open
1628
- # - `EXPIRED` - Challenge has expired without being completed
1629
- # - `ERROR` - There was an error processing the challenge
1630
- sig do
1631
- returns(
1632
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1633
- )
1634
- end
1635
- attr_accessor :status
1636
-
1637
- # The date and time when the Authorization Challenge was completed in UTC. Present
1638
- # only if the status is `COMPLETED`.
1639
- sig { returns(T.nilable(Time)) }
1640
- attr_reader :completed_at
1641
-
1642
- sig { params(completed_at: Time).void }
1643
- attr_writer :completed_at
1644
-
1645
- # The latest Authorization Challenge that was issued to the cardholder for this
1646
- # merchant.
1647
- sig do
1648
- params(
1649
- phone_number: String,
1650
- status:
1651
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::OrSymbol,
1652
- completed_at: Time
1653
- ).returns(T.attached_class)
1654
- end
1655
- def self.new(
1656
- # The phone number used for sending Authorization Challenge SMS.
1657
- phone_number:,
1658
- # The status of the Authorization Challenge
1659
- #
1660
- # - `COMPLETED` - Challenge was successfully completed by the cardholder
1661
- # - `PENDING` - Challenge is still open
1662
- # - `EXPIRED` - Challenge has expired without being completed
1663
- # - `ERROR` - There was an error processing the challenge
1664
- status:,
1665
- # The date and time when the Authorization Challenge was completed in UTC. Present
1666
- # only if the status is `COMPLETED`.
1667
- completed_at: nil
1668
- )
1669
- end
1670
-
1671
- sig do
1672
- override.returns(
1673
- {
1674
- phone_number: String,
1675
- status:
1676
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol,
1677
- completed_at: Time
1678
- }
1679
- )
1680
- end
1681
- def to_hash
1682
- end
1683
-
1684
- # The status of the Authorization Challenge
1685
- #
1686
- # - `COMPLETED` - Challenge was successfully completed by the cardholder
1687
- # - `PENDING` - Challenge is still open
1688
- # - `EXPIRED` - Challenge has expired without being completed
1689
- # - `ERROR` - There was an error processing the challenge
1690
- module Status
1691
- extend Lithic::Internal::Type::Enum
1692
-
1693
- TaggedSymbol =
1694
- T.type_alias do
1695
- T.all(
1696
- Symbol,
1697
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status
1698
- )
1699
- end
1700
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1701
-
1702
- COMPLETED =
1703
- T.let(
1704
- :COMPLETED,
1705
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1706
- )
1707
- PENDING =
1708
- T.let(
1709
- :PENDING,
1710
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1711
- )
1712
- EXPIRED =
1713
- T.let(
1714
- :EXPIRED,
1715
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1716
- )
1717
- ERROR =
1718
- T.let(
1719
- :ERROR,
1720
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1721
- )
1722
-
1723
- sig do
1724
- override.returns(
1725
- T::Array[
1726
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::Status::TaggedSymbol
1727
- ]
1728
- )
1729
- end
1730
- def self.values
1731
- end
1732
- end
1733
- end
1734
-
1735
- # Card network of the authorization.
1736
- module Network
1737
- extend Lithic::Internal::Type::Enum
1738
-
1739
- TaggedSymbol =
1740
- T.type_alias do
1741
- T.all(
1742
- Symbol,
1743
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network
1744
- )
1745
- end
1746
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1747
-
1748
- AMEX =
1749
- T.let(
1750
- :AMEX,
1751
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1752
- )
1753
- INTERLINK =
1754
- T.let(
1755
- :INTERLINK,
1756
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1757
- )
1758
- MAESTRO =
1759
- T.let(
1760
- :MAESTRO,
1761
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1762
- )
1763
- MASTERCARD =
1764
- T.let(
1765
- :MASTERCARD,
1766
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1767
- )
1768
- UNKNOWN =
1769
- T.let(
1770
- :UNKNOWN,
1771
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1772
- )
1773
- VISA =
1774
- T.let(
1775
- :VISA,
1776
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1777
- )
1778
-
1779
- sig do
1780
- override.returns(
1781
- T::Array[
1782
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Network::TaggedSymbol
1783
- ]
1784
- )
1785
- end
1786
- def self.values
1787
- end
1788
- end
1789
-
1790
- class NetworkSpecificData < Lithic::Internal::Type::BaseModel
1791
- OrHash =
1792
- T.type_alias do
1793
- T.any(
1794
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData,
1795
- Lithic::Internal::AnyHash
1796
- )
1797
- end
1798
-
1799
- sig do
1800
- returns(
1801
- T.nilable(
1802
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard
1803
- )
1804
- )
1805
- end
1806
- attr_reader :mastercard
1807
-
1808
- sig do
1809
- params(
1810
- mastercard:
1811
- T.nilable(
1812
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OrHash
1813
- )
1814
- ).void
1815
- end
1816
- attr_writer :mastercard
1817
-
1818
- sig do
1819
- returns(
1820
- T.nilable(
1821
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa
1822
- )
1823
- )
1824
- end
1825
- attr_reader :visa
1826
-
1827
- sig do
1828
- params(
1829
- visa:
1830
- T.nilable(
1831
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa::OrHash
1832
- )
1833
- ).void
1834
- end
1835
- attr_writer :visa
1836
-
1837
- # Contains raw data provided by the card network, including attributes that
1838
- # provide further context about the authorization. If populated by the network,
1839
- # data is organized by Lithic and passed through without further modification.
1840
- # Please consult the official network documentation for more details about these
1841
- # values and how to use them. This object is only available to certain programs-
1842
- # contact your Customer Success Manager to discuss enabling access.
1843
- sig do
1844
- params(
1845
- mastercard:
1846
- T.nilable(
1847
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OrHash
1848
- ),
1849
- visa:
1850
- T.nilable(
1851
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa::OrHash
1852
- )
1853
- ).returns(T.attached_class)
1854
- end
1855
- def self.new(mastercard: nil, visa: nil)
1856
- end
1857
-
1858
- sig do
1859
- override.returns(
1860
- {
1861
- mastercard:
1862
- T.nilable(
1863
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard
1864
- ),
1865
- visa:
1866
- T.nilable(
1867
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa
1868
- )
1869
- }
1870
- )
1871
- end
1872
- def to_hash
1873
- end
1874
-
1875
- class Mastercard < Lithic::Internal::Type::BaseModel
1876
- OrHash =
1877
- T.type_alias do
1878
- T.any(
1879
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard,
1880
- Lithic::Internal::AnyHash
1881
- )
1882
- end
1883
-
1884
- # Indicates the electronic commerce security level and UCAF collection.
1885
- sig { returns(T.nilable(String)) }
1886
- attr_accessor :ecommerce_security_level_indicator
1887
-
1888
- # The On-behalf Service performed on the transaction and the results. Contains all
1889
- # applicable, on-behalf service results that were performed on a given
1890
- # transaction.
1891
- sig do
1892
- returns(
1893
- T.nilable(
1894
- T::Array[
1895
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult
1896
- ]
1897
- )
1898
- )
1899
- end
1900
- attr_accessor :on_behalf_service_result
1901
-
1902
- # Indicates the type of additional transaction purpose.
1903
- sig { returns(T.nilable(String)) }
1904
- attr_accessor :transaction_type_identifier
1905
-
1906
- sig do
1907
- params(
1908
- ecommerce_security_level_indicator: T.nilable(String),
1909
- on_behalf_service_result:
1910
- T.nilable(
1911
- T::Array[
1912
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult::OrHash
1913
- ]
1914
- ),
1915
- transaction_type_identifier: T.nilable(String)
1916
- ).returns(T.attached_class)
1917
- end
1918
- def self.new(
1919
- # Indicates the electronic commerce security level and UCAF collection.
1920
- ecommerce_security_level_indicator: nil,
1921
- # The On-behalf Service performed on the transaction and the results. Contains all
1922
- # applicable, on-behalf service results that were performed on a given
1923
- # transaction.
1924
- on_behalf_service_result: nil,
1925
- # Indicates the type of additional transaction purpose.
1926
- transaction_type_identifier: nil
1927
- )
1928
- end
1929
-
1930
- sig do
1931
- override.returns(
1932
- {
1933
- ecommerce_security_level_indicator: T.nilable(String),
1934
- on_behalf_service_result:
1935
- T.nilable(
1936
- T::Array[
1937
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult
1938
- ]
1939
- ),
1940
- transaction_type_identifier: T.nilable(String)
1941
- }
1942
- )
1943
- end
1944
- def to_hash
1945
- end
1946
-
1947
- class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
1948
- OrHash =
1949
- T.type_alias do
1950
- T.any(
1951
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult,
1952
- Lithic::Internal::AnyHash
1953
- )
1954
- end
1955
-
1956
- # Indicates the results of the service processing.
1957
- sig { returns(String) }
1958
- attr_accessor :result_1
1959
-
1960
- # Identifies the results of the service processing.
1961
- sig { returns(String) }
1962
- attr_accessor :result_2
1963
-
1964
- # Indicates the service performed on the transaction.
1965
- sig { returns(String) }
1966
- attr_accessor :service
1967
-
1968
- sig do
1969
- params(
1970
- result_1: String,
1971
- result_2: String,
1972
- service: String
1973
- ).returns(T.attached_class)
1974
- end
1975
- def self.new(
1976
- # Indicates the results of the service processing.
1977
- result_1:,
1978
- # Identifies the results of the service processing.
1979
- result_2:,
1980
- # Indicates the service performed on the transaction.
1981
- service:
1982
- )
1983
- end
1984
-
1985
- sig do
1986
- override.returns(
1987
- { result_1: String, result_2: String, service: String }
1988
- )
1989
- end
1990
- def to_hash
1991
- end
1992
- end
1993
- end
1994
-
1995
- class Visa < Lithic::Internal::Type::BaseModel
1996
- OrHash =
1997
- T.type_alias do
1998
- T.any(
1999
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa,
2000
- Lithic::Internal::AnyHash
2001
- )
2002
- end
2003
-
2004
- # Identifies the purpose or category of a transaction, used to classify and
2005
- # process transactions according to Visa’s rules.
2006
- sig { returns(T.nilable(String)) }
2007
- attr_accessor :business_application_identifier
2008
-
2009
- sig do
2010
- params(business_application_identifier: T.nilable(String)).returns(
2011
- T.attached_class
2012
- )
2013
- end
2014
- def self.new(
2015
- # Identifies the purpose or category of a transaction, used to classify and
2016
- # process transactions according to Visa’s rules.
2017
- business_application_identifier: nil
2018
- )
2019
- end
2020
-
2021
- sig do
2022
- override.returns(
2023
- { business_application_identifier: T.nilable(String) }
2024
- )
2025
- end
2026
- def to_hash
2027
- end
2028
- end
2029
- end
2030
-
2031
- class Pos < Lithic::Internal::Type::BaseModel
2032
- OrHash =
2033
- T.type_alias do
2034
- T.any(
2035
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos,
2036
- Lithic::Internal::AnyHash
2037
- )
2038
- end
2039
-
2040
- # POS > Entry Mode object in ASA
2041
- sig do
2042
- returns(
2043
- T.nilable(
2044
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode
2045
- )
2046
- )
2047
- end
2048
- attr_reader :entry_mode
2049
-
2050
- sig do
2051
- params(
2052
- entry_mode:
2053
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::OrHash
2054
- ).void
2055
- end
2056
- attr_writer :entry_mode
2057
-
2058
- sig do
2059
- returns(
2060
- T.nilable(
2061
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
2062
- )
2063
- )
2064
- end
2065
- attr_reader :terminal
2066
-
2067
- sig do
2068
- params(
2069
- terminal:
2070
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::OrHash
2071
- ).void
2072
- end
2073
- attr_writer :terminal
2074
-
2075
- sig do
2076
- params(
2077
- entry_mode:
2078
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::OrHash,
2079
- terminal:
2080
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::OrHash
2081
- ).returns(T.attached_class)
2082
- end
2083
- def self.new(
2084
- # POS > Entry Mode object in ASA
2085
- entry_mode: nil,
2086
- terminal: nil
2087
- )
2088
- end
2089
-
2090
- sig do
2091
- override.returns(
2092
- {
2093
- entry_mode:
2094
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode,
2095
- terminal:
2096
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
2097
- }
2098
- )
2099
- end
2100
- def to_hash
2101
- end
2102
-
2103
- class EntryMode < Lithic::Internal::Type::BaseModel
2104
- OrHash =
2105
- T.type_alias do
2106
- T.any(
2107
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode,
2108
- Lithic::Internal::AnyHash
2109
- )
2110
- end
2111
-
2112
- # Card Presence Indicator
2113
- sig do
2114
- returns(
2115
- T.nilable(
2116
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol
2117
- )
2118
- )
2119
- end
2120
- attr_reader :card
2121
-
2122
- sig do
2123
- params(
2124
- card:
2125
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::OrSymbol
2126
- ).void
2127
- end
2128
- attr_writer :card
2129
-
2130
- # Cardholder Presence Indicator
2131
- sig do
2132
- returns(
2133
- T.nilable(
2134
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2135
- )
2136
- )
2137
- end
2138
- attr_reader :cardholder
2139
-
2140
- sig do
2141
- params(
2142
- cardholder:
2143
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::OrSymbol
2144
- ).void
2145
- end
2146
- attr_writer :cardholder
2147
-
2148
- # Method of entry for the PAN
2149
- sig do
2150
- returns(
2151
- T.nilable(
2152
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2153
- )
2154
- )
2155
- end
2156
- attr_reader :pan
2157
-
2158
- sig do
2159
- params(
2160
- pan:
2161
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::OrSymbol
2162
- ).void
2163
- end
2164
- attr_writer :pan
2165
-
2166
- # Indicates whether the cardholder entered the PIN. True if the PIN was entered.
2167
- sig { returns(T.nilable(T::Boolean)) }
2168
- attr_reader :pin_entered
2169
-
2170
- sig { params(pin_entered: T::Boolean).void }
2171
- attr_writer :pin_entered
2172
-
2173
- # POS > Entry Mode object in ASA
2174
- sig do
2175
- params(
2176
- card:
2177
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::OrSymbol,
2178
- cardholder:
2179
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::OrSymbol,
2180
- pan:
2181
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::OrSymbol,
2182
- pin_entered: T::Boolean
2183
- ).returns(T.attached_class)
2184
- end
2185
- def self.new(
2186
- # Card Presence Indicator
2187
- card: nil,
2188
- # Cardholder Presence Indicator
2189
- cardholder: nil,
2190
- # Method of entry for the PAN
2191
- pan: nil,
2192
- # Indicates whether the cardholder entered the PIN. True if the PIN was entered.
2193
- pin_entered: nil
2194
- )
2195
- end
2196
-
2197
- sig do
2198
- override.returns(
2199
- {
2200
- card:
2201
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol,
2202
- cardholder:
2203
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol,
2204
- pan:
2205
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol,
2206
- pin_entered: T::Boolean
2207
- }
2208
- )
2209
- end
2210
- def to_hash
2211
- end
2212
-
2213
- # Card Presence Indicator
2214
- module Card
2215
- extend Lithic::Internal::Type::Enum
2216
-
2217
- TaggedSymbol =
2218
- T.type_alias do
2219
- T.all(
2220
- Symbol,
2221
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card
2222
- )
2223
- end
2224
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2225
-
2226
- PRESENT =
2227
- T.let(
2228
- :PRESENT,
2229
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol
2230
- )
2231
- NOT_PRESENT =
2232
- T.let(
2233
- :NOT_PRESENT,
2234
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol
2235
- )
2236
- UNKNOWN =
2237
- T.let(
2238
- :UNKNOWN,
2239
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol
2240
- )
2241
-
2242
- sig do
2243
- override.returns(
2244
- T::Array[
2245
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Card::TaggedSymbol
2246
- ]
2247
- )
2248
- end
2249
- def self.values
2250
- end
2251
- end
2252
-
2253
- # Cardholder Presence Indicator
2254
- module Cardholder
2255
- extend Lithic::Internal::Type::Enum
2256
-
2257
- TaggedSymbol =
2258
- T.type_alias do
2259
- T.all(
2260
- Symbol,
2261
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder
2262
- )
2263
- end
2264
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2265
-
2266
- DEFERRED_BILLING =
2267
- T.let(
2268
- :DEFERRED_BILLING,
2269
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2270
- )
2271
- ELECTRONIC_ORDER =
2272
- T.let(
2273
- :ELECTRONIC_ORDER,
2274
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2275
- )
2276
- INSTALLMENT =
2277
- T.let(
2278
- :INSTALLMENT,
2279
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2280
- )
2281
- MAIL_ORDER =
2282
- T.let(
2283
- :MAIL_ORDER,
2284
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2285
- )
2286
- NOT_PRESENT =
2287
- T.let(
2288
- :NOT_PRESENT,
2289
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2290
- )
2291
- PRESENT =
2292
- T.let(
2293
- :PRESENT,
2294
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2295
- )
2296
- REOCCURRING =
2297
- T.let(
2298
- :REOCCURRING,
2299
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2300
- )
2301
- TELEPHONE_ORDER =
2302
- T.let(
2303
- :TELEPHONE_ORDER,
2304
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2305
- )
2306
- UNKNOWN =
2307
- T.let(
2308
- :UNKNOWN,
2309
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2310
- )
2311
-
2312
- sig do
2313
- override.returns(
2314
- T::Array[
2315
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Cardholder::TaggedSymbol
2316
- ]
2317
- )
2318
- end
2319
- def self.values
2320
- end
2321
- end
2322
-
2323
- # Method of entry for the PAN
2324
- module Pan
2325
- extend Lithic::Internal::Type::Enum
2326
-
2327
- TaggedSymbol =
2328
- T.type_alias do
2329
- T.all(
2330
- Symbol,
2331
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan
2332
- )
2333
- end
2334
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2335
-
2336
- AUTO_ENTRY =
2337
- T.let(
2338
- :AUTO_ENTRY,
2339
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2340
- )
2341
- BAR_CODE =
2342
- T.let(
2343
- :BAR_CODE,
2344
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2345
- )
2346
- CONTACTLESS =
2347
- T.let(
2348
- :CONTACTLESS,
2349
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2350
- )
2351
- ECOMMERCE =
2352
- T.let(
2353
- :ECOMMERCE,
2354
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2355
- )
2356
- ERROR_KEYED =
2357
- T.let(
2358
- :ERROR_KEYED,
2359
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2360
- )
2361
- ERROR_MAGNETIC_STRIPE =
2362
- T.let(
2363
- :ERROR_MAGNETIC_STRIPE,
2364
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2365
- )
2366
- ICC =
2367
- T.let(
2368
- :ICC,
2369
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2370
- )
2371
- KEY_ENTERED =
2372
- T.let(
2373
- :KEY_ENTERED,
2374
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2375
- )
2376
- MAGNETIC_STRIPE =
2377
- T.let(
2378
- :MAGNETIC_STRIPE,
2379
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2380
- )
2381
- MANUAL =
2382
- T.let(
2383
- :MANUAL,
2384
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2385
- )
2386
- OCR =
2387
- T.let(
2388
- :OCR,
2389
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2390
- )
2391
- SECURE_CARDLESS =
2392
- T.let(
2393
- :SECURE_CARDLESS,
2394
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2395
- )
2396
- UNSPECIFIED =
2397
- T.let(
2398
- :UNSPECIFIED,
2399
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2400
- )
2401
- UNKNOWN =
2402
- T.let(
2403
- :UNKNOWN,
2404
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2405
- )
2406
- CREDENTIAL_ON_FILE =
2407
- T.let(
2408
- :CREDENTIAL_ON_FILE,
2409
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2410
- )
2411
-
2412
- sig do
2413
- override.returns(
2414
- T::Array[
2415
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::Pan::TaggedSymbol
2416
- ]
2417
- )
2418
- end
2419
- def self.values
2420
- end
2421
- end
2422
- end
2423
-
2424
- class Terminal < Lithic::Internal::Type::BaseModel
2425
- OrHash =
2426
- T.type_alias do
2427
- T.any(
2428
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal,
2429
- Lithic::Internal::AnyHash
2430
- )
2431
- end
2432
-
2433
- # True if a clerk is present at the sale.
2434
- sig { returns(T::Boolean) }
2435
- attr_accessor :attended
2436
-
2437
- # True if the terminal is capable of retaining the card.
2438
- sig { returns(T::Boolean) }
2439
- attr_accessor :card_retention_capable
2440
-
2441
- # True if the sale was made at the place of business (vs. mobile).
2442
- sig { returns(T::Boolean) }
2443
- attr_accessor :on_premise
2444
-
2445
- # The person that is designated to swipe the card
2446
- sig do
2447
- returns(
2448
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2449
- )
2450
- end
2451
- attr_accessor :operator
2452
-
2453
- # True if the terminal is capable of partial approval. Partial approval is when
2454
- # part of a transaction is approved and another payment must be used for the
2455
- # remainder. Example scenario: A $40 transaction is attempted on a prepaid card
2456
- # with a $25 balance. If partial approval is enabled, $25 can be authorized, at
2457
- # which point the POS will prompt the user for an additional payment of $15.
2458
- sig { returns(T::Boolean) }
2459
- attr_accessor :partial_approval_capable
2460
-
2461
- # Status of whether the POS is able to accept PINs
2462
- sig do
2463
- returns(
2464
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2465
- )
2466
- end
2467
- attr_accessor :pin_capability
2468
-
2469
- # POS Type
2470
- sig do
2471
- returns(
2472
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2473
- )
2474
- end
2475
- attr_accessor :type
2476
-
2477
- # Uniquely identifies a terminal at the card acceptor location of acquiring
2478
- # institutions or merchant POS Systems. Left justified with trailing spaces.
2479
- sig { returns(T.nilable(String)) }
2480
- attr_accessor :acceptor_terminal_id
2481
-
2482
- sig do
2483
- params(
2484
- attended: T::Boolean,
2485
- card_retention_capable: T::Boolean,
2486
- on_premise: T::Boolean,
2487
- operator:
2488
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::OrSymbol,
2489
- partial_approval_capable: T::Boolean,
2490
- pin_capability:
2491
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::OrSymbol,
2492
- type:
2493
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::OrSymbol,
2494
- acceptor_terminal_id: T.nilable(String)
2495
- ).returns(T.attached_class)
2496
- end
2497
- def self.new(
2498
- # True if a clerk is present at the sale.
2499
- attended:,
2500
- # True if the terminal is capable of retaining the card.
2501
- card_retention_capable:,
2502
- # True if the sale was made at the place of business (vs. mobile).
2503
- on_premise:,
2504
- # The person that is designated to swipe the card
2505
- operator:,
2506
- # True if the terminal is capable of partial approval. Partial approval is when
2507
- # part of a transaction is approved and another payment must be used for the
2508
- # remainder. Example scenario: A $40 transaction is attempted on a prepaid card
2509
- # with a $25 balance. If partial approval is enabled, $25 can be authorized, at
2510
- # which point the POS will prompt the user for an additional payment of $15.
2511
- partial_approval_capable:,
2512
- # Status of whether the POS is able to accept PINs
2513
- pin_capability:,
2514
- # POS Type
2515
- type:,
2516
- # Uniquely identifies a terminal at the card acceptor location of acquiring
2517
- # institutions or merchant POS Systems. Left justified with trailing spaces.
2518
- acceptor_terminal_id: nil
2519
- )
2520
- end
2521
-
2522
- sig do
2523
- override.returns(
2524
- {
2525
- attended: T::Boolean,
2526
- card_retention_capable: T::Boolean,
2527
- on_premise: T::Boolean,
2528
- operator:
2529
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol,
2530
- partial_approval_capable: T::Boolean,
2531
- pin_capability:
2532
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol,
2533
- type:
2534
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol,
2535
- acceptor_terminal_id: T.nilable(String)
2536
- }
2537
- )
2538
- end
2539
- def to_hash
2540
- end
2541
-
2542
- # The person that is designated to swipe the card
2543
- module Operator
2544
- extend Lithic::Internal::Type::Enum
2545
-
2546
- TaggedSymbol =
2547
- T.type_alias do
2548
- T.all(
2549
- Symbol,
2550
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator
2551
- )
2552
- end
2553
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2554
-
2555
- ADMINISTRATIVE =
2556
- T.let(
2557
- :ADMINISTRATIVE,
2558
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2559
- )
2560
- CARDHOLDER =
2561
- T.let(
2562
- :CARDHOLDER,
2563
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2564
- )
2565
- CARD_ACCEPTOR =
2566
- T.let(
2567
- :CARD_ACCEPTOR,
2568
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2569
- )
2570
- UNKNOWN =
2571
- T.let(
2572
- :UNKNOWN,
2573
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2574
- )
2575
-
2576
- sig do
2577
- override.returns(
2578
- T::Array[
2579
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Operator::TaggedSymbol
2580
- ]
2581
- )
2582
- end
2583
- def self.values
2584
- end
2585
- end
2586
-
2587
- # Status of whether the POS is able to accept PINs
2588
- module PinCapability
2589
- extend Lithic::Internal::Type::Enum
2590
-
2591
- TaggedSymbol =
2592
- T.type_alias do
2593
- T.all(
2594
- Symbol,
2595
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability
2596
- )
2597
- end
2598
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2599
-
2600
- CAPABLE =
2601
- T.let(
2602
- :CAPABLE,
2603
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2604
- )
2605
- INOPERATIVE =
2606
- T.let(
2607
- :INOPERATIVE,
2608
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2609
- )
2610
- NOT_CAPABLE =
2611
- T.let(
2612
- :NOT_CAPABLE,
2613
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2614
- )
2615
- UNSPECIFIED =
2616
- T.let(
2617
- :UNSPECIFIED,
2618
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2619
- )
2620
-
2621
- sig do
2622
- override.returns(
2623
- T::Array[
2624
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::PinCapability::TaggedSymbol
2625
- ]
2626
- )
2627
- end
2628
- def self.values
2629
- end
2630
- end
2631
-
2632
- # POS Type
2633
- module Type
2634
- extend Lithic::Internal::Type::Enum
2635
-
2636
- TaggedSymbol =
2637
- T.type_alias do
2638
- T.all(
2639
- Symbol,
2640
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type
2641
- )
2642
- end
2643
- OrSymbol = T.type_alias { T.any(Symbol, String) }
2644
-
2645
- ADMINISTRATIVE =
2646
- T.let(
2647
- :ADMINISTRATIVE,
2648
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2649
- )
2650
- ATM =
2651
- T.let(
2652
- :ATM,
2653
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2654
- )
2655
- AUTHORIZATION =
2656
- T.let(
2657
- :AUTHORIZATION,
2658
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2659
- )
2660
- COUPON_MACHINE =
2661
- T.let(
2662
- :COUPON_MACHINE,
2663
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2664
- )
2665
- DIAL_TERMINAL =
2666
- T.let(
2667
- :DIAL_TERMINAL,
2668
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2669
- )
2670
- ECOMMERCE =
2671
- T.let(
2672
- :ECOMMERCE,
2673
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2674
- )
2675
- ECR =
2676
- T.let(
2677
- :ECR,
2678
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2679
- )
2680
- FUEL_MACHINE =
2681
- T.let(
2682
- :FUEL_MACHINE,
2683
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2684
- )
2685
- HOME_TERMINAL =
2686
- T.let(
2687
- :HOME_TERMINAL,
2688
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2689
- )
2690
- MICR =
2691
- T.let(
2692
- :MICR,
2693
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2694
- )
2695
- OFF_PREMISE =
2696
- T.let(
2697
- :OFF_PREMISE,
2698
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2699
- )
2700
- PAYMENT =
2701
- T.let(
2702
- :PAYMENT,
2703
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2704
- )
2705
- PDA =
2706
- T.let(
2707
- :PDA,
2708
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2709
- )
2710
- PHONE =
2711
- T.let(
2712
- :PHONE,
2713
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2714
- )
2715
- POINT =
2716
- T.let(
2717
- :POINT,
2718
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2719
- )
2720
- POS_TERMINAL =
2721
- T.let(
2722
- :POS_TERMINAL,
2723
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2724
- )
2725
- PUBLIC_UTILITY =
2726
- T.let(
2727
- :PUBLIC_UTILITY,
2728
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2729
- )
2730
- SELF_SERVICE =
2731
- T.let(
2732
- :SELF_SERVICE,
2733
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2734
- )
2735
- TELEVISION =
2736
- T.let(
2737
- :TELEVISION,
2738
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2739
- )
2740
- TELLER =
2741
- T.let(
2742
- :TELLER,
2743
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2744
- )
2745
- TRAVELERS_CHECK_MACHINE =
2746
- T.let(
2747
- :TRAVELERS_CHECK_MACHINE,
2748
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2749
- )
2750
- VENDING =
2751
- T.let(
2752
- :VENDING,
2753
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2754
- )
2755
- VOICE =
2756
- T.let(
2757
- :VOICE,
2758
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2759
- )
2760
- UNKNOWN =
2761
- T.let(
2762
- :UNKNOWN,
2763
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2764
- )
2765
-
2766
- sig do
2767
- override.returns(
2768
- T::Array[
2769
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::Type::TaggedSymbol
2770
- ]
2771
- )
2772
- end
2773
- def self.values
2774
- end
2775
- end
2776
- end
2777
- end
2778
25
  end
2779
26
  end
2780
27
  end