lithic 0.20.0 → 0.22.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 (266) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/README.md +1 -10
  4. data/lib/lithic/internal/type/union.rb +21 -7
  5. data/lib/lithic/models/account_activity_list_params.rb +1 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_create_params.rb +4 -2
  9. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
  10. data/lib/lithic/models/account_holder_update_params.rb +6 -3
  11. data/lib/lithic/models/account_holder_update_response.rb +156 -86
  12. data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
  13. data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
  14. data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
  15. data/lib/lithic/models/address.rb +33 -19
  16. data/lib/lithic/models/address_update.rb +27 -11
  17. data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
  18. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
  19. data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
  20. data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
  21. data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
  22. data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
  23. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
  24. data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
  25. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
  26. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
  27. data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
  28. data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
  29. data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
  30. data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
  31. data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
  32. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
  33. data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
  34. data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
  35. data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
  36. data/lib/lithic/models/card_authorization.rb +11 -1
  37. data/lib/lithic/models/card_create_params.rb +11 -1
  38. data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
  39. data/lib/lithic/models/card_update_params.rb +12 -1
  40. data/lib/lithic/models/event.rb +5 -0
  41. data/lib/lithic/models/event_list_params.rb +3 -0
  42. data/lib/lithic/models/event_subscription.rb +3 -0
  43. data/lib/lithic/models/events/subscription_create_params.rb +3 -0
  44. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  45. data/lib/lithic/models/events/subscription_update_params.rb +3 -0
  46. data/lib/lithic/models/external_payment.rb +6 -0
  47. data/lib/lithic/models/external_payment_create_params.rb +1 -0
  48. data/lib/lithic/models/external_payment_list_params.rb +1 -0
  49. data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
  50. data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
  51. data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
  52. data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
  53. data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
  54. data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
  55. data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
  56. data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
  57. data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
  58. data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
  59. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
  60. data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
  61. data/lib/lithic/models/financial_event.rb +9 -0
  62. data/lib/lithic/models/kyb.rb +4 -2
  63. data/lib/lithic/models/kyb_business_entity.rb +35 -19
  64. data/lib/lithic/models/kyc.rb +2 -1
  65. data/lib/lithic/models/management_operation_create_params.rb +4 -0
  66. data/lib/lithic/models/management_operation_transaction.rb +4 -0
  67. data/lib/lithic/models/non_pci_card.rb +11 -1
  68. data/lib/lithic/models/parsed_webhook_event.rb +123 -67
  69. data/lib/lithic/models/payment.rb +3 -1
  70. data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
  71. data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
  72. data/lib/lithic/models/payment_list_params.rb +1 -0
  73. data/lib/lithic/models/payment_retry_params.rb +28 -1
  74. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  75. data/lib/lithic/models/three_ds_authentication.rb +126 -1
  76. data/lib/lithic/models/transaction.rb +4 -1
  77. data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
  78. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
  79. data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
  80. data/lib/lithic/models.rb +6 -0
  81. data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
  82. data/lib/lithic/resources/auth_rules/v2.rb +44 -8
  83. data/lib/lithic/resources/blockchain_recipients.rb +23 -0
  84. data/lib/lithic/resources/cards.rb +10 -4
  85. data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
  86. data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
  87. data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
  88. data/lib/lithic/resources/financial_accounts.rb +8 -0
  89. data/lib/lithic/resources/payments.rb +71 -3
  90. data/lib/lithic/resources/transactions.rb +17 -4
  91. data/lib/lithic/resources/webhooks.rb +18 -0
  92. data/lib/lithic/version.rb +1 -1
  93. data/lib/lithic.rb +21 -1
  94. data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
  95. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  96. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  97. data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
  98. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
  99. data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
  100. data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
  101. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
  102. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
  103. data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
  104. data/rbi/lithic/models/address.rbi +57 -29
  105. data/rbi/lithic/models/address_update.rbi +50 -24
  106. data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
  107. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
  108. data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
  109. data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
  110. data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
  111. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
  112. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
  113. data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
  114. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
  115. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
  116. data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
  117. data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
  118. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
  119. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
  120. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
  121. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
  122. data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
  123. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
  124. data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
  125. data/rbi/lithic/models/card_authorization.rbi +12 -0
  126. data/rbi/lithic/models/card_create_params.rbi +15 -0
  127. data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
  128. data/rbi/lithic/models/card_update_params.rbi +17 -0
  129. data/rbi/lithic/models/event.rbi +8 -0
  130. data/rbi/lithic/models/event_list_params.rbi +7 -0
  131. data/rbi/lithic/models/event_subscription.rbi +7 -0
  132. data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
  133. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  134. data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
  135. data/rbi/lithic/models/external_payment.rbi +30 -0
  136. data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
  137. data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
  138. data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
  139. data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
  140. data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
  141. data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
  142. data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
  143. data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
  144. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
  145. data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
  146. data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
  147. data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
  148. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
  149. data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
  150. data/rbi/lithic/models/financial_event.rbi +35 -0
  151. data/rbi/lithic/models/kyb.rbi +8 -4
  152. data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
  153. data/rbi/lithic/models/kyc.rbi +4 -2
  154. data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
  155. data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
  156. data/rbi/lithic/models/non_pci_card.rbi +12 -0
  157. data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
  158. data/rbi/lithic/models/payment.rbi +6 -2
  159. data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
  160. data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
  161. data/rbi/lithic/models/payment_list_params.rbi +2 -0
  162. data/rbi/lithic/models/payment_retry_params.rbi +47 -2
  163. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  164. data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
  165. data/rbi/lithic/models/transaction.rbi +14 -2
  166. data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
  167. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
  168. data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
  169. data/rbi/lithic/models.rbi +7 -0
  170. data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
  171. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
  172. data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
  173. data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
  174. data/rbi/lithic/resources/cards.rbi +15 -2
  175. data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
  176. data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
  177. data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
  178. data/rbi/lithic/resources/financial_accounts.rbi +6 -0
  179. data/rbi/lithic/resources/payments.rbi +68 -2
  180. data/rbi/lithic/resources/transactions.rbi +31 -2
  181. data/rbi/lithic/resources/webhooks.rbi +1 -0
  182. data/sig/lithic/models/account_activity_list_params.rbs +2 -0
  183. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  184. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  185. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
  186. data/sig/lithic/models/account_holder_update_response.rbs +52 -52
  187. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
  188. data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
  189. data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
  190. data/sig/lithic/models/address.rbs +13 -13
  191. data/sig/lithic/models/address_update.rbs +8 -12
  192. data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
  193. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
  194. data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
  195. data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
  196. data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
  197. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
  198. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
  199. data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
  200. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
  201. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
  202. data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
  203. data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
  204. data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
  205. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
  206. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
  207. data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
  208. data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
  209. data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
  210. data/sig/lithic/models/card_authorization.rbs +5 -0
  211. data/sig/lithic/models/card_create_params.rbs +7 -0
  212. data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
  213. data/sig/lithic/models/card_update_params.rbs +8 -1
  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_payment.rbs +12 -0
  221. data/sig/lithic/models/external_payment_create_params.rbs +2 -0
  222. data/sig/lithic/models/external_payment_list_params.rbs +2 -0
  223. data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
  224. data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
  225. data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
  226. data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
  227. data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
  228. data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
  229. data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
  230. data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
  231. data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
  232. data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
  233. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
  234. data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
  235. data/sig/lithic/models/financial_event.rbs +18 -0
  236. data/sig/lithic/models/kyb_business_entity.rbs +13 -13
  237. data/sig/lithic/models/management_operation_create_params.rbs +8 -0
  238. data/sig/lithic/models/management_operation_transaction.rbs +8 -0
  239. data/sig/lithic/models/non_pci_card.rbs +5 -0
  240. data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
  241. data/sig/lithic/models/payment.rbs +2 -0
  242. data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
  243. data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
  244. data/sig/lithic/models/payment_list_params.rbs +2 -1
  245. data/sig/lithic/models/payment_retry_params.rbs +24 -1
  246. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  247. data/sig/lithic/models/three_ds_authentication.rbs +77 -0
  248. data/sig/lithic/models/transaction.rbs +4 -0
  249. data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
  250. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
  251. data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
  252. data/sig/lithic/models.rbs +6 -0
  253. data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
  254. data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
  255. data/sig/lithic/resources/cards.rbs +2 -0
  256. data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
  257. data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
  258. data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
  259. data/sig/lithic/resources/financial_accounts.rbs +4 -0
  260. data/sig/lithic/resources/payments.rbs +12 -0
  261. data/sig/lithic/resources/transactions.rbs +5 -0
  262. data/sig/lithic/resources/webhooks.rbs +1 -0
  263. metadata +65 -5
  264. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
  265. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
  266. data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
