lithic 0.1.0.pre.alpha.55 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +12 -0
  5. data/lib/lithic/models/account_activity_list_params.rb +2 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +62 -148
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
  8. data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
  9. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
  10. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
  11. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
  13. data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
  14. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
  15. data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
  16. data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
  17. data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
  18. data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
  19. data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
  20. data/lib/lithic/models/book_transfer_response.rb +1 -0
  21. data/lib/lithic/models/card_bulk_order.rb +106 -0
  22. data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
  23. data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
  24. data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
  25. data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
  26. data/lib/lithic/models/card_convert_physical_params.rb +3 -0
  27. data/lib/lithic/models/card_create_params.rb +14 -1
  28. data/lib/lithic/models/card_program.rb +10 -10
  29. data/lib/lithic/models/card_reissue_params.rb +3 -0
  30. data/lib/lithic/models/card_renew_params.rb +3 -0
  31. data/lib/lithic/models/card_web_provision_params.rb +32 -1
  32. data/lib/lithic/models/card_web_provision_response.rb +98 -60
  33. data/lib/lithic/models/cardholder_authentication.rb +132 -0
  34. data/lib/lithic/models/category_details.rb +27 -0
  35. data/lib/lithic/models/device.rb +37 -0
  36. data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
  37. data/lib/lithic/models/dispute.rb +242 -510
  38. data/lib/lithic/models/dispute_v2.rb +555 -0
  39. data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
  40. data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
  41. data/lib/lithic/models/{external_bank_account_retry_prenote_response.rb → external_bank_account.rb} +32 -33
  42. data/lib/lithic/models/external_bank_account_address.rb +2 -2
  43. data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
  44. data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
  45. data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
  46. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
  47. data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
  48. data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
  49. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
  50. data/lib/lithic/models/external_payment.rb +15 -2
  51. data/lib/lithic/models/external_payment_create_params.rb +2 -0
  52. data/lib/lithic/models/external_payment_list_params.rb +3 -0
  53. data/lib/lithic/models/financial_account.rb +4 -3
  54. data/lib/lithic/models/financial_account_balance.rb +112 -0
  55. data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
  56. data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
  57. data/lib/lithic/models/financial_accounts/statement.rb +73 -275
  58. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
  59. data/lib/lithic/models/financial_event.rb +164 -0
  60. data/lib/lithic/models/financial_transaction.rb +3 -146
  61. data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
  62. data/lib/lithic/models/internal_transaction.rb +166 -0
  63. data/lib/lithic/models/management_operation_create_params.rb +6 -0
  64. data/lib/lithic/models/management_operation_list_params.rb +1 -0
  65. data/lib/lithic/models/management_operation_transaction.rb +11 -4
  66. data/lib/lithic/models/merchant.rb +70 -0
  67. data/lib/lithic/models/network_total.rb +169 -0
  68. data/lib/lithic/models/non_pci_card.rb +10 -1
  69. data/lib/lithic/models/payment.rb +18 -6
  70. data/lib/lithic/models/payment_create_params.rb +10 -1
  71. data/lib/lithic/models/payment_return_params.rb +62 -0
  72. data/lib/lithic/models/statement_totals.rb +100 -0
  73. data/lib/lithic/models/three_ds_authentication.rb +1259 -0
  74. data/lib/lithic/models/token_info.rb +42 -0
  75. data/lib/lithic/models/tokenization.rb +9 -111
  76. data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
  77. data/lib/lithic/models/tokenization_rule_result.rb +61 -0
  78. data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
  79. data/lib/lithic/models/transaction.rb +9 -243
  80. data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
  81. data/lib/lithic/models/transfer.rb +3 -146
  82. data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
  83. data/lib/lithic/models.rb +56 -0
  84. data/lib/lithic/resources/auth_rules/v2.rb +19 -17
  85. data/lib/lithic/resources/card_bulk_orders.rb +127 -0
  86. data/lib/lithic/resources/cards/balances.rb +2 -2
  87. data/lib/lithic/resources/cards.rb +14 -3
  88. data/lib/lithic/resources/disputes.rb +10 -10
  89. data/lib/lithic/resources/disputes_v2.rb +74 -0
  90. data/lib/lithic/resources/external_bank_accounts.rb +21 -2
  91. data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
  92. data/lib/lithic/resources/funding_events.rb +4 -4
  93. data/lib/lithic/resources/internal_transaction.rb +14 -0
  94. data/lib/lithic/resources/payments.rb +48 -0
  95. data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
  96. data/lib/lithic/resources/three_ds/authentication.rb +2 -2
  97. data/lib/lithic/resources/tokenizations.rb +4 -4
  98. data/lib/lithic/version.rb +1 -1
  99. data/lib/lithic.rb +38 -21
  100. data/manifest.yaml +1 -0
  101. data/rbi/lithic/client.rbi +9 -0
  102. data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
  103. data/rbi/lithic/models/account_activity_list_response.rbi +131 -544
  104. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
  105. data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
  106. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
  107. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
  108. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
  109. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
  110. data/rbi/lithic/models/auth_rules/conditional_operation.rbi +99 -0
  111. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
  112. data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
  113. data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
  114. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
  115. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
  116. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
  117. data/rbi/lithic/models/book_transfer_response.rbi +2 -0
  118. data/rbi/lithic/models/card_bulk_order.rbi +141 -0
  119. data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
  120. data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
  121. data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
  122. data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
  123. data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
  124. data/rbi/lithic/models/card_create_params.rbi +23 -0
  125. data/rbi/lithic/models/card_program.rbi +10 -13
  126. data/rbi/lithic/models/card_reissue_params.rbi +8 -0
  127. data/rbi/lithic/models/card_renew_params.rbi +8 -0
  128. data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
  129. data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
  130. data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
  131. data/rbi/lithic/models/category_details.rbi +43 -0
  132. data/rbi/lithic/models/device.rbi +54 -0
  133. data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
  134. data/rbi/lithic/models/dispute.rbi +395 -942
  135. data/rbi/lithic/models/dispute_v2.rbi +965 -0
  136. data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
  137. data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
  138. data/rbi/lithic/models/{external_bank_account_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
  139. data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
  140. data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
  141. data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
  142. data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
  143. data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
  144. data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
  145. data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
  146. data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
  147. data/rbi/lithic/models/external_payment.rbi +62 -6
  148. data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
  149. data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
  150. data/rbi/lithic/models/financial_account.rbi +12 -4
  151. data/rbi/lithic/models/financial_account_balance.rbi +144 -0
  152. data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
  153. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
  154. data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
  155. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
  156. data/rbi/lithic/models/financial_event.rbi +469 -0
  157. data/rbi/lithic/models/financial_transaction.rbi +3 -509
  158. data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
  159. data/rbi/lithic/models/internal_transaction.rbi +277 -0
  160. data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
  161. data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
  162. data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
  163. data/rbi/lithic/models/merchant.rbi +89 -0
  164. data/rbi/lithic/models/network_total.rbi +226 -0
  165. data/rbi/lithic/models/non_pci_card.rbi +10 -0
  166. data/rbi/lithic/models/payment.rbi +28 -7
  167. data/rbi/lithic/models/payment_create_params.rbi +15 -1
  168. data/rbi/lithic/models/payment_return_params.rbi +85 -0
  169. data/rbi/lithic/models/statement_totals.rbi +128 -0
  170. data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
  171. data/rbi/lithic/models/token_info.rbi +70 -0
  172. data/rbi/lithic/models/tokenization.rbi +12 -335
  173. data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
  174. data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
  175. data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
  176. data/rbi/lithic/models/transaction.rbi +12 -500
  177. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
  178. data/rbi/lithic/models/transfer.rbi +4 -436
  179. data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
  180. data/rbi/lithic/models.rbi +57 -0
  181. data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
  182. data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
  183. data/rbi/lithic/resources/cards/balances.rbi +1 -3
  184. data/rbi/lithic/resources/cards.rbi +22 -1
  185. data/rbi/lithic/resources/disputes.rbi +5 -7
  186. data/rbi/lithic/resources/disputes_v2.rbi +64 -0
  187. data/rbi/lithic/resources/external_bank_accounts.rbi +11 -1
  188. data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
  189. data/rbi/lithic/resources/funding_events.rbi +2 -4
  190. data/rbi/lithic/resources/internal_transaction.rbi +12 -0
  191. data/rbi/lithic/resources/payments.rbi +46 -0
  192. data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
  193. data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
  194. data/rbi/lithic/resources/tokenizations.rbi +2 -2
  195. data/sig/lithic/client.rbs +6 -0
  196. data/sig/lithic/models/account_activity_list_params.rbs +4 -0
  197. data/sig/lithic/models/account_activity_list_response.rbs +71 -221
  198. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
  199. data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
  200. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
  201. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
  202. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
  203. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
  204. data/sig/lithic/models/auth_rules/conditional_operation.rbs +44 -0
  205. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
  206. data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
  207. data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
  208. data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
  209. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
  210. data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
  211. data/sig/lithic/models/book_transfer_response.rbs +3 -1
  212. data/sig/lithic/models/card_bulk_order.rbs +76 -0
  213. data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
  214. data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
  215. data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
  216. data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
  217. data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
  218. data/sig/lithic/models/card_create_params.rbs +9 -0
  219. data/sig/lithic/models/card_program.rbs +5 -7
  220. data/sig/lithic/models/card_reissue_params.rbs +2 -0
  221. data/sig/lithic/models/card_renew_params.rbs +2 -0
  222. data/sig/lithic/models/card_web_provision_params.rbs +26 -2
  223. data/sig/lithic/models/card_web_provision_response.rbs +81 -51
  224. data/sig/lithic/models/cardholder_authentication.rbs +98 -0
  225. data/sig/lithic/models/category_details.rbs +26 -0
  226. data/sig/lithic/models/device.rbs +21 -0
  227. data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
  228. data/sig/lithic/models/dispute.rbs +157 -417
  229. data/sig/lithic/models/dispute_v2.rbs +438 -0
  230. data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
  231. data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
  232. data/sig/lithic/models/external_bank_account.rbs +162 -0
  233. data/sig/lithic/models/external_bank_account_address.rbs +4 -6
  234. data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
  235. data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
  236. data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
  237. data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
  238. data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
  239. data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
  240. data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
  241. data/sig/lithic/models/external_payment.rbs +35 -8
  242. data/sig/lithic/models/external_payment_create_params.rbs +8 -1
  243. data/sig/lithic/models/external_payment_list_params.rbs +11 -2
  244. data/sig/lithic/models/financial_account.rbs +4 -4
  245. data/sig/lithic/models/financial_account_balance.rbs +78 -0
  246. data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
  247. data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
  248. data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
  249. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
  250. data/sig/lithic/models/financial_event.rbs +248 -0
  251. data/sig/lithic/models/financial_transaction.rbs +4 -217
  252. data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
  253. data/sig/lithic/models/internal_transaction.rbs +165 -0
  254. data/sig/lithic/models/management_operation_create_params.rbs +12 -0
  255. data/sig/lithic/models/management_operation_list_params.rbs +3 -1
  256. data/sig/lithic/models/management_operation_transaction.rbs +23 -13
  257. data/sig/lithic/models/merchant.rbs +50 -0
  258. data/sig/lithic/models/network_total.rbs +125 -0
  259. data/sig/lithic/models/non_pci_card.rbs +5 -0
  260. data/sig/lithic/models/payment.rbs +18 -5
  261. data/sig/lithic/models/payment_create_params.rbs +7 -0
  262. data/sig/lithic/models/payment_return_params.rbs +46 -0
  263. data/sig/lithic/models/statement_totals.rbs +76 -0
  264. data/sig/lithic/models/three_ds_authentication.rbs +911 -0
  265. data/sig/lithic/models/token_info.rbs +36 -0
  266. data/sig/lithic/models/tokenization.rbs +18 -137
  267. data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
  268. data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
  269. data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
  270. data/sig/lithic/models/transaction.rbs +12 -191
  271. data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
  272. data/sig/lithic/models/transfer.rbs +6 -219
  273. data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
  274. data/sig/lithic/models.rbs +56 -0
  275. data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
  276. data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
  277. data/sig/lithic/resources/cards/balances.rbs +1 -1
  278. data/sig/lithic/resources/cards.rbs +5 -1
  279. data/sig/lithic/resources/disputes.rbs +5 -5
  280. data/sig/lithic/resources/disputes_v2.rbs +24 -0
  281. data/sig/lithic/resources/external_bank_accounts.rbs +6 -1
  282. data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
  283. data/sig/lithic/resources/funding_events.rbs +2 -2
  284. data/sig/lithic/resources/internal_transaction.rbs +7 -0
  285. data/sig/lithic/resources/payments.rbs +10 -0
  286. data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
  287. data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
  288. data/sig/lithic/resources/tokenizations.rbs +2 -2
  289. metadata +115 -67
  290. data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
  291. data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
  292. data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
  293. data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
  294. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
  295. data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
  296. data/lib/lithic/models/cards/balance_list_response.rb +0 -115
  297. data/lib/lithic/models/dispute_create_response.rb +0 -326
  298. data/lib/lithic/models/dispute_delete_response.rb +0 -326
  299. data/lib/lithic/models/dispute_list_response.rb +0 -326
  300. data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
  301. data/lib/lithic/models/dispute_update_response.rb +0 -326
  302. data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
  303. data/lib/lithic/models/funding_event_list_response.rb +0 -108
  304. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
  305. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
  306. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
  307. data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
  308. data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
  309. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -496
  310. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
  311. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
  312. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
  313. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
  314. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
  315. data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
  316. data/rbi/lithic/models/dispute_create_response.rbi +0 -599
  317. data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
  318. data/rbi/lithic/models/dispute_list_response.rbi +0 -582
  319. data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
  320. data/rbi/lithic/models/dispute_update_response.rbi +0 -599
  321. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
  322. data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
  323. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
  324. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
  325. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
  326. data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
  327. data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
  328. data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -193
  329. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
  330. data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
  331. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
  332. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
  333. data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
  334. data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
  335. data/sig/lithic/models/dispute_create_response.rbs +0 -210
  336. data/sig/lithic/models/dispute_delete_response.rbs +0 -210
  337. data/sig/lithic/models/dispute_list_response.rbs +0 -210
  338. data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
  339. data/sig/lithic/models/dispute_update_response.rbs +0 -210
  340. data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
  341. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
  342. data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
  343. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
  344. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
  345. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
  346. data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
  347. data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class TokenInfo < Lithic::Internal::Type::BaseModel
6
+ # @!attribute wallet_type
7
+ # The wallet_type field will indicate the source of the token. Possible token
8
+ # sources include digital wallets (Apple, Google, or Samsung Pay), merchant
9
+ # tokenization, and “other” sources like in-flight commerce. Masterpass is not
10
+ # currently supported and is included for future use.
11
+ #
12
+ # @return [Symbol, Lithic::Models::TokenInfo::WalletType]
13
+ required :wallet_type, enum: -> { Lithic::TokenInfo::WalletType }
14
+
15
+ # @!method initialize(wallet_type:)
16
+ # Some parameter documentations has been truncated, see
17
+ # {Lithic::Models::TokenInfo} for more details.
18
+ #
19
+ # @param wallet_type [Symbol, Lithic::Models::TokenInfo::WalletType] The wallet_type field will indicate the source of the token. Possible token sour
20
+
21
+ # The wallet_type field will indicate the source of the token. Possible token
22
+ # sources include digital wallets (Apple, Google, or Samsung Pay), merchant
23
+ # tokenization, and “other” sources like in-flight commerce. Masterpass is not
24
+ # currently supported and is included for future use.
25
+ #
26
+ # @see Lithic::Models::TokenInfo#wallet_type
27
+ module WalletType
28
+ extend Lithic::Internal::Type::Enum
29
+
30
+ APPLE_PAY = :APPLE_PAY
31
+ GOOGLE_PAY = :GOOGLE_PAY
32
+ MASTERPASS = :MASTERPASS
33
+ MERCHANT = :MERCHANT
34
+ OTHER = :OTHER
35
+ SAMSUNG_PAY = :SAMSUNG_PAY
36
+
37
+ # @!method self.values
38
+ # @return [Array<Symbol>]
39
+ end
40
+ end
41
+ end
42
+ end
@@ -238,22 +238,22 @@ module Lithic
238
238
  # @!attribute rule_results
239
239
  # Results from rules that were evaluated for this tokenization
240
240
  #
241
- # @return [Array<Lithic::Models::Tokenization::Event::RuleResult>, nil]
242
- optional :rule_results, -> { Lithic::Internal::Type::ArrayOf[Lithic::Tokenization::Event::RuleResult] }
241
+ # @return [Array<Lithic::Models::TokenizationRuleResult>, nil]
242
+ optional :rule_results, -> { Lithic::Internal::Type::ArrayOf[Lithic::TokenizationRuleResult] }
243
243
 
244
244
  # @!attribute tokenization_decline_reasons
245
245
  # List of reasons why the tokenization was declined
246
246
  #
247
- # @return [Array<Symbol, Lithic::Models::Tokenization::Event::TokenizationDeclineReason>, nil]
247
+ # @return [Array<Symbol, Lithic::Models::TokenizationDeclineReason>, nil]
248
248
  optional :tokenization_decline_reasons,
249
- -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Tokenization::Event::TokenizationDeclineReason] }
249
+ -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationDeclineReason] }
250
250
 
