lithic 0.1.0.pre.alpha.37 → 0.1.0.pre.alpha.39
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 +17 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +182 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +62 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -245
- data/lib/lithic/models/auth_rules/v2_create_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -245
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_list_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +12 -480
- data/lib/lithic/models/auth_rules/v2_update_response.rb +12 -476
- data/lib/lithic/models/event.rb +2 -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/reports/settlement/network_total_list_response.rb +16 -6
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +412 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +119 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +10 -534
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -532
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +8 -1056
- data/rbi/lithic/models/event.rbi +10 -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/reports/settlement/network_total_list_response.rbi +21 -6
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
- data/rbi/lithic/resources/auth_rules/v2.rbi +4 -4
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +133 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +51 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -176
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -176
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -352
- 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/reports/settlement/network_total_list_response.rbs +7 -1
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
- metadata +8 -2
data/rbi/lithic/models/event.rbi
CHANGED
@@ -271,6 +271,16 @@ module Lithic
|
|
271
271
|
:"management_operation.updated",
|
272
272
|
Lithic::Event::EventType::TaggedSymbol
|
273
273
|
)
|
274
|
+
NETWORK_TOTAL_CREATED =
|
275
|
+
T.let(
|
276
|
+
:"network_total.created",
|
277
|
+
Lithic::Event::EventType::TaggedSymbol
|
278
|
+
)
|
279
|
+
NETWORK_TOTAL_UPDATED =
|
280
|
+
T.let(
|
281
|
+
:"network_total.updated",
|
282
|
+
Lithic::Event::EventType::TaggedSymbol
|
283
|
+
)
|
274
284
|
PAYMENT_TRANSACTION_CREATED =
|
275
285
|
T.let(
|
276
286
|
:"payment_transaction.created",
|
@@ -281,6 +281,16 @@ module Lithic
|
|
281
281
|
:"management_operation.updated",
|
282
282
|
Lithic::EventListParams::EventType::TaggedSymbol
|
283
283
|
)
|
284
|
+
NETWORK_TOTAL_CREATED =
|
285
|
+
T.let(
|
286
|
+
:"network_total.created",
|
287
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
288
|
+
)
|
289
|
+
NETWORK_TOTAL_UPDATED =
|
290
|
+
T.let(
|
291
|
+
:"network_total.updated",
|
292
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
293
|
+
)
|
284
294
|
PAYMENT_TRANSACTION_CREATED =
|
285
295
|
T.let(
|
286
296
|
:"payment_transaction.created",
|
@@ -229,6 +229,16 @@ module Lithic
|
|
229
229
|
:"management_operation.updated",
|
230
230
|
Lithic::EventSubscription::EventType::TaggedSymbol
|
231
231
|
)
|
232
|
+
NETWORK_TOTAL_CREATED =
|
233
|
+
T.let(
|
234
|
+
:"network_total.created",
|
235
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
236
|
+
)
|
237
|
+
NETWORK_TOTAL_UPDATED =
|
238
|
+
T.let(
|
239
|
+
:"network_total.updated",
|
240
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
241
|
+
)
|
232
242
|
PAYMENT_TRANSACTION_CREATED =
|
233
243
|
T.let(
|
234
244
|
:"payment_transaction.created",
|
@@ -258,6 +258,16 @@ module Lithic
|
|
258
258
|
:"management_operation.updated",
|
259
259
|
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
260
260
|
)
|
261
|
+
NETWORK_TOTAL_CREATED =
|
262
|
+
T.let(
|
263
|
+
:"network_total.created",
|
264
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
265
|
+
)
|
266
|
+
NETWORK_TOTAL_UPDATED =
|
267
|
+
T.let(
|
268
|
+
:"network_total.updated",
|
269
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
270
|
+
)
|
261
271
|
PAYMENT_TRANSACTION_CREATED =
|
262
272
|
T.let(
|
263
273
|
:"payment_transaction.created",
|
@@ -222,6 +222,16 @@ module Lithic
|
|
222
222
|
:"management_operation.updated",
|
223
223
|
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
224
224
|
)
|
225
|
+
NETWORK_TOTAL_CREATED =
|
226
|
+
T.let(
|
227
|
+
:"network_total.created",
|
228
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
229
|
+
)
|
230
|
+
NETWORK_TOTAL_UPDATED =
|
231
|
+
T.let(
|
232
|
+
:"network_total.updated",
|
233
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
234
|
+
)
|
225
235
|
PAYMENT_TRANSACTION_CREATED =
|
226
236
|
T.let(
|
227
237
|
:"payment_transaction.created",
|
@@ -258,6 +258,16 @@ module Lithic
|
|
258
258
|
:"management_operation.updated",
|
259
259
|
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
260
260
|
)
|
261
|
+
NETWORK_TOTAL_CREATED =
|
262
|
+
T.let(
|
263
|
+
:"network_total.created",
|
264
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
265
|
+
)
|
266
|
+
NETWORK_TOTAL_UPDATED =
|
267
|
+
T.let(
|
268
|
+
:"network_total.updated",
|
269
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
270
|
+
)
|
261
271
|
PAYMENT_TRANSACTION_CREATED =
|
262
272
|
T.let(
|
263
273
|
:"payment_transaction.created",
|
@@ -46,8 +46,13 @@ module Lithic
|
|
46
46
|
sig { returns(String) }
|
47
47
|
attr_accessor :institution_id
|
48
48
|
|
49
|
-
#
|
50
|
-
#
|
49
|
+
# Indicates that all settlement records related to this Network Total are
|
50
|
+
# available in the details endpoint.
|
51
|
+
sig { returns(T::Boolean) }
|
52
|
+
attr_accessor :is_complete
|
53
|
+
|
54
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
55
|
+
# or INTERLINK.
|
51
56
|
sig do
|
52
57
|
returns(
|
53
58
|
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
@@ -88,6 +93,7 @@ module Lithic
|
|
88
93
|
created: Time,
|
89
94
|
currency: String,
|
90
95
|
institution_id: String,
|
96
|
+
is_complete: T::Boolean,
|
91
97
|
network:
|
92
98
|
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::OrSymbol,
|
93
99
|
report_date: Date,
|
@@ -109,8 +115,11 @@ module Lithic
|
|
109
115
|
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
110
116
|
# (Settlement Reporting Entity).
|
111
117
|
institution_id:,
|
112
|
-
#
|
113
|
-
#
|
118
|
+
# Indicates that all settlement records related to this Network Total are
|
119
|
+
# available in the details endpoint.
|
120
|
+
is_complete:,
|
121
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
122
|
+
# or INTERLINK.
|
114
123
|
network:,
|
115
124
|
# Date that the network total record applies to. YYYY-MM-DD format.
|
116
125
|
report_date:,
|
@@ -136,6 +145,7 @@ module Lithic
|
|
136
145
|
created: Time,
|
137
146
|
currency: String,
|
138
147
|
institution_id: String,
|
148
|
+
is_complete: T::Boolean,
|
139
149
|
network:
|
140
150
|
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol,
|
141
151
|
report_date: Date,
|
@@ -213,8 +223,8 @@ module Lithic
|
|
213
223
|
end
|
214
224
|
end
|
215
225
|
|
216
|
-
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO,
|
217
|
-
# INTERLINK.
|
226
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
227
|
+
# or INTERLINK.
|
218
228
|
module Network
|
219
229
|
extend Lithic::Internal::Type::Enum
|
220
230
|
|
@@ -227,6 +237,11 @@ module Lithic
|
|
227
237
|
end
|
228
238
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
229
239
|
|
240
|
+
AMEX =
|
241
|
+
T.let(
|
242
|
+
:AMEX,
|
243
|
+
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
|
244
|
+
)
|
230
245
|
VISA =
|
231
246
|
T.let(
|
232
247
|
:VISA,
|
@@ -46,8 +46,13 @@ module Lithic
|
|
46
46
|
sig { returns(String) }
|
47
47
|
attr_accessor :institution_id
|
48
48
|
|
49
|
-
#
|
50
|
-
#
|
49
|
+
# Indicates that all settlement records related to this Network Total are
|
50
|
+
# available in the details endpoint.
|
51
|
+
sig { returns(T::Boolean) }
|
52
|
+
attr_accessor :is_complete
|
53
|
+
|
54
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
55
|
+
# or INTERLINK.
|
51
56
|
sig do
|
52
57
|
returns(
|
53
58
|
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::TaggedSymbol
|
@@ -88,6 +93,7 @@ module Lithic
|
|
88
93
|
created: Time,
|
89
94
|
currency: String,
|
90
95
|
institution_id: String,
|
96
|
+
is_complete: T::Boolean,
|
91
97
|
network:
|
92
98
|
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::OrSymbol,
|
93
99
|
report_date: Date,
|
@@ -109,8 +115,11 @@ module Lithic
|
|
109
115
|
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
110
116
|
# (Settlement Reporting Entity).
|
111
117
|
institution_id:,
|
112
|
-
#
|
113
|
-
#
|
118
|
+
# Indicates that all settlement records related to this Network Total are
|
119
|
+
# available in the details endpoint.
|
120
|
+
is_complete:,
|
121
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
122
|
+
# or INTERLINK.
|
114
123
|
network:,
|
115
124
|
# Date that the network total record applies to. YYYY-MM-DD format.
|
116
125
|
report_date:,
|
@@ -136,6 +145,7 @@ module Lithic
|
|
136
145
|
created: Time,
|
137
146
|
currency: String,
|
138
147
|
institution_id: String,
|
148
|
+
is_complete: T::Boolean,
|
139
149
|
network:
|
140
150
|
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::TaggedSymbol,
|
141
151
|
report_date: Date,
|
@@ -213,8 +223,8 @@ module Lithic
|
|
213
223
|
end
|
214
224
|
end
|
215
225
|
|
216
|
-
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO,
|
217
|
-
# INTERLINK.
|
226
|
+
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
|
227
|
+
# or INTERLINK.
|
218
228
|
module Network
|
219
229
|
extend Lithic::Internal::Type::Enum
|
220
230
|
|
@@ -227,6 +237,11 @@ module Lithic
|
|
227
237
|
end
|
228
238
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
229
239
|
|
240
|
+
AMEX =
|
241
|
+
T.let(
|
242
|
+
:AMEX,
|
243
|
+
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::TaggedSymbol
|
244
|
+
)
|
230
245
|
VISA =
|
231
246
|
T.let(
|
232
247
|
:VISA,
|
@@ -18,8 +18,8 @@ module Lithic
|
|
18
18
|
T.any(
|
19
19
|
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
20
20
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
21
|
-
Lithic::AuthRules::
|
22
|
-
Lithic::AuthRules::
|
21
|
+
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
22
|
+
Lithic::AuthRules::Conditional3DSActionParameters::OrHash
|
23
23
|
),
|
24
24
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
25
25
|
excluded_card_tokens: T::Array[String],
|
@@ -199,8 +199,8 @@ module Lithic
|
|
199
199
|
T.any(
|
200
200
|
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
201
201
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
202
|
-
Lithic::AuthRules::
|
203
|
-
Lithic::AuthRules::
|
202
|
+
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
203
|
+
Lithic::AuthRules::Conditional3DSActionParameters::OrHash
|
204
204
|
)
|
205
205
|
),
|
206
206
|
request_options: Lithic::RequestOptions::OrHash
|
@@ -0,0 +1,133 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
module AuthRules
|
4
|
+
type conditional3_ds_action_parameters =
|
5
|
+
{
|
6
|
+
action: Lithic::Models::AuthRules::Conditional3DSActionParameters::action,
|
7
|
+
conditions: ::Array[Lithic::AuthRules::Conditional3DSActionParameters::Condition]
|
8
|
+
}
|
9
|
+
|
10
|
+
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
11
|
+
attr_accessor action: Lithic::Models::AuthRules::Conditional3DSActionParameters::action
|
12
|
+
|
13
|
+
attr_accessor conditions: ::Array[Lithic::AuthRules::Conditional3DSActionParameters::Condition]
|
14
|
+
|
15
|
+
def initialize: (
|
16
|
+
action: Lithic::Models::AuthRules::Conditional3DSActionParameters::action,
|
17
|
+
conditions: ::Array[Lithic::AuthRules::Conditional3DSActionParameters::Condition]
|
18
|
+
) -> void
|
19
|
+
|
20
|
+
def to_hash: -> {
|
21
|
+
action: Lithic::Models::AuthRules::Conditional3DSActionParameters::action,
|
22
|
+
conditions: ::Array[Lithic::AuthRules::Conditional3DSActionParameters::Condition]
|
23
|
+
}
|
24
|
+
|
25
|
+
type action = :DECLINE | :CHALLENGE
|
26
|
+
|
27
|
+
module Action
|
28
|
+
extend Lithic::Internal::Type::Enum
|
29
|
+
|
30
|
+
DECLINE: :DECLINE
|
31
|
+
CHALLENGE: :CHALLENGE
|
32
|
+
|
33
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::action]
|
34
|
+
end
|
35
|
+
|
36
|
+
type condition =
|
37
|
+
{
|
38
|
+
attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
39
|
+
operation: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation,
|
40
|
+
value: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
41
|
+
}
|
42
|
+
|
43
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
44
|
+
attr_reader attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute?
|
45
|
+
|
46
|
+
def attribute=: (
|
47
|
+
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute
|
48
|
+
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute
|
49
|
+
|
50
|
+
attr_reader operation: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation?
|
51
|
+
|
52
|
+
def operation=: (
|
53
|
+
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation
|
54
|
+
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation
|
55
|
+
|
56
|
+
attr_reader value: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value?
|
57
|
+
|
58
|
+
def value=: (
|
59
|
+
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
60
|
+
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
61
|
+
|
62
|
+
def initialize: (
|
63
|
+
?attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
64
|
+
?operation: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation,
|
65
|
+
?value: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
66
|
+
) -> void
|
67
|
+
|
68
|
+
def to_hash: -> {
|
69
|
+
attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
70
|
+
operation: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation,
|
71
|
+
value: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
72
|
+
}
|
73
|
+
|
74
|
+
type attribute =
|
75
|
+
:MCC
|
76
|
+
| :COUNTRY
|
77
|
+
| :CURRENCY
|
78
|
+
| :MERCHANT_ID
|
79
|
+
| :DESCRIPTOR
|
80
|
+
| :TRANSACTION_AMOUNT
|
81
|
+
| :RISK_SCORE
|
82
|
+
| :MESSAGE_CATEGORY
|
83
|
+
|
84
|
+
module Attribute
|
85
|
+
extend Lithic::Internal::Type::Enum
|
86
|
+
|
87
|
+
MCC: :MCC
|
88
|
+
COUNTRY: :COUNTRY
|
89
|
+
CURRENCY: :CURRENCY
|
90
|
+
MERCHANT_ID: :MERCHANT_ID
|
91
|
+
DESCRIPTOR: :DESCRIPTOR
|
92
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
93
|
+
RISK_SCORE: :RISK_SCORE
|
94
|
+
MESSAGE_CATEGORY: :MESSAGE_CATEGORY
|
95
|
+
|
96
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute]
|
97
|
+
end
|
98
|
+
|
99
|
+
type operation =
|
100
|
+
:IS_ONE_OF
|
101
|
+
| :IS_NOT_ONE_OF
|
102
|
+
| :MATCHES
|
103
|
+
| :DOES_NOT_MATCH
|
104
|
+
| :IS_GREATER_THAN
|
105
|
+
| :IS_LESS_THAN
|
106
|
+
|
107
|
+
module Operation
|
108
|
+
extend Lithic::Internal::Type::Enum
|
109
|
+
|
110
|
+
IS_ONE_OF: :IS_ONE_OF
|
111
|
+
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
112
|
+
MATCHES: :MATCHES
|
113
|
+
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
114
|
+
IS_GREATER_THAN: :IS_GREATER_THAN
|
115
|
+
IS_LESS_THAN: :IS_LESS_THAN
|
116
|
+
|
117
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation]
|
118
|
+
end
|
119
|
+
|
120
|
+
type value = String | Integer | ::Array[String]
|
121
|
+
|
122
|
+
module Value
|
123
|
+
extend Lithic::Internal::Type::Union
|
124
|
+
|
125
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value]
|
126
|
+
|
127
|
+
StringArray: Lithic::Internal::Type::Converter
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
module AuthRules
|
4
|
+
type merchant_lock_parameters =
|
5
|
+
{
|
6
|
+
merchants: ::Array[Lithic::AuthRules::MerchantLockParameters::Merchant]
|
7
|
+
}
|
8
|
+
|
9
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
10
|
+
attr_accessor merchants: ::Array[Lithic::AuthRules::MerchantLockParameters::Merchant]
|
11
|
+
|
12
|
+
def initialize: (
|
13
|
+
merchants: ::Array[Lithic::AuthRules::MerchantLockParameters::Merchant]
|
14
|
+
) -> void
|
15
|
+
|
16
|
+
def to_hash: -> {
|
17
|
+
merchants: ::Array[Lithic::AuthRules::MerchantLockParameters::Merchant]
|
18
|
+
}
|
19
|
+
|
20
|
+
type merchant =
|
21
|
+
{ comment: String, descriptor: String, merchant_id: String }
|
22
|
+
|
23
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
24
|
+
attr_reader comment: String?
|
25
|
+
|
26
|
+
def comment=: (String) -> String
|
27
|
+
|
28
|
+
attr_reader descriptor: String?
|
29
|
+
|
30
|
+
def descriptor=: (String) -> String
|
31
|
+
|
32
|
+
attr_reader merchant_id: String?
|
33
|
+
|
34
|
+
def merchant_id=: (String) -> String
|
35
|
+
|
36
|
+
def initialize: (
|
37
|
+
?comment: String,
|
38
|
+
?descriptor: String,
|
39
|
+
?merchant_id: String
|
40
|
+
) -> void
|
41
|
+
|
42
|
+
def to_hash: -> {
|
43
|
+
comment: String,
|
44
|
+
descriptor: String,
|
45
|
+
merchant_id: String
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|