lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.55

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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -105,169 +105,11 @@ module Lithic
105
105
  | Lithic::AuthRules::VelocityLimitParams
106
106
  | Lithic::AuthRules::MerchantLockParameters
107
107
  | Lithic::AuthRules::Conditional3DSActionParameters
108
- | Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
108
+ | Lithic::AuthRules::ConditionalAuthorizationActionParameters
109
109
 
110
110
  module Parameters
111
111
  extend Lithic::Internal::Type::Union
112
112
 
113
- type conditional_authorization_action_parameters =
114
- {
115
- action: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
116
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
117
- }
118
-
119
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
120
- attr_accessor action: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action
121
-
122
- attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
123
-
124
- def initialize: (
125
- action: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
126
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
127
- ) -> void
128
-
129
- def to_hash: -> {
130
- action: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
131
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
132
- }
133
-
134
- type action = :DECLINE | :CHALLENGE
135
-
136
- module Action
137
- extend Lithic::Internal::Type::Enum
138
-
139
- DECLINE: :DECLINE
140
- CHALLENGE: :CHALLENGE
141
-
142
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action]
143
- end
144
-
145
- type condition =
146
- {
147
- attribute: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
148
- operation: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
149
- value: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
150
- }
151
-
152
- class Condition < Lithic::Internal::Type::BaseModel
153
- attr_reader attribute: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
154
-
155
- def attribute=: (
156
- Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
157
- ) -> Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
158
-
159
- attr_reader operation: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
160
-
161
- def operation=: (
162
- Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
163
- ) -> Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
164
-
165
- attr_reader value: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
166
-
167
- def value=: (
168
- Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
169
- ) -> Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
170
-
171
- def initialize: (
172
- ?attribute: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
173
- ?operation: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
174
- ?value: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
175
- ) -> void
176
-
177
- def to_hash: -> {
178
- attribute: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
179
- operation: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
180
- value: Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
181
- }
182
-
183
- type attribute =
184
- :MCC
185
- | :COUNTRY
186
- | :CURRENCY
187
- | :MERCHANT_ID
188
- | :DESCRIPTOR
189
- | :LIABILITY_SHIFT
190
- | :PAN_ENTRY_MODE
191
- | :TRANSACTION_AMOUNT
192
- | :CASH_AMOUNT
193
- | :RISK_SCORE
194
- | :CARD_TRANSACTION_COUNT_15M
195
- | :CARD_TRANSACTION_COUNT_1H
196
- | :CARD_TRANSACTION_COUNT_24H
197
- | :CARD_STATE
198
- | :PIN_ENTERED
199
- | :PIN_STATUS
200
- | :WALLET_TYPE
201
- | :TRANSACTION_INITIATOR
202
- | :ADDRESS_MATCH
203
-
204
- module Attribute
205
- extend Lithic::Internal::Type::Enum
206
-
207
- MCC: :MCC
208
- COUNTRY: :COUNTRY
209
- CURRENCY: :CURRENCY
210
- MERCHANT_ID: :MERCHANT_ID
211
- DESCRIPTOR: :DESCRIPTOR
212
- LIABILITY_SHIFT: :LIABILITY_SHIFT
213
- PAN_ENTRY_MODE: :PAN_ENTRY_MODE
214
- TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
215
- CASH_AMOUNT: :CASH_AMOUNT
216
- RISK_SCORE: :RISK_SCORE
217
- CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
218
- CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
219
- CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
220
- CARD_STATE: :CARD_STATE
221
- PIN_ENTERED: :PIN_ENTERED
222
- PIN_STATUS: :PIN_STATUS
223
- WALLET_TYPE: :WALLET_TYPE
224
- TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
225
- ADDRESS_MATCH: :ADDRESS_MATCH
226
-
227
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
228
- end
229
-
230
- type operation =
231
- :IS_ONE_OF
232
- | :IS_NOT_ONE_OF
233
- | :MATCHES
234
- | :DOES_NOT_MATCH
235
- | :IS_EQUAL_TO
236
- | :IS_NOT_EQUAL_TO
237
- | :IS_GREATER_THAN
238
- | :IS_GREATER_THAN_OR_EQUAL_TO
239
- | :IS_LESS_THAN
240
- | :IS_LESS_THAN_OR_EQUAL_TO
241
-
242
- module Operation
243
- extend Lithic::Internal::Type::Enum
244
-
245
- IS_ONE_OF: :IS_ONE_OF
246
- IS_NOT_ONE_OF: :IS_NOT_ONE_OF
247
- MATCHES: :MATCHES
248
- DOES_NOT_MATCH: :DOES_NOT_MATCH
249
- IS_EQUAL_TO: :IS_EQUAL_TO
250
- IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
251
- IS_GREATER_THAN: :IS_GREATER_THAN
252
- IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
253
- IS_LESS_THAN: :IS_LESS_THAN
254
- IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
255
-
256
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
257
- end
258
-
259
- type value = String | Integer | ::Array[String]
260
-
261
- module Value
262
- extend Lithic::Internal::Type::Union
263
-
264
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
265
-
266
- StringArray: Lithic::Internal::Type::Converter
267
- end
268
- end
269
- end
270
-
271
113
  def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::parameters]
272
114
  end
273
115
  end