@@ -0,0 +1,150 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ # An entity that an Auth Rule can apply to. The `type` field determines which
7
+ # other fields are present.
8
+ #
9
+ # - `PROGRAM`: the entire card program.
10
+ # - `CARD`: a single card.
11
+ # - `ACCOUNT`: a single account.
12
+ # - `BUSINESS_ACCOUNT`: a single business account.
13
+ # - `CARD_TAG`: every card that carries the given tag (`key` and `value`).
14
+ #
15
+ # `CARD` and `CARD_TAG` entities can only be used with rules on the
16
+ # `AUTHORIZATION`, `THREE_DS_AUTHENTICATION`, `TOKENIZATION` and
17
+ # `CARD_TRANSACTION_UPDATE` event streams. Rules on the other event streams accept
18
+ # `PROGRAM`, `ACCOUNT` and `BUSINESS_ACCOUNT` only.
19
+ module AuthRuleEntity
20
+ extend Lithic::Internal::Type::Union
21
+
22
+ discriminator :type
23
+
24
+ # The entire card program. Takes no other fields.
25
+ variant :PROGRAM, -> { Lithic::AuthRules::AuthRuleEntity::Program }
26
+
27
+ # A single card.
28
+ variant :CARD, -> { Lithic::AuthRules::AuthRuleEntity::Card }
29
+
30
+ # A single account.
31
+ variant :ACCOUNT, -> { Lithic::AuthRules::AuthRuleEntity::Account }
32
+
33
+ # A single business account.
34
+ variant :BUSINESS_ACCOUNT, -> { Lithic::AuthRules::AuthRuleEntity::BusinessAccount }
35
+
36
+ # Every card whose `tags` contain `key` set to `value`.
37
+ variant :CARD_TAG, -> { Lithic::AuthRules::AuthRuleEntity::CardTag }
38
+
39
+ class Program < Lithic::Internal::Type::BaseModel
40
+ # @!attribute type
41
+ #
42
+ # @return [Symbol, :PROGRAM]
43
+ required :type, const: :PROGRAM
44
+
45
+ # @!method initialize(type: :PROGRAM)
46
+ # The entire card program. Takes no other fields.
47
+ #
48
+ # @param type [Symbol, :PROGRAM]
49
+ end
50
+
51
+ class Card < Lithic::Internal::Type::BaseModel
52
+ # @!attribute token
53
+ # Token of the card
54
+ #
55
+ # @return [String]
56
+ required :token, String
57
+
58
+ # @!attribute type
59
+ #
60
+ # @return [Symbol, :CARD]
61
+ required :type, const: :CARD
62
+
63
+ # @!method initialize(token:, type: :CARD)
64
+ # A single card.
65
+ #
66
+ # @param token [String] Token of the card
67
+ #
68
+ # @param type [Symbol, :CARD]
69
+ end
70
+
71
+ class Account < Lithic::Internal::Type::BaseModel
72
+ # @!attribute token
73
+ # Token of the account
74
+ #
75
+ # @return [String]
76
+ required :token, String
77
+
78
+ # @!attribute type
79
+ #
80
+ # @return [Symbol, :ACCOUNT]
81
+ required :type, const: :ACCOUNT
82
+
83
+ # @!method initialize(token:, type: :ACCOUNT)
84
+ # A single account.
85
+ #
86
+ # @param token [String] Token of the account
87
+ #
88
+ # @param type [Symbol, :ACCOUNT]
89
+ end
90
+
91
+ class BusinessAccount < Lithic::Internal::Type::BaseModel
92
+ # @!attribute token
93
+ # Token of the business account
94
+ #
95
+ # @return [String]
96
+ required :token, String
97
+
98
+ # @!attribute type
99
+ #
100
+ # @return [Symbol, :BUSINESS_ACCOUNT]
101
+ required :type, const: :BUSINESS_ACCOUNT
102
+
103
+ # @!method initialize(token:, type: :BUSINESS_ACCOUNT)
104
+ # A single business account.
105
+ #
106
+ # @param token [String] Token of the business account
107
+ #
108
+ # @param type [Symbol, :BUSINESS_ACCOUNT]
109
+ end
110
+
111
+ class CardTag < Lithic::Internal::Type::BaseModel
112
+ # @!attribute key
113
+ # Tag key. Keys starting with `lithic.` (case-insensitive) are reserved and
114
+ # rejected.
115
+ #
116
+ # @return [String]
117
+ required :key, String
118
+
119
+ # @!attribute type
120
+ #
121
+ # @return [Symbol, :CARD_TAG]
122
+ required :type, const: :CARD_TAG
123
+
124
+ # @!attribute value
125
+ # Tag value
126
+ #
127
+ # @return [String]
128
+ required :value, String
129
+
130
+ # @!method initialize(key:, value:, type: :CARD_TAG)
131
+ # Some parameter documentations has been truncated, see
132
+ # {Lithic::Models::AuthRules::AuthRuleEntity::CardTag} for more details.
133
+ #
134
+ # Every card whose `tags` contain `key` set to `value`.
135
+ #
136
+ # @param key [String] Tag key. Keys starting with `lithic.` (case-insensitive) are reserved and reject
137
+ #
138
+ # @param value [String] Tag value
139
+ #
140
+ # @param type [Symbol, :CARD_TAG]
141
+ end
142
+
143
+ # @!method self.variants
144
+ # @return [Array(Lithic::Models::AuthRules::AuthRuleEntity::Program, Lithic::Models::AuthRules::AuthRuleEntity::Card, Lithic::Models::AuthRules::AuthRuleEntity::Account, Lithic::Models::AuthRules::AuthRuleEntity::BusinessAccount, Lithic::Models::AuthRules::AuthRuleEntity::CardTag)]
145
+ end
146
+ end
147
+
148
+ AuthRuleEntity = AuthRules::AuthRuleEntity
149
+ end
150
+ end
@@ -13,7 +13,7 @@ module Lithic
13
13
  # @!attribute parameters