251
251
  # @!attribute tokenization_tfa_reasons
252
252
  # List of reasons why two-factor authentication was required
253
253
  #
254
- # @return [Array<Symbol, Lithic::Models::Tokenization::Event::TokenizationTfaReason>, nil]
254
+ # @return [Array<Symbol, Lithic::Models::TokenizationTfaReason>, nil]
255
255
  optional :tokenization_tfa_reasons,
256
- -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Tokenization::Event::TokenizationTfaReason] }
256
+ -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationTfaReason] }
257
257
 
258
258
  # @!attribute type
259
259
  # Enum representing the type of tokenization event that occurred
@@ -268,11 +268,11 @@ module Lithic
268
268
  #
269
269
  # @param result [Symbol, Lithic::Models::Tokenization::Event::Result] Enum representing the result of the tokenization event
270
270
  #
271
- # @param rule_results [Array<Lithic::Models::Tokenization::Event::RuleResult>] Results from rules that were evaluated for this tokenization
271
+ # @param rule_results [Array<Lithic::Models::TokenizationRuleResult>] Results from rules that were evaluated for this tokenization
272
272
  #
273
- # @param tokenization_decline_reasons [Array<Symbol, Lithic::Models::Tokenization::Event::TokenizationDeclineReason>] List of reasons why the tokenization was declined
273
+ # @param tokenization_decline_reasons [Array<Symbol, Lithic::Models::TokenizationDeclineReason>] List of reasons why the tokenization was declined
274
274
  #