@@ -298,169 +140,11 @@ module Lithic
298
140
  | Lithic::AuthRules::VelocityLimitParams
299
141
  | Lithic::AuthRules::MerchantLockParameters
300
142
  | Lithic::AuthRules::Conditional3DSActionParameters
301
- | Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
143
+ | Lithic::AuthRules::ConditionalAuthorizationActionParameters
302
144
 
303
145
  module Parameters
304
146
  extend Lithic::Internal::Type::Union
305
147
 
306
- type conditional_authorization_action_parameters =
307
- {
308
- action: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
309
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
310
- }
311
-
312
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
313
- attr_accessor action: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action
314
-
315
- attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
316
-
317
- def initialize: (
318
- action: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
319
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
320
- ) -> void
321
-
322
- def to_hash: -> {
323
- action: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
324
- conditions: ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
325
- }
326
-
327
- type action = :DECLINE | :CHALLENGE
328
-
329
- module Action
330
- extend Lithic::Internal::Type::Enum
331
-
332
- DECLINE: :DECLINE
333
- CHALLENGE: :CHALLENGE
334
-
335
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action]
336
- end
337
-
338
- type condition =
339
- {
340
- attribute: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
341
- operation: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
342
- value: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
343
- }
344
-
345
- class Condition < Lithic::Internal::Type::BaseModel
346
- attr_reader attribute: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
347
-
348
- def attribute=: (
349
- Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
350
- ) -> Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
351
-
352
- attr_reader operation: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
353
-
354
- def operation=: (
355
- Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
356
- ) -> Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
357
-
358
- attr_reader value: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
359
-
360
- def value=: (
361
- Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
362
- ) -> Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
363
-
364
- def initialize: (
365
- ?attribute: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
366
- ?operation: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
367
- ?value: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
368
- ) -> void
369
-
370
- def to_hash: -> {
371
- attribute: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
372
- operation: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
373
- value: Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
374
- }
375
-
376
- type attribute =
377
- :MCC
378
- | :COUNTRY
379
- | :CURRENCY
380
- | :MERCHANT_ID
381
- | :DESCRIPTOR
382
- | :LIABILITY_SHIFT
383
- | :PAN_ENTRY_MODE
384
- | :TRANSACTION_AMOUNT
385
- | :CASH_AMOUNT
386
- | :RISK_SCORE
387
- | :CARD_TRANSACTION_COUNT_15M
388
- | :CARD_TRANSACTION_COUNT_1H
389
- | :CARD_TRANSACTION_COUNT_24H
390
- | :CARD_STATE
391
- | :PIN_ENTERED
392
- | :PIN_STATUS
393
- | :WALLET_TYPE
394
- | :TRANSACTION_INITIATOR
395
- | :ADDRESS_MATCH
396
-
397
- module Attribute
398
- extend Lithic::Internal::Type::Enum
399
-
400
- MCC: :MCC
401
- COUNTRY: :COUNTRY
402
- CURRENCY: :CURRENCY
403
- MERCHANT_ID: :MERCHANT_ID
404
- DESCRIPTOR: :DESCRIPTOR
405
- LIABILITY_SHIFT: :LIABILITY_SHIFT
406
- PAN_ENTRY_MODE: :PAN_ENTRY_MODE
407
- TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
408
- CASH_AMOUNT: :CASH_AMOUNT
409
- RISK_SCORE: :RISK_SCORE
410
- CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
411
- CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
412
- CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
413
- CARD_STATE: :CARD_STATE
414
- PIN_ENTERED: :PIN_ENTERED
415
- PIN_STATUS: :PIN_STATUS
416
- WALLET_TYPE: :WALLET_TYPE
417
- TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
418
- ADDRESS_MATCH: :ADDRESS_MATCH
419
-
420
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
421
- end
422
-
423
- type operation =
424
- :IS_ONE_OF
425
- | :IS_NOT_ONE_OF
426
- | :MATCHES
427
- | :DOES_NOT_MATCH
428
- | :IS_EQUAL_TO
429
- | :IS_NOT_EQUAL_TO
430
- | :IS_GREATER_THAN
431
- | :IS_GREATER_THAN_OR_EQUAL_TO
432
- | :IS_LESS_THAN
433
- | :IS_LESS_THAN_OR_EQUAL_TO
434
-
435
- module Operation
436
- extend Lithic::Internal::Type::Enum
437
-
438
- IS_ONE_OF: :IS_ONE_OF
439
- IS_NOT_ONE_OF: :IS_NOT_ONE_OF
440
- MATCHES: :MATCHES
441
- DOES_NOT_MATCH: :DOES_NOT_MATCH
442
- IS_EQUAL_TO: :IS_EQUAL_TO
443
- IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
444
- IS_GREATER_THAN: :IS_GREATER_THAN
445
- IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
446
- IS_LESS_THAN: :IS_LESS_THAN
447
- IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
448
-
449
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
450
- end
451
-
452
- type value = String | Integer | ::Array[String]
453
-
454
- module Value
455
- extend Lithic::Internal::Type::Union
456
-
457
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
458
-
459
- StringArray: Lithic::Internal::Type::Converter
460
- end
461
- end
462
- end
463
-
464
148
  def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::parameters]
465
149
  end
466
150
  end