14
14
  # Parameters for the Auth Rule
15
15
  #
16
- # @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
16
+ # @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
17
17
  required :parameters, union: -> { Lithic::AuthRules::AuthRuleVersion::Parameters }
18
18
 
19
19
  # @!attribute state
@@ -37,7 +37,7 @@ module Lithic
37
37
  #
38
38
  # @param created [Time] Timestamp of when this version was created.
39
39
  #
40
- # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
40
+ # @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
41
41
  #
42
42
  # @param state [Symbol, Lithic::Models::AuthRules::AuthRuleVersion::State] The current state of this version.
43
43
  #
@@ -49,9 +49,6 @@ module Lithic
49
49
  module Parameters
50
50
  extend Lithic::Internal::Type::Union
51
51
 
52
- # Deprecated: Use CONDITIONAL_ACTION instead.
53
- variant -> { Lithic::AuthRules::ConditionalBlockParameters }
54
-
55
52
  variant -> { Lithic::AuthRules::VelocityLimitParams }
56
53
 
57
54
  variant -> { Lithic::AuthRules::MerchantLockParameters }
@@ -74,7 +71,7 @@ module Lithic
74
71
  variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
75
72
 
76
73
  # @!method self.variants
77
- # @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
74
+ # @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
78
75
  end
79
76
 