275
- # @param tokenization_tfa_reasons [Array<Symbol, Lithic::Models::Tokenization::Event::TokenizationTfaReason>] List of reasons why two-factor authentication was required
275
+ # @param tokenization_tfa_reasons [Array<Symbol, Lithic::Models::TokenizationTfaReason>] List of reasons why two-factor authentication was required
276
276
  #
277
277
  # @param type [Symbol, Lithic::Models::Tokenization::Event::Type] Enum representing the type of tokenization event that occurred
278
278
 
@@ -299,108 +299,6 @@ module Lithic
299
299
  # @return [Array<Symbol>]
300
300
  end
301
301
 
302
- class RuleResult < Lithic::Internal::Type::BaseModel
303
- # @!attribute auth_rule_token
304
- # The Auth Rule Token associated with the rule. If this is set to null, then the
305
- # result was not associated with a customer-configured rule. This may happen in
306
- # cases where a tokenization is declined or requires TFA due to a
307
- # Lithic-configured security or compliance rule, for example.
308
- #
309
- # @return [String, nil]
310
- required :auth_rule_token, String, nil?: true
311
-
312
- # @!attribute explanation
313
- # A human-readable explanation outlining the motivation for the rule's result
314
- #
315
- # @return [String, nil]
316
- required :explanation, String, nil?: true
317
-
318
- # @!attribute name
319
- # The name for the rule, if any was configured
320
- #
321
- # @return [String, nil]
322
- required :name, String, nil?: true
323
-
324
- # @!attribute result
325
- # The result associated with this rule
326
- #
327
- # @return [Symbol, Lithic::Models::Tokenization::Event::RuleResult::Result]
328
- required :result, enum: -> { Lithic::Tokenization::Event::RuleResult::Result }
329
-
330
- # @!method initialize(auth_rule_token:, explanation:, name:, result:)
331
- # Some parameter documentations has been truncated, see
332
- # {Lithic::Models::Tokenization::Event::RuleResult} for more details.
333
- #
334
- # @param auth_rule_token [String, nil] The Auth Rule Token associated with the rule. If this is set to null, then the r
335
- #
336
- # @param explanation [String, nil] A human-readable explanation outlining the motivation for the rule's result
337
- #
338
- # @param name [String, nil] The name for the rule, if any was configured
339
- #
340
- # @param result [Symbol, Lithic::Models::Tokenization::Event::RuleResult::Result] The result associated with this rule
341
-
342
- # The result associated with this rule
343
- #
344
- # @see Lithic::Models::Tokenization::Event::RuleResult#result
345
- module Result
346
- extend Lithic::Internal::Type::Enum
347
-
348
- APPROVED = :APPROVED
349
- DECLINED = :DECLINED
350
- REQUIRE_TFA = :REQUIRE_TFA
351
- ERROR = :ERROR
352
-
353
- # @!method self.values
354
- # @return [Array<Symbol>]
355
- end
356
- end
357
-
358
- # Reason code for why a tokenization was declined
359
- module TokenizationDeclineReason
360
- extend Lithic::Internal::Type::Enum
361
-
362
- ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
363
- DEVICE_SCORE_1 = :DEVICE_SCORE_1
364
- ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
365
- WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
366
- CVC_MISMATCH = :CVC_MISMATCH
367
- CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
368
- CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
369
- CARD_INVALID_STATE = :CARD_INVALID_STATE
370
- CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
371
- INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
372
- NETWORK_FAILURE = :NETWORK_FAILURE
373
- GENERIC_DECLINE = :GENERIC_DECLINE
374
- DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
375
-
376
- # @!method self.values
377
- # @return [Array<Symbol>]
378
- end
379
-
380
- # Reason code for why a tokenization required two-factor authentication
381
- module TokenizationTfaReason
382
- extend Lithic::Internal::Type::Enum
383
-
384
- WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
385
- SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
386
- DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
387
- TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
388
- TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
389
- TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
390
- OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
391
- HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
392
- HIGH_RISK = :HIGH_RISK
393
- ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
394
- DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
395
- CARD_STATE_TFA = :CARD_STATE_TFA
396
- HARDCODED_TFA = :HARDCODED_TFA
397
- CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
398
- DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
399
-
400
- # @!method self.values
401
- # @return [Array<Symbol>]
402
- end
403
-
404
302
  # Enum representing the type of tokenization event that occurred
