lithic 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.38
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 +23 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +10 -2
- 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/transaction.rb +19 -1
- 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/transaction.rbi +47 -0
- 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/transaction.rbs +20 -0
- metadata +8 -2
@@ -2087,6 +2087,20 @@ module Lithic
|
|
2087
2087
|
sig { returns(Lithic::Transaction::Event::Type::TaggedSymbol) }
|
2088
2088
|
attr_accessor :type
|
2089
2089
|
|
2090
|
+
sig do
|
2091
|
+
returns(
|
2092
|
+
T.nilable(Lithic::Transaction::Event::AccountType::TaggedSymbol)
|
2093
|
+
)
|
2094
|
+
end
|
2095
|
+
attr_reader :account_type
|
2096
|
+
|
2097
|
+
sig do
|
2098
|
+
params(
|
2099
|
+
account_type: Lithic::Transaction::Event::AccountType::OrSymbol
|
2100
|
+
).void
|
2101
|
+
end
|
2102
|
+
attr_writer :account_type
|
2103
|
+
|
2090
2104
|
sig do
|
2091
2105
|
returns(T.nilable(Lithic::Transaction::Event::NetworkSpecificData))
|
2092
2106
|
end
|
@@ -2116,6 +2130,7 @@ module Lithic
|
|
2116
2130
|
rule_results:
|
2117
2131
|
T::Array[Lithic::Transaction::Event::RuleResult::OrHash],
|
2118
2132
|
type: Lithic::Transaction::Event::Type::OrSymbol,
|
2133
|
+
account_type: Lithic::Transaction::Event::AccountType::OrSymbol,
|
2119
2134
|
network_specific_data:
|
2120
2135
|
Lithic::Transaction::Event::NetworkSpecificData::OrHash
|
2121
2136
|
).returns(T.attached_class)
|
@@ -2145,6 +2160,7 @@ module Lithic
|
|
2145
2160
|
rule_results:,
|
2146
2161
|
# Type of transaction event
|
2147
2162
|
type:,
|
2163
|
+
account_type: nil,
|
2148
2164
|
network_specific_data: nil
|
2149
2165
|
)
|
2150
2166
|
end
|
@@ -2166,6 +2182,8 @@ module Lithic
|
|
2166
2182
|
result: Lithic::Transaction::Event::Result::TaggedSymbol,
|
2167
2183
|
rule_results: T::Array[Lithic::Transaction::Event::RuleResult],
|
2168
2184
|
type: Lithic::Transaction::Event::Type::TaggedSymbol,
|
2185
|
+
account_type:
|
2186
|
+
Lithic::Transaction::Event::AccountType::TaggedSymbol,
|
2169
2187
|
network_specific_data:
|
2170
2188
|
Lithic::Transaction::Event::NetworkSpecificData
|
2171
2189
|
}
|
@@ -3612,6 +3630,35 @@ module Lithic
|
|
3612
3630
|
end
|
3613
3631
|
end
|
3614
3632
|
|
3633
|
+
module AccountType
|
3634
|
+
extend Lithic::Internal::Type::Enum
|
3635
|
+
|
3636
|
+
TaggedSymbol =
|
3637
|
+
T.type_alias do
|
3638
|
+
T.all(Symbol, Lithic::Transaction::Event::AccountType)
|
3639
|
+
end
|
3640
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3641
|
+
|
3642
|
+
CHECKING =
|
3643
|
+
T.let(
|
3644
|
+
:CHECKING,
|
3645
|
+
Lithic::Transaction::Event::AccountType::TaggedSymbol
|
3646
|
+
)
|
3647
|
+
SAVINGS =
|
3648
|
+
T.let(
|
3649
|
+
:SAVINGS,
|
3650
|
+
Lithic::Transaction::Event::AccountType::TaggedSymbol
|
3651
|
+
)
|
3652
|
+
|
3653
|
+
sig do
|
3654
|
+
override.returns(
|
3655
|
+
T::Array[Lithic::Transaction::Event::AccountType::TaggedSymbol]
|
3656
|
+
)
|
3657
|
+
end
|
3658
|
+
def self.values
|
3659
|
+
end
|
3660
|
+
end
|
3661
|
+
|
3615
3662
|
class NetworkSpecificData < Lithic::Internal::Type::BaseModel
|
3616
3663
|
OrHash =
|
3617
3664
|
T.type_alias do
|
@@ -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
|
@@ -93,186 +93,12 @@ module Lithic
|
|
93
93
|
type parameters =
|
94
94
|
Lithic::AuthRules::ConditionalBlockParameters
|
95
95
|
| Lithic::AuthRules::VelocityLimitParams
|
96
|
-
| Lithic::
|
97
|
-
| Lithic::
|
96
|
+
| Lithic::AuthRules::MerchantLockParameters
|
97
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
98
98
|
|
99
99
|
module Parameters
|
100
100
|
extend Lithic::Internal::Type::Union
|
101
101
|
|
102
|
-
type merchant_lock_parameters =
|
103
|
-
{
|
104
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
105
|
-
}
|
106
|
-
|
107
|
-
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
108
|
-
attr_accessor merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
109
|
-
|
110
|
-
def initialize: (
|
111
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
112
|
-
) -> void
|
113
|
-
|
114
|
-
def to_hash: -> {
|
115
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
116
|
-
}
|
117
|
-
|
118
|
-
type merchant =
|
119
|
-
{ comment: String, descriptor: String, merchant_id: String }
|
120
|
-
|
121
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
122
|
-
attr_reader comment: String?
|
123
|
-
|
124
|
-
def comment=: (String) -> String
|
125
|
-
|
126
|
-
attr_reader descriptor: String?
|
127
|
-
|
128
|
-
def descriptor=: (String) -> String
|
129
|
-
|
130
|
-
attr_reader merchant_id: String?
|
131
|
-
|
132
|
-
def merchant_id=: (String) -> String
|
133
|
-
|
134
|
-
def initialize: (
|
135
|
-
?comment: String,
|
136
|
-
?descriptor: String,
|
137
|
-
?merchant_id: String
|
138
|
-
) -> void
|
139
|
-
|
140
|
-
def to_hash: -> {
|
141
|
-
comment: String,
|
142
|
-
descriptor: String,
|
143
|
-
merchant_id: String
|
144
|
-
}
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
type conditional3_ds_action_parameters =
|
149
|
-
{
|
150
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
151
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
152
|
-
}
|
153
|
-
|
154
|
-
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
155
|
-
attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action
|
156
|
-
|
157
|
-
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
158
|
-
|
159
|
-
def initialize: (
|
160
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
161
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
162
|
-
) -> void
|
163
|
-
|
164
|
-
def to_hash: -> {
|
165
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
166
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
167
|
-
}
|
168
|
-
|
169
|
-
type action = :DECLINE | :CHALLENGE
|
170
|
-
|
171
|
-
module Action
|
172
|
-
extend Lithic::Internal::Type::Enum
|
173
|
-
|
174
|
-
DECLINE: :DECLINE
|
175
|
-
CHALLENGE: :CHALLENGE
|
176
|
-
|
177
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action]
|
178
|
-
end
|
179
|
-
|
180
|
-
type condition =
|
181
|
-
{
|
182
|
-
attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
183
|
-
operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
184
|
-
value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
185
|
-
}
|
186
|
-
|
187
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
188
|
-
attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute?
|
189
|
-
|
190
|
-
def attribute=: (
|
191
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
192
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
193
|
-
|
194
|
-
attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation?
|
195
|
-
|
196
|
-
def operation=: (
|
197
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
198
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
199
|
-
|
200
|
-
attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value?
|
201
|
-
|
202
|
-
def value=: (
|
203
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
204
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
205
|
-
|
206
|
-
def initialize: (
|
207
|
-
?attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
208
|
-
?operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
209
|
-
?value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
210
|
-
) -> void
|
211
|
-
|
212
|
-
def to_hash: -> {
|
213
|
-
attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
214
|
-
operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
215
|
-
value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
216
|
-
}
|
217
|
-
|
218
|
-
type attribute =
|
219
|
-
:MCC
|
220
|
-
| :COUNTRY
|
221
|
-
| :CURRENCY
|
222
|
-
| :MERCHANT_ID
|
223
|
-
| :DESCRIPTOR
|
224
|
-
| :TRANSACTION_AMOUNT
|
225
|
-
| :RISK_SCORE
|
226
|
-
| :MESSAGE_CATEGORY
|
227
|
-
|
228
|
-
module Attribute
|
229
|
-
extend Lithic::Internal::Type::Enum
|
230
|
-
|
231
|
-
MCC: :MCC
|
232
|
-
COUNTRY: :COUNTRY
|
233
|
-
CURRENCY: :CURRENCY
|
234
|
-
MERCHANT_ID: :MERCHANT_ID
|
235
|
-
DESCRIPTOR: :DESCRIPTOR
|
236
|
-
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
237
|
-
RISK_SCORE: :RISK_SCORE
|
238
|
-
MESSAGE_CATEGORY: :MESSAGE_CATEGORY
|
239
|
-
|
240
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute]
|
241
|
-
end
|
242
|
-
|
243
|
-
type operation =
|
244
|
-
:IS_ONE_OF
|
245
|
-
| :IS_NOT_ONE_OF
|
246
|
-
| :MATCHES
|
247
|
-
| :DOES_NOT_MATCH
|
248
|
-
| :IS_GREATER_THAN
|
249
|
-
| :IS_LESS_THAN
|
250
|
-
|
251
|
-
module Operation
|
252
|
-
extend Lithic::Internal::Type::Enum
|
253
|
-
|
254
|
-
IS_ONE_OF: :IS_ONE_OF
|
255
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
256
|
-
MATCHES: :MATCHES
|
257
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
258
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
259
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
260
|
-
|
261
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation]
|
262
|
-
end
|
263
|
-
|
264
|
-
type value = String | Integer | ::Array[String]
|
265
|
-
|
266
|
-
module Value
|
267
|
-
extend Lithic::Internal::Type::Union
|
268
|
-
|
269
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value]
|
270
|
-
|
271
|
-
StringArray: Lithic::Internal::Type::Converter
|
272
|
-
end
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
102
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters]
|
277
103
|
end
|
278
104
|
end
|
@@ -301,186 +127,12 @@ module Lithic
|
|
301
127
|
type parameters =
|
302
128
|
Lithic::AuthRules::ConditionalBlockParameters
|
303
129
|
| Lithic::AuthRules::VelocityLimitParams
|
304
|
-
| Lithic::
|
305
|
-
| Lithic::
|
130
|
+
| Lithic::AuthRules::MerchantLockParameters
|
131
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
306
132
|
|
307
133
|
module Parameters
|
308
134
|
extend Lithic::Internal::Type::Union
|
309
135
|
|
310
|
-
type merchant_lock_parameters =
|
311
|
-
{
|
312
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
313
|
-
}
|
314
|
-
|
315
|
-
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
316
|
-
attr_accessor merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
317
|
-
|
318
|
-
def initialize: (
|
319
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
320
|
-
) -> void
|
321
|
-
|
322
|
-
def to_hash: -> {
|
323
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
324
|
-
}
|
325
|
-
|
326
|
-
type merchant =
|
327
|
-
{ comment: String, descriptor: String, merchant_id: String }
|
328
|
-
|
329
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
330
|
-
attr_reader comment: String?
|
331
|
-
|
332
|
-
def comment=: (String) -> String
|
333
|
-
|
334
|
-
attr_reader descriptor: String?
|
335
|
-
|
336
|
-
def descriptor=: (String) -> String
|
337
|
-
|
338
|
-
attr_reader merchant_id: String?
|
339
|
-
|
340
|
-
def merchant_id=: (String) -> String
|
341
|
-
|
342
|
-
def initialize: (
|
343
|
-
?comment: String,
|
344
|
-
?descriptor: String,
|
345
|
-
?merchant_id: String
|
346
|
-
) -> void
|
347
|
-
|
348
|
-
def to_hash: -> {
|
349
|
-
comment: String,
|
350
|
-
descriptor: String,
|
351
|
-
merchant_id: String
|
352
|
-
}
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
|
-
type conditional3_ds_action_parameters =
|
357
|
-
{
|
358
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
359
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
360
|
-
}
|
361
|
-
|
362
|
-
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
363
|
-
attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action
|
364
|
-
|
365
|
-
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
366
|
-
|
367
|
-
def initialize: (
|
368
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
369
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
370
|
-
) -> void
|
371
|
-
|
372
|
-
def to_hash: -> {
|
373
|
-
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
374
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
375
|
-
}
|
376
|
-
|
377
|
-
type action = :DECLINE | :CHALLENGE
|
378
|
-
|
379
|
-
module Action
|
380
|
-
extend Lithic::Internal::Type::Enum
|
381
|
-
|
382
|
-
DECLINE: :DECLINE
|
383
|
-
CHALLENGE: :CHALLENGE
|
384
|
-
|
385
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action]
|
386
|
-
end
|
387
|
-
|
388
|
-
type condition =
|
389
|
-
{
|
390
|
-
attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
391
|
-
operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
392
|
-
value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
393
|
-
}
|
394
|
-
|
395
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
396
|
-
attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute?
|
397
|
-
|
398
|
-
def attribute=: (
|
399
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
400
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
401
|
-
|
402
|
-
attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation?
|
403
|
-
|
404
|
-
def operation=: (
|
405
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
406
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
407
|
-
|
408
|
-
attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value?
|
409
|
-
|
410
|
-
def value=: (
|
411
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
412
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
413
|
-
|
414
|
-
def initialize: (
|
415
|
-
?attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
416
|
-
?operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
417
|
-
?value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
418
|
-
) -> void
|
419
|
-
|
420
|
-
def to_hash: -> {
|
421
|
-
attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
422
|
-
operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
423
|
-
value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
424
|
-
}
|
425
|
-
|
426
|
-
type attribute =
|
427
|
-
:MCC
|
428
|
-
| :COUNTRY
|
429
|
-
| :CURRENCY
|
430
|
-
| :MERCHANT_ID
|
431
|
-
| :DESCRIPTOR
|
432
|
-
| :TRANSACTION_AMOUNT
|
433
|
-
| :RISK_SCORE
|
434
|
-
| :MESSAGE_CATEGORY
|
435
|
-
|
436
|
-
module Attribute
|
437
|
-
extend Lithic::Internal::Type::Enum
|
438
|
-
|
439
|
-
MCC: :MCC
|
440
|
-
COUNTRY: :COUNTRY
|
441
|
-
CURRENCY: :CURRENCY
|
442
|
-
MERCHANT_ID: :MERCHANT_ID
|
443
|
-
DESCRIPTOR: :DESCRIPTOR
|
444
|
-
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
445
|
-
RISK_SCORE: :RISK_SCORE
|
446
|
-
MESSAGE_CATEGORY: :MESSAGE_CATEGORY
|
447
|
-
|
448
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute]
|
449
|
-
end
|
450
|
-
|
451
|
-
type operation =
|
452
|
-
:IS_ONE_OF
|
453
|
-
| :IS_NOT_ONE_OF
|
454
|
-
| :MATCHES
|
455
|
-
| :DOES_NOT_MATCH
|
456
|
-
| :IS_GREATER_THAN
|
457
|
-
| :IS_LESS_THAN
|
458
|
-
|
459
|
-
module Operation
|
460
|
-
extend Lithic::Internal::Type::Enum
|
461
|
-
|
462
|
-
IS_ONE_OF: :IS_ONE_OF
|
463
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
464
|
-
MATCHES: :MATCHES
|
465
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
466
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
467
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
468
|
-
|
469
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation]
|
470
|
-
end
|
471
|
-
|
472
|
-
type value = String | Integer | ::Array[String]
|
473
|
-
|
474
|
-
module Value
|
475
|
-
extend Lithic::Internal::Type::Union
|
476
|
-
|
477
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value]
|
478
|
-
|
479
|
-
StringArray: Lithic::Internal::Type::Converter
|
480
|
-
end
|
481
|
-
end
|
482
|
-
end
|
483
|
-
|
484
136
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters]
|
485
137
|
end
|
486
138
|
end
|