80
77
  # The current state of this version.
@@ -54,13 +54,24 @@ module Lithic
54
54
  # fee field in the settlement/cardholder billing currency. This is the amount
55
55
  # the issuer should authorize against unless the issuer is paying the acquirer
56
56
  # fee on behalf of the cardholder. Use an integer value.
57
- # - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
58
- # risk level, with a higher value indicating a higher amount of risk. Use an
59
- # integer value.
57
+ # - `RISK_SCORE`: Mastercard, and Visa in some markets: Assessment by the network
58
+ # of the authentication risk level, with a higher value indicating a higher
59
+ # amount of risk. Use an integer value.
60
60
  # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
61
61
  # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
62
62
  # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
63
63
  # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
64
+ # - `CARD_STATE`: The current state of the card associated with the
65
+ # authentication. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
66
+ # `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
67
+ # - `CARD_TYPE`: The type of the card associated with the authentication. Valid
68
+ # values are `MERCHANT_LOCKED`, `PHYSICAL`, `SINGLE_USE`, `VIRTUAL`.
69
+ # - `CARD_PROGRAM_FAMILY`: The program family of the card associated with the
70
+ # authentication. Valid values are `CONSUMER`, `COMMERCIAL`.
71
+ # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
72
+ # `OK`, `BLOCKED`.
73
+ # - `CARD_AGE`: The age of the card in seconds at the time of the authentication.
74
+ # Use an integer value.
64
75
  #