405
303
  #
406
304
  # @see Lithic::Models::Tokenization::Event#type
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # Reason code for why a tokenization was declined
6
+ module TokenizationDeclineReason
7
+ extend Lithic::Internal::Type::Enum
8
+
9
+ ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
10
+ DEVICE_SCORE_1 = :DEVICE_SCORE_1
11
+ ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
12
+ WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
13
+ CVC_MISMATCH = :CVC_MISMATCH
14
+ CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
15
+ CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
16
+ CARD_INVALID_STATE = :CARD_INVALID_STATE
17
+ CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
18
+ INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
19
+ NETWORK_FAILURE = :NETWORK_FAILURE
20
+ GENERIC_DECLINE = :GENERIC_DECLINE
21
+ DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
22
+
23
+ # @!method self.values
24
+ # @return [Array<Symbol>]
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class TokenizationRuleResult < Lithic::Internal::Type::BaseModel
6
+ # @!attribute auth_rule_token
7
+ # The Auth Rule Token associated with the rule. If this is set to null, then the
8
+ # result was not associated with a customer-configured rule. This may happen in
9
+ # cases where a tokenization is declined or requires TFA due to a
10
+ # Lithic-configured security or compliance rule, for example.
11
+ #
12
+ # @return [String, nil]
13
+ required :auth_rule_token, String, nil?: true
14
+
15
+ # @!attribute explanation
16
+ # A human-readable explanation outlining the motivation for the rule's result
17
+ #
18
+ # @return [String, nil]
19
+ required :explanation, String, nil?: true
20
+
21
+ # @!attribute name
22
+ # The name for the rule, if any was configured
23
+ #
24
+ # @return [String, nil]
25
+ required :name, String, nil?: true
26
+
27
+ # @!attribute result
28
+ # The result associated with this rule
29
+ #
30
+ # @return [Symbol, Lithic::Models::TokenizationRuleResult::Result]
31
+ required :result, enum: -> { Lithic::TokenizationRuleResult::Result }
32
+
33
+ # @!method initialize(auth_rule_token:, explanation:, name:, result:)
34
+ # Some parameter documentations has been truncated, see
35
+ # {Lithic::Models::TokenizationRuleResult} for more details.
36
+ #
37
+ # @param auth_rule_token [String, nil] The Auth Rule Token associated with the rule. If this is set to null, then the r
38
+ #
39
+ # @param explanation [String, nil] A human-readable explanation outlining the motivation for the rule's result
40
+ #
41
+ # @param name [String, nil] The name for the rule, if any was configured
42
+ #
43
+ # @param result [Symbol, Lithic::Models::TokenizationRuleResult::Result] The result associated with this rule
44
+
45
+ # The result associated with this rule
46
+ #
47
+ # @see Lithic::Models::TokenizationRuleResult#result
48
+ module Result
49
+ extend Lithic::Internal::Type::Enum
50
+
51
+ APPROVED = :APPROVED
52
+ DECLINED = :DECLINED
53
+ REQUIRE_TFA = :REQUIRE_TFA
54
+ ERROR = :ERROR
55
+
56
+ # @!method self.values
57
+ # @return [Array<Symbol>]
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # Reason code for why a tokenization required two-factor authentication
6
+ module TokenizationTfaReason
7
+ extend Lithic::Internal::Type::Enum
8
+
9
+ WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
10
+ SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
11
+ DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
12
+ TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
13
+ TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
14
+ TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
15
+ OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
16
+ HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
17
+ HIGH_RISK = :HIGH_RISK
18
+ ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
19
+ DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
20
+ CARD_STATE_TFA = :CARD_STATE_TFA
21
+ HARDCODED_TFA = :HARDCODED_TFA
22
+ CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
23
+ DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
24
+
25
+ # @!method self.values
26
+ # @return [Array<Symbol>]
27
+ end
28
+ end
29
+ end
@@ -78,8 +78,8 @@ module Lithic
78
78
 
