lithic 0.1.0.pre.alpha.41 → 0.1.0.pre.alpha.43
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/lithic/models/account_activity_list_params.rb +10 -8
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +13 -5
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_create_params.rb +283 -16
- data/lib/lithic/models/auth_rules/v2_create_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +239 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_list_params.rb +10 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -9
- data/lib/lithic/models/auth_rules/v2_update_response.rb +510 -18
- data/lib/lithic/models/event.rb +6 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +2 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +28 -26
- data/lib/lithic/models/transaction.rb +4 -0
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +62 -0
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_response.rb +25 -0
- data/lib/lithic/models.rb +3 -0
- data/lib/lithic/resources/account_activity.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -3
- data/lib/lithic/resources/auth_rules/v2.rb +19 -13
- data/lib/lithic/resources/transactions.rb +37 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +18 -30
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +19 -5
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +646 -21
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +554 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +16 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +0 -11
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +1128 -18
- data/rbi/lithic/models/event.rbi +16 -0
- data/rbi/lithic/models/event_list_params.rbi +10 -0
- data/rbi/lithic/models/event_subscription.rbi +10 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +45 -41
- data/rbi/lithic/models/transaction.rbi +17 -0
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +92 -0
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_response.rbi +46 -0
- data/rbi/lithic/models.rbi +3 -0
- data/rbi/lithic/resources/account_activity.rbi +2 -2
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +3 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +28 -14
- data/rbi/lithic/resources/transactions.rbi +33 -0
- data/sig/lithic/models/account_activity_list_params.rbs +16 -16
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +11 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +188 -4
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +155 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -7
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +317 -2
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +20 -20
- data/sig/lithic/models/transaction.rbs +10 -2
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +50 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_response.rbs +20 -0
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/account_activity.rbs +2 -2
- data/sig/lithic/resources/auth_rules/v2.rbs +6 -3
- data/sig/lithic/resources/transactions.rbs +9 -0
- metadata +8 -2
@@ -11,11 +11,11 @@ module Lithic
|
|
11
11
|
# @!attribute parameters
|
12
12
|
# Parameters for the Auth Rule
|
13
13
|
#
|
14
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, nil]
|
14
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters, nil]
|
15
15
|
optional :parameters, union: -> { Lithic::AuthRules::V2DraftParams::Parameters }, nil?: true
|
16
16
|
|
17
17
|
# @!method initialize(parameters: nil, request_options: {})
|
18
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, nil] Parameters for the Auth Rule
|
18
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters, nil] Parameters for the Auth Rule
|
19
19
|
#
|
20
20
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
21
21
|
|
@@ -31,8 +31,244 @@ module Lithic
|
|
31
31
|
|
32
32
|
variant -> { Lithic::AuthRules::Conditional3DSActionParameters }
|
33
33
|
|
34
|
+
variant -> { Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters }
|
35
|
+
|
36
|
+
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
37
|
+
# @!attribute action
|
38
|
+
# The action to take if the conditions are met.
|
39
|
+
#
|
40
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Action]
|
41
|
+
required :action,
|
42
|
+
enum: -> { Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Action }
|
43
|
+
|
44
|
+
# @!attribute conditions
|
45
|
+
#
|
46
|
+
# @return [Array<Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
47
|
+
required :conditions,
|
48
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition] }
|
49
|
+
|
50
|
+
# @!method initialize(action:, conditions:)
|
51
|
+
# @param action [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Action] The action to take if the conditions are met.
|
52
|
+
#
|
53
|
+
# @param conditions [Array<Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition>]
|
54
|
+
|
55
|
+
# The action to take if the conditions are met.
|
56
|
+
#
|
57
|
+
# @see Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters#action
|
58
|
+
module Action
|
59
|
+
extend Lithic::Internal::Type::Enum
|
60
|
+
|
61
|
+
DECLINE = :DECLINE
|
62
|
+
CHALLENGE = :CHALLENGE
|
63
|
+
|
64
|
+
# @!method self.values
|
65
|
+
# @return [Array<Symbol>]
|
66
|
+
end
|
67
|
+
|
68
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
69
|
+
# @!attribute attribute
|
70
|
+
# The attribute to target.
|
71
|
+
#
|
72
|
+
# The following attributes may be targeted:
|
73
|
+
#
|
74
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
75
|
+
# business by the types of goods or services it provides.
|
76
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
77
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
78
|
+
# Netherlands Antilles.
|
79
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
80
|
+
# the transaction.
|
81
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
82
|
+
# (merchant).
|
83
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
84
|
+
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
85
|
+
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
86
|
+
# `TOKEN_AUTHENTICATED`.
|
87
|
+
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
88
|
+
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
89
|
+
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
90
|
+
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
91
|
+
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
92
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
93
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
94
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
95
|
+
# fee on behalf of the cardholder.
|
96
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
97
|
+
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
98
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
99
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
100
|
+
# multiplying the raw score by 10x.
|
101
|
+
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
102
|
+
# trailing 15 minutes before the authorization.
|
103
|
+
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
104
|
+
# trailing hour up and until the authorization.
|
105
|
+
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
106
|
+
# trailing 24 hours up and until the authorization.
|
107
|
+
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
108
|
+
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
109
|
+
# `PENDING_FULFILLMENT`.
|
110
|
+
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
111
|
+
# Valid values are `TRUE`, `FALSE`.
|
112
|
+
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
113
|
+
# `OK`, `BLOCKED`.
|
114
|
+
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
115
|
+
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
116
|
+
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
117
|
+
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
118
|
+
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
119
|
+
#
|
120
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute, nil]
|
121
|
+
optional :attribute,
|
122
|
+
enum: -> { Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute }
|
123
|
+
|
124
|
+
# @!attribute operation
|
125
|
+
# The operation to apply to the attribute
|
126
|
+
#
|
127
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation, nil]
|
128
|
+
optional :operation,
|
129
|
+
enum: -> { Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation }
|
130
|
+
|
131
|
+
# @!attribute value
|
132
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
133
|
+
#
|
134
|
+
# @return [String, Integer, Array<String>, nil]
|
135
|
+
optional :value,
|
136
|
+
union: -> { Lithic::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value }
|
137
|
+
|
138
|
+
# @!method initialize(attribute: nil, operation: nil, value: nil)
|
139
|
+
# Some parameter documentations has been truncated, see
|
140
|
+
# {Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition}
|
141
|
+
# for more details.
|
142
|
+
#
|
143
|
+
# @param attribute [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute] The attribute to target.
|
144
|
+
#
|
145
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation] The operation to apply to the attribute
|
146
|
+
#
|
147
|
+
# @param value [String, Integer, Array<String>] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
148
|
+
|
149
|
+
# The attribute to target.
|
150
|
+
#
|
151
|
+
# The following attributes may be targeted:
|
152
|
+
#
|
153
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
154
|
+
# business by the types of goods or services it provides.
|
155
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
156
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
157
|
+
# Netherlands Antilles.
|
158
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
159
|
+
# the transaction.
|
160
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
161
|
+
# (merchant).
|
162
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
163
|
+
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
164
|
+
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
165
|
+
# `TOKEN_AUTHENTICATED`.
|
166
|
+
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
167
|
+
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
168
|
+
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
169
|
+
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
170
|
+
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
171
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
172
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
173
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
174
|
+
# fee on behalf of the cardholder.
|
175
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
176
|
+
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
177
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
178
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
179
|
+
# multiplying the raw score by 10x.
|
180
|
+
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
181
|
+
# trailing 15 minutes before the authorization.
|
182
|
+
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
183
|
+
# trailing hour up and until the authorization.
|
184
|
+
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
185
|
+
# trailing 24 hours up and until the authorization.
|
186
|
+
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
187
|
+
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
188
|
+
# `PENDING_FULFILLMENT`.
|
189
|
+
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
190
|
+
# Valid values are `TRUE`, `FALSE`.
|
191
|
+
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
192
|
+
# `OK`, `BLOCKED`.
|
193
|
+
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
194
|
+
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
195
|
+
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
196
|
+
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
197
|
+
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
198
|
+
#
|
199
|
+
# @see Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition#attribute
|
200
|
+
module Attribute
|
201
|
+
extend Lithic::Internal::Type::Enum
|
202
|
+
|
203
|
+
MCC = :MCC
|
204
|
+
COUNTRY = :COUNTRY
|
205
|
+
CURRENCY = :CURRENCY
|
206
|
+
MERCHANT_ID = :MERCHANT_ID
|
207
|
+
DESCRIPTOR = :DESCRIPTOR
|
208
|
+
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
209
|
+
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
210
|
+
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
211
|
+
RISK_SCORE = :RISK_SCORE
|
212
|
+
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
213
|
+
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
214
|
+
CARD_TRANSACTION_COUNT_24_H = :CARD_TRANSACTION_COUNT_24H
|
215
|
+
CARD_STATE = :CARD_STATE
|
216
|
+
PIN_ENTERED = :PIN_ENTERED
|
217
|
+
PIN_STATUS = :PIN_STATUS
|
218
|
+
WALLET_TYPE = :WALLET_TYPE
|
219
|
+
TRANSACTION_INITIATOR = :TRANSACTION_INITIATOR
|
220
|
+
|
221
|
+
# @!method self.values
|
222
|
+
# @return [Array<Symbol>]
|
223
|
+
end
|
224
|
+
|
225
|
+
# The operation to apply to the attribute
|
226
|
+
#
|
227
|
+
# @see Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition#operation
|
228
|
+
module Operation
|
229
|
+
extend Lithic::Internal::Type::Enum
|
230
|
+
|
231
|
+
IS_ONE_OF = :IS_ONE_OF
|
232
|
+
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
233
|
+
MATCHES = :MATCHES
|
234
|
+
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
235
|
+
IS_EQUAL_TO = :IS_EQUAL_TO
|
236
|
+
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
237
|
+
IS_GREATER_THAN = :IS_GREATER_THAN
|
238
|
+
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
239
|
+
IS_LESS_THAN = :IS_LESS_THAN
|
240
|
+
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
241
|
+
|
242
|
+
# @!method self.values
|
243
|
+
# @return [Array<Symbol>]
|
244
|
+
end
|
245
|
+
|
246
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
247
|
+
#
|
248
|
+
# @see Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition#value
|
249
|
+
module Value
|
250
|
+
extend Lithic::Internal::Type::Union
|
251
|
+
|
252
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
253
|
+
variant String
|
254
|
+
|
255
|
+
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
256
|
+
variant Integer
|
257
|
+
|
258
|
+
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
259
|
+
variant -> { Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::StringArray }
|
260
|
+
|
261
|
+
# @!method self.variants
|
262
|
+
# @return [Array(String, Integer, Array<String>)]
|
263
|
+
|
264
|
+
# @type [Lithic::Internal::Type::Converter]
|
265
|
+
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
266
|
+
end
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
34
270
|
# @!method self.variants
|
35
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters)]
|
271
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters)]
|
36
272
|
end
|
37
273
|
end
|
38
274
|
end
|