65
76
  # @return [Symbol, Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::Attribute]
66
77
  required :attribute, enum: -> { Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute }
@@ -106,13 +117,24 @@ module Lithic
106
117
  # fee field in the settlement/cardholder billing currency. This is the amount
107
118
  # the issuer should authorize against unless the issuer is paying the acquirer
108
119
  # fee on behalf of the cardholder. Use an integer value.
109
- # - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
110
- # risk level, with a higher value indicating a higher amount of risk. Use an
111
- # integer value.
120
+ # - `RISK_SCORE`: Mastercard, and Visa in some markets: Assessment by the network
121
+ # of the authentication risk level, with a higher value indicating a higher
122
+ # amount of risk. Use an integer value.
112
123
  # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
113
124
  # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
114
125
  # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
115
126
  # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
127
+ # - `CARD_STATE`: The current state of the card associated with the
128
+ # authentication. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
129
+ # `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
130
+ # - `CARD_TYPE`: The type of the card associated with the authentication. Valid
131
+ # values are `MERCHANT_LOCKED`, `PHYSICAL`, `SINGLE_USE`, `VIRTUAL`.
132
+ # - `CARD_PROGRAM_FAMILY`: The program family of the card associated with the
133
+ # authentication. Valid values are `CONSUMER`, `COMMERCIAL`.
134
+ # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
135
+ # `OK`, `BLOCKED`.
136
+ # - `CARD_AGE`: The age of the card in seconds at the time of the authentication.
137
+ # Use an integer value.
116
138
  #
117
139
  # @see Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition#attribute
118
140
  module Attribute
@@ -127,6 +149,11 @@ module Lithic
127
149
  RISK_SCORE = :RISK_SCORE
128
150
  MESSAGE_CATEGORY = :MESSAGE_CATEGORY
129
151
  ADDRESS_MATCH = :ADDRESS_MATCH
152
+ CARD_STATE = :CARD_STATE
153
+ CARD_TYPE = :CARD_TYPE
154
+ CARD_PROGRAM_FAMILY = :CARD_PROGRAM_FAMILY
155
+ PIN_STATUS = :PIN_STATUS
156
+ CARD_AGE = :CARD_AGE
130
157
 
131
158
  # @!method self.values
132
159
  # @return [Array<Symbol>]