79
79
  # @!attribute cardholder_authentication
80
80
  #
81
- # @return [Lithic::Models::Transaction::CardholderAuthentication, nil]
82
- required :cardholder_authentication, -> { Lithic::Transaction::CardholderAuthentication }, nil?: true
81
+ # @return [Lithic::Models::CardholderAuthentication, nil]
82
+ required :cardholder_authentication, -> { Lithic::CardholderAuthentication }, nil?: true
83
83
 
84
84
  # @!attribute created
85
85
  # Date and time when the transaction first occurred. UTC time zone.
@@ -94,8 +94,8 @@ module Lithic
94
94
 
95
95
  # @!attribute merchant
96
96
  #
97
- # @return [Lithic::Models::Transaction::Merchant]
98
- required :merchant, -> { Lithic::Transaction::Merchant }
97
+ # @return [Lithic::Models::Merchant]
98
+ required :merchant, -> { Lithic::Merchant }
99
99
 
100
100
  # @!attribute merchant_amount
101
101
  # @deprecated
@@ -164,8 +164,8 @@ module Lithic
164
164
 
165
165
  # @!attribute token_info
166
166
  #
167
- # @return [Lithic::Models::Transaction::TokenInfo, nil]
168
- required :token_info, -> { Lithic::Transaction::TokenInfo }, nil?: true
167
+ # @return [Lithic::Models::TokenInfo, nil]
168
+ required :token_info, -> { Lithic::TokenInfo }, nil?: true
169
169
 
170
170
  # @!attribute updated
171
171
  # Date and time when the transaction last updated. UTC time zone.
@@ -202,13 +202,13 @@ module Lithic
202
202
  #
203
203
  # @param card_token [String] Token for the card used in this transaction.
204
204
  #
205
- # @param cardholder_authentication [Lithic::Models::Transaction::CardholderAuthentication, nil]
205
+ # @param cardholder_authentication [Lithic::Models::CardholderAuthentication, nil]
206
206
  #
207
207
  # @param created [Time] Date and time when the transaction first occurred. UTC time zone.
208
208
  #
209
209
  # @param financial_account_token [String, nil]
210
210
  #
211
- # @param merchant [Lithic::Models::Transaction::Merchant]
211
+ # @param merchant [Lithic::Models::Merchant]
212
212
  #
213
213
  # @param merchant_amount [Integer, nil] Analogous to the 'amount', but in the merchant currency.
214
214
  #
@@ -228,7 +228,7 @@ module Lithic
228
228
  #
229
229
  # @param status [Symbol, Lithic::Models::Transaction::Status] Status of the transaction.
230
230
  #
231
- # @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
231
+ # @param token_info [Lithic::Models::TokenInfo, nil]
232
232
  #
233
233
  # @param updated [Time] Date and time when the transaction last updated. UTC time zone.