@@ -28,18 +28,27 @@ module Lithic
28
28
  # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
29
29
  # fee field in the settlement/cardholder billing currency. This is the amount
30
30
  # the issuer should authorize against unless the issuer is paying the acquirer
31
- # fee on behalf of the cardholder.
31
+ # fee on behalf of the cardholder. Use an integer value.
32
+ # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
33
+ # represents the amount of cash being withdrawn or advanced. Use an integer
34
+ # value.
32
35
  # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
33
36
  # given authorization. Scores are on a range of 0-999, with 0 representing the
34
37
  # lowest risk and 999 representing the highest risk. For Visa transactions,
35
38
  # where the raw score has a range of 0-99, Lithic will normalize the score by
36
- # multiplying the raw score by 10x.
39
+ # multiplying the raw score by 10x. Use an integer value.
37
40
  # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
38
- # trailing 15 minutes before the authorization.
41
+ # trailing 15 minutes before the authorization. Use an integer value.
39
42
  # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
40
- # trailing hour up and until the authorization.
43
+ # trailing hour up and until the authorization. Use an integer value.
41
44
  # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
42
- # trailing 24 hours up and until the authorization.
45
+ # trailing 24 hours up and until the authorization. Use an integer value.
46
+ # - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
47
+ # the trailing 15 minutes before the authorization. Use an integer value.
48
+ # - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
49
+ # the trailing hour up and until the authorization. Use an integer value.
50
+ # - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
51
+ # the trailing 24 hours up and until the authorization. Use an integer value.
43
52
  # - `CARD_STATE`: The current state of the card associated with the transaction.
44
53
  # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
45
54
  # `PENDING_FULFILLMENT`.
@@ -50,9 +59,73 @@ module Lithic
50
59
  # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
51
60
  # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
52
61
  # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
62
+ # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
63
+ # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
53
64
  # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
54
65
  # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
55
66
  # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
67
+ # - `SERVICE_LOCATION_STATE`: The state/province code (ISO 3166-2) where the
68
+ # cardholder received the service, e.g. "NY". When a service location is present
69
+ # in the network data, the service location state is used. Otherwise, falls back
70
+ # to the card acceptor state.
71
+ # - `SERVICE_LOCATION_POSTAL_CODE`: The postal code where the cardholder received
72
+ # the service, e.g. "10001". When a service location is present in the network
73
+ # data, the service location postal code is used. Otherwise, falls back to the
74
+ # card acceptor postal code.
75
+ # - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
76
+ # Use an integer value.
77
+ # - `IS_DOMESTIC`: Whether the merchant's country matches the card program's
78
+ # issuing country. Valid values are `TRUE`, `FALSE`. For programs with no
79
+ # issuing country configured, this attribute does not evaluate.
80
+ # - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
81
+ # of the authorization. Use an integer value. For programs where Lithic does not
82
+ # manage or retain account holder data, this attribute does not evaluate.
83
+ # - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
84
+ # entity's transaction history. Null if fewer than 30 approved transactions in
85
+ # the specified window. Requires `parameters.scope` and `parameters.interval`.
86
+ # Use a decimal value.
87
+ # - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
88
+ # entity over the specified window, in cents. Requires `parameters.scope` and
89
+ # `parameters.interval`. Use a decimal value.
90
+ # - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
91
+ # amounts for the entity over the specified window, in cents. Null if fewer than
92
+ # 30 approved transactions in the specified window. Requires `parameters.scope`
93
+ # and `parameters.interval`. Use a decimal value.
94
+ # - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
95
+ # in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
96
+ # Requires `parameters.scope`.
97
+ # - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
98
+ # transaction history. Valid values are `TRUE`, `FALSE`. Requires
99
+ # `parameters.scope`.
100
+ # - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
101
+ # Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
102
+ # - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
103
+ # the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
104
+ # supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
105
+ # - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
106
+ # transaction for the entity, rounded to the nearest whole day. Requires
107
+ # `parameters.scope`. Use an integer value.
108
+ # - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
109
+ # the entity's transaction history. Requires `parameters.scope`. Use an integer
110
+ # value.
111
+ # - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
112
+ # card's approved transaction history (capped at the 1000 most recently seen
113
+ # merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
114
+ # `parameters` required.
115
+ # - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
116
+ # a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
117
+ # Use a decimal value.
118
+ # - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
119
+ # between the postal code centers of the last card-present transaction and the
120
+ # current transaction, divided by the elapsed time. Null if there is no prior
121
+ # card-present transaction, if either postal code cannot be geocoded, or if
122
+ # elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
123
+ # decimal value.
124
+ # - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
125
+ # code centers of the last card-present transaction and the current transaction.
126
+ # Null if there is no prior card-present transaction or if either postal code
127
+ # cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
128
+ # Use a decimal value.
56
129
  module ConditionalAttribute