234
234
  #
@@ -376,202 +376,6 @@ module Lithic
376
376
  # @param zipcode [String] Cardholder ZIP code
377
377
  end
378
378
 
379
- # @see Lithic::Models::Transaction#cardholder_authentication
380
- class CardholderAuthentication < Lithic::Internal::Type::BaseModel
381
- # @!attribute authentication_method
382
- # Indicates the method used to authenticate the cardholder.
383
- #
384
- # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationMethod]
385
- required :authentication_method,
386
- enum: -> { Lithic::Transaction::CardholderAuthentication::AuthenticationMethod }
387
-
388
- # @!attribute authentication_result
389
- # Indicates the outcome of the 3DS authentication process.
390
- #
391
- # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
392
- required :authentication_result,
393
- enum: -> { Lithic::Transaction::CardholderAuthentication::AuthenticationResult }
394
-
395
- # @!attribute decision_made_by
396
- # Indicates which party made the 3DS authentication decision.
397
- #
398
- # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy]
399
- required :decision_made_by, enum: -> { Lithic::Transaction::CardholderAuthentication::DecisionMadeBy }
400
-
401
- # @!attribute liability_shift
402
- # Indicates whether chargeback liability shift applies to the transaction.
403
- # Possible enum values:
404
- #
405
- # - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
406
- # Secure flow, chargeback liability shift applies.
407
- # - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
408
- # merchant is liable.
409
- # - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
410
- # cryptography, possibly recurring. Chargeback liability shift to the issuer
411
- # applies.
412
- #
413
- # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
414
- required :liability_shift, enum: -> { Lithic::Transaction::CardholderAuthentication::LiabilityShift }
415
-
416
- # @!attribute three_ds_authentication_token
417
- # Unique identifier you can use to match a given 3DS authentication (available via
418
- # the three_ds_authentication.created event webhook) and the transaction. Note
419
- # that in cases where liability shift does not occur, this token is matched to the
420
- # transaction on a best-effort basis.
421
- #
422
- # @return [String, nil]
423
- required :three_ds_authentication_token, String, nil?: true
424
-
425
- # @!method initialize(authentication_method:, authentication_result:, decision_made_by:, liability_shift:, three_ds_authentication_token:)
426
- # Some parameter documentations has been truncated, see
427
- # {Lithic::Models::Transaction::CardholderAuthentication} for more details.
428
- #
429
- # @param authentication_method [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationMethod] Indicates the method used to authenticate the cardholder.
430
- #
431
- # @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult] Indicates the outcome of the 3DS authentication process.
432
- #
433
- # @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy] Indicates which party made the 3DS authentication decision.
434
- #
435
- # @param liability_shift [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift] Indicates whether chargeback liability shift applies to the transaction. Possibl
436
- #
437
- # @param three_ds_authentication_token [String, nil] Unique identifier you can use to match a given 3DS authentication (available via
438
-
439
- # Indicates the method used to authenticate the cardholder.
440
- #
441
- # @see Lithic::Models::Transaction::CardholderAuthentication#authentication_method
442
- module AuthenticationMethod
443
- extend Lithic::Internal::Type::Enum
444
-
445
- FRICTIONLESS = :FRICTIONLESS
446
- CHALLENGE = :CHALLENGE
447
- NONE = :NONE
448
-
449
- # @!method self.values
450
- # @return [Array<Symbol>]
451
- end
452
-
453
- # Indicates the outcome of the 3DS authentication process.
454
- #
455
- # @see Lithic::Models::Transaction::CardholderAuthentication#authentication_result
456
- module AuthenticationResult
457
- extend Lithic::Internal::Type::Enum
458
-
459
- ATTEMPTS = :ATTEMPTS
460
- DECLINE = :DECLINE
461
- NONE = :NONE
462
- SUCCESS = :SUCCESS
463
-
464
- # @!method self.values
465
- # @return [Array<Symbol>]
466
- end
467
-
468
- # Indicates which party made the 3DS authentication decision.
469
- #
470
- # @see Lithic::Models::Transaction::CardholderAuthentication#decision_made_by
471
- module DecisionMadeBy
472
- extend Lithic::Internal::Type::Enum
473
-
474
- CUSTOMER_RULES = :CUSTOMER_RULES
475
- CUSTOMER_ENDPOINT = :CUSTOMER_ENDPOINT
476
- LITHIC_DEFAULT = :LITHIC_DEFAULT
477
- LITHIC_RULES = :LITHIC_RULES
478
- NETWORK = :NETWORK
479
- UNKNOWN = :UNKNOWN
480
-
481
- # @!method self.values
482
- # @return [Array<Symbol>]
483
- end
484
-
485
- # Indicates whether chargeback liability shift applies to the transaction.
486
- # Possible enum values:
487
- #
488
- # - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
489
- # Secure flow, chargeback liability shift applies.
490
- # - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
491
- # merchant is liable.
492
- # - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
493
- # cryptography, possibly recurring. Chargeback liability shift to the issuer
494
- # applies.
495
- #
496
- # @see Lithic::Models::Transaction::CardholderAuthentication#liability_shift
497
- module LiabilityShift
498
- extend Lithic::Internal::Type::Enum
499
-
500
- LIABILITY_SHIFT_3DS_AUTHENTICATED = :"3DS_AUTHENTICATED"
501
- TOKEN_AUTHENTICATED = :TOKEN_AUTHENTICATED
502
- NONE = :NONE
503
-
504
- # @!method self.values
505
- # @return [Array<Symbol>]
506
- end
507
- end
508
-
509
- # @see Lithic::Models::Transaction#merchant
510
- class Merchant < Lithic::Internal::Type::BaseModel
511
- # @!attribute acceptor_id
512
- # Unique alphanumeric identifier for the payment card acceptor (merchant).
513
- #
514
- # @return [String]
515
- required :acceptor_id, String
516
-
517
- # @!attribute acquiring_institution_id
518
- # Unique numeric identifier of the acquiring institution.
519
- #
520
- # @return [String]
521
- required :acquiring_institution_id, String
522
-
523
- # @!attribute city
524
- # City of card acceptor. Note that in many cases, particularly in card-not-present
525
- # transactions, merchants may send through a phone number or URL in this field.
526
- #
527
- # @return [String]
528
- required :city, String
529
-
530
- # @!attribute country
531
- # Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1
532
- # alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
533
- #
534
- # @return [String]
535
- required :country, String
536
-
537
- # @!attribute descriptor
538
- # Short description of card acceptor.
539
- #
540
- # @return [String]
541
- required :descriptor, String
542
-
543
- # @!attribute mcc
544
- # Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
545
- # used to classify a business by the types of goods or services it provides.
546
- #
547
- # @return [String]
548
- required :mcc, String
549
-
550
- # @!attribute state
551
- # Geographic state of card acceptor.
552
- #
553
- # @return [String]
554
- required :state, String
555
-
556
- # @!method initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:)
557
- # Some parameter documentations has been truncated, see
558
- # {Lithic::Models::Transaction::Merchant} for more details.
559
- #
560
- # @param acceptor_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant).
561
- #
562
- # @param acquiring_institution_id [String] Unique numeric identifier of the acquiring institution.
563
- #
564
- # @param city [String] City of card acceptor. Note that in many cases, particularly in card-not-present
565
- #
566
- # @param country [String] Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1 alph
567
- #
568
- # @param descriptor [String] Short description of card acceptor.
569
- #
570
- # @param mcc [String] Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
571
- #
572
- # @param state [String] Geographic state of card acceptor.
573
- end
574
-
575
379
  # Card network of the authorization. Value is `UNKNOWN` when Lithic cannot
576
380
  # determine the network code from the upstream provider.
577
381
  #
@@ -896,44 +700,6 @@ module Lithic
896
700
  # @return [Array<Symbol>]
897
701
  end
898
702
 
899
- # @see Lithic::Models::Transaction#token_info
900
- class TokenInfo < Lithic::Internal::Type::BaseModel
901
- # @!attribute wallet_type
902
- # The wallet_type field will indicate the source of the token. Possible token
903
- # sources include digital wallets (Apple, Google, or Samsung Pay), merchant
904
- # tokenization, and “other” sources like in-flight commerce. Masterpass is not
905
- # currently supported and is included for future use.
906
- #
907
- # @return [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
908
- required :wallet_type, enum: -> { Lithic::Transaction::TokenInfo::WalletType }
909
-
910
- # @!method initialize(wallet_type:)
911
- # Some parameter documentations has been truncated, see
912
- # {Lithic::Models::Transaction::TokenInfo} for more details.
913
- #
914
- # @param wallet_type [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType] The wallet_type field will indicate the source of the token. Possible token sour
915
-
916
- # The wallet_type field will indicate the source of the token. Possible token
917
- # sources include digital wallets (Apple, Google, or Samsung Pay), merchant
918
- # tokenization, and “other” sources like in-flight commerce. Masterpass is not
919
- # currently supported and is included for future use.
920
- #
921
- # @see Lithic::Models::Transaction::TokenInfo#wallet_type
922
- module WalletType
923
- extend Lithic::Internal::Type::Enum
924
-
925
- APPLE_PAY = :APPLE_PAY
926
- GOOGLE_PAY = :GOOGLE_PAY
927
- MASTERPASS = :MASTERPASS
928
- MERCHANT = :MERCHANT
929
- OTHER = :OTHER
930
- SAMSUNG_PAY = :SAMSUNG_PAY
931
-
932
- # @!method self.values
933
- # @return [Array<Symbol>]
934
- end
935
- end
936
-
937
703
  class Event < Lithic::Internal::Type::BaseModel
938
704
  # @!attribute token
939
705
  # Transaction event identifier.