57
130
  extend Lithic::Internal::Type::Enum
58
131
 
@@ -64,15 +137,38 @@ module Lithic
64
137
  LIABILITY_SHIFT = :LIABILITY_SHIFT
65
138
  PAN_ENTRY_MODE = :PAN_ENTRY_MODE
66
139
  TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
140
+ CASH_AMOUNT = :CASH_AMOUNT
67
141
  RISK_SCORE = :RISK_SCORE
68
142
  CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
69
143
  CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
70
144
  CARD_TRANSACTION_COUNT_24_H = :CARD_TRANSACTION_COUNT_24H
145
+ CARD_DECLINE_COUNT_15_M = :CARD_DECLINE_COUNT_15M
146
+ CARD_DECLINE_COUNT_1_H = :CARD_DECLINE_COUNT_1H
147
+ CARD_DECLINE_COUNT_24_H = :CARD_DECLINE_COUNT_24H
71
148
  CARD_STATE = :CARD_STATE
72
149
  PIN_ENTERED = :PIN_ENTERED
73
150
  PIN_STATUS = :PIN_STATUS
74
151
  WALLET_TYPE = :WALLET_TYPE
152
+ TRANSACTION_INITIATOR = :TRANSACTION_INITIATOR
75
153
  ADDRESS_MATCH = :ADDRESS_MATCH
154
+ SERVICE_LOCATION_STATE = :SERVICE_LOCATION_STATE
155
+ SERVICE_LOCATION_POSTAL_CODE = :SERVICE_LOCATION_POSTAL_CODE
156
+ CARD_AGE = :CARD_AGE
157
+ IS_DOMESTIC = :IS_DOMESTIC
158
+ ACCOUNT_AGE = :ACCOUNT_AGE
159
+ AMOUNT_Z_SCORE = :AMOUNT_Z_SCORE
160
+ AVG_TRANSACTION_AMOUNT = :AVG_TRANSACTION_AMOUNT
161
+ STDEV_TRANSACTION_AMOUNT = :STDEV_TRANSACTION_AMOUNT
162
+ IS_NEW_COUNTRY = :IS_NEW_COUNTRY
163
+ IS_NEW_MCC = :IS_NEW_MCC
164
+ IS_FIRST_TRANSACTION = :IS_FIRST_TRANSACTION
165
+ CONSECUTIVE_DECLINES = :CONSECUTIVE_DECLINES
166
+ TIME_SINCE_LAST_TRANSACTION = :TIME_SINCE_LAST_TRANSACTION
167
+ DISTINCT_COUNTRY_COUNT = :DISTINCT_COUNTRY_COUNT
168
+ IS_NEW_MERCHANT = :IS_NEW_MERCHANT
169
+ THREE_DS_SUCCESS_RATE = :THREE_DS_SUCCESS_RATE
170
+ TRAVEL_SPEED = :TRAVEL_SPEED
171
+ DISTANCE_FROM_LAST_TRANSACTION = :DISTANCE_FROM_LAST_TRANSACTION
76
172
 
77
173
  # @!method self.values
78
174
  # @return [Array<Symbol>]