lithic 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/asa_request_webhook_event.rb +1010 -0
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/parsed_webhook_event.rb +818 -0
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +120 -0
- data/lib/lithic/resources/webhooks.rb +87 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +74 -17
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/asa_request_webhook_event.rbi +2229 -0
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +2 -2
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +15 -10
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +155 -0
- data/rbi/lithic/resources/webhooks.rbi +158 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/asa_request_webhook_event.rbs +881 -0
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +112 -0
- data/sig/lithic/resources/webhooks.rbs +135 -0
- metadata +173 -2
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DigitalWalletTokenizationResultWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Account token
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :account_token
|
|
17
|
+
|
|
18
|
+
# Card token
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :card_token
|
|
21
|
+
|
|
22
|
+
# Created date
|
|
23
|
+
sig { returns(Time) }
|
|
24
|
+
attr_accessor :created
|
|
25
|
+
|
|
26
|
+
# The type of event that occurred.
|
|
27
|
+
sig { returns(Symbol) }
|
|
28
|
+
attr_accessor :event_type
|
|
29
|
+
|
|
30
|
+
# The result of the tokenization request.
|
|
31
|
+
sig do
|
|
32
|
+
returns(
|
|
33
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
attr_reader :tokenization_result_details
|
|
37
|
+
|
|
38
|
+
sig do
|
|
39
|
+
params(
|
|
40
|
+
tokenization_result_details:
|
|
41
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::OrHash
|
|
42
|
+
).void
|
|
43
|
+
end
|
|
44
|
+
attr_writer :tokenization_result_details
|
|
45
|
+
|
|
46
|
+
# Tokenization token
|
|
47
|
+
sig { returns(String) }
|
|
48
|
+
attr_accessor :tokenization_token
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
account_token: String,
|
|
53
|
+
card_token: String,
|
|
54
|
+
created: Time,
|
|
55
|
+
tokenization_result_details:
|
|
56
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::OrHash,
|
|
57
|
+
tokenization_token: String,
|
|
58
|
+
event_type: Symbol
|
|
59
|
+
).returns(T.attached_class)
|
|
60
|
+
end
|
|
61
|
+
def self.new(
|
|
62
|
+
# Account token
|
|
63
|
+
account_token:,
|
|
64
|
+
# Card token
|
|
65
|
+
card_token:,
|
|
66
|
+
# Created date
|
|
67
|
+
created:,
|
|
68
|
+
# The result of the tokenization request.
|
|
69
|
+
tokenization_result_details:,
|
|
70
|
+
# Tokenization token
|
|
71
|
+
tokenization_token:,
|
|
72
|
+
# The type of event that occurred.
|
|
73
|
+
event_type: :"digital_wallet.tokenization_result"
|
|
74
|
+
)
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
sig do
|
|
78
|
+
override.returns(
|
|
79
|
+
{
|
|
80
|
+
account_token: String,
|
|
81
|
+
card_token: String,
|
|
82
|
+
created: Time,
|
|
83
|
+
event_type: Symbol,
|
|
84
|
+
tokenization_result_details:
|
|
85
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails,
|
|
86
|
+
tokenization_token: String
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
def to_hash
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
class TokenizationResultDetails < Lithic::Internal::Type::BaseModel
|
|
94
|
+
OrHash =
|
|
95
|
+
T.type_alias do
|
|
96
|
+
T.any(
|
|
97
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails,
|
|
98
|
+
Lithic::Internal::AnyHash
|
|
99
|
+
)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Lithic's tokenization decision.
|
|
103
|
+
sig { returns(String) }
|
|
104
|
+
attr_accessor :issuer_decision
|
|
105
|
+
|
|
106
|
+
# List of reasons why the tokenization was declined
|
|
107
|
+
sig do
|
|
108
|
+
returns(
|
|
109
|
+
T::Array[
|
|
110
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
111
|
+
]
|
|
112
|
+
)
|
|
113
|
+
end
|
|
114
|
+
attr_accessor :tokenization_decline_reasons
|
|
115
|
+
|
|
116
|
+
# The customer's tokenization decision if applicable.
|
|
117
|
+
sig { returns(T.nilable(String)) }
|
|
118
|
+
attr_accessor :customer_decision
|
|
119
|
+
|
|
120
|
+
# Results from rules that were evaluated for this tokenization
|
|
121
|
+
sig { returns(T.nilable(T::Array[Lithic::TokenizationRuleResult])) }
|
|
122
|
+
attr_reader :rule_results
|
|
123
|
+
|
|
124
|
+
sig do
|
|
125
|
+
params(
|
|
126
|
+
rule_results: T::Array[Lithic::TokenizationRuleResult::OrHash]
|
|
127
|
+
).void
|
|
128
|
+
end
|
|
129
|
+
attr_writer :rule_results
|
|
130
|
+
|
|
131
|
+
# An RFC 3339 timestamp indicating when the tokenization succeeded.
|
|
132
|
+
sig { returns(T.nilable(Time)) }
|
|
133
|
+
attr_accessor :token_activated_date_time
|
|
134
|
+
|
|
135
|
+
# List of reasons why two-factor authentication was required
|
|
136
|
+
sig do
|
|
137
|
+
returns(
|
|
138
|
+
T.nilable(T::Array[Lithic::TokenizationTfaReason::TaggedSymbol])
|
|
139
|
+
)
|
|
140
|
+
end
|
|
141
|
+
attr_reader :tokenization_tfa_reasons
|
|
142
|
+
|
|
143
|
+
sig do
|
|
144
|
+
params(
|
|
145
|
+
tokenization_tfa_reasons:
|
|
146
|
+
T::Array[Lithic::TokenizationTfaReason::OrSymbol]
|
|
147
|
+
).void
|
|
148
|
+
end
|
|
149
|
+
attr_writer :tokenization_tfa_reasons
|
|
150
|
+
|
|
151
|
+
# The wallet's recommended decision.
|
|
152
|
+
sig { returns(T.nilable(String)) }
|
|
153
|
+
attr_accessor :wallet_decision
|
|
154
|
+
|
|
155
|
+
# The result of the tokenization request.
|
|
156
|
+
sig do
|
|
157
|
+
params(
|
|
158
|
+
issuer_decision: String,
|
|
159
|
+
tokenization_decline_reasons:
|
|
160
|
+
T::Array[
|
|
161
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::OrSymbol
|
|
162
|
+
],
|
|
163
|
+
customer_decision: T.nilable(String),
|
|
164
|
+
rule_results: T::Array[Lithic::TokenizationRuleResult::OrHash],
|
|
165
|
+
token_activated_date_time: T.nilable(Time),
|
|
166
|
+
tokenization_tfa_reasons:
|
|
167
|
+
T::Array[Lithic::TokenizationTfaReason::OrSymbol],
|
|
168
|
+
wallet_decision: T.nilable(String)
|
|
169
|
+
).returns(T.attached_class)
|
|
170
|
+
end
|
|
171
|
+
def self.new(
|
|
172
|
+
# Lithic's tokenization decision.
|
|
173
|
+
issuer_decision:,
|
|
174
|
+
# List of reasons why the tokenization was declined
|
|
175
|
+
tokenization_decline_reasons:,
|
|
176
|
+
# The customer's tokenization decision if applicable.
|
|
177
|
+
customer_decision: nil,
|
|
178
|
+
# Results from rules that were evaluated for this tokenization
|
|
179
|
+
rule_results: nil,
|
|
180
|
+
# An RFC 3339 timestamp indicating when the tokenization succeeded.
|
|
181
|
+
token_activated_date_time: nil,
|
|
182
|
+
# List of reasons why two-factor authentication was required
|
|
183
|
+
tokenization_tfa_reasons: nil,
|
|
184
|
+
# The wallet's recommended decision.
|
|
185
|
+
wallet_decision: nil
|
|
186
|
+
)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
sig do
|
|
190
|
+
override.returns(
|
|
191
|
+
{
|
|
192
|
+
issuer_decision: String,
|
|
193
|
+
tokenization_decline_reasons:
|
|
194
|
+
T::Array[
|
|
195
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
196
|
+
],
|
|
197
|
+
customer_decision: T.nilable(String),
|
|
198
|
+
rule_results: T::Array[Lithic::TokenizationRuleResult],
|
|
199
|
+
token_activated_date_time: T.nilable(Time),
|
|
200
|
+
tokenization_tfa_reasons:
|
|
201
|
+
T::Array[Lithic::TokenizationTfaReason::TaggedSymbol],
|
|
202
|
+
wallet_decision: T.nilable(String)
|
|
203
|
+
}
|
|
204
|
+
)
|
|
205
|
+
end
|
|
206
|
+
def to_hash
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
module TokenizationDeclineReason
|
|
210
|
+
extend Lithic::Internal::Type::Enum
|
|
211
|
+
|
|
212
|
+
TaggedSymbol =
|
|
213
|
+
T.type_alias do
|
|
214
|
+
T.all(
|
|
215
|
+
Symbol,
|
|
216
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
220
|
+
|
|
221
|
+
ACCOUNT_SCORE_1 =
|
|
222
|
+
T.let(
|
|
223
|
+
:ACCOUNT_SCORE_1,
|
|
224
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
225
|
+
)
|
|
226
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT =
|
|
227
|
+
T.let(
|
|
228
|
+
:ALL_WALLET_DECLINE_REASONS_PRESENT,
|
|
229
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
230
|
+
)
|
|
231
|
+
CARD_EXPIRY_MONTH_MISMATCH =
|
|
232
|
+
T.let(
|
|
233
|
+
:CARD_EXPIRY_MONTH_MISMATCH,
|
|
234
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
235
|
+
)
|
|
236
|
+
CARD_EXPIRY_YEAR_MISMATCH =
|
|
237
|
+
T.let(
|
|
238
|
+
:CARD_EXPIRY_YEAR_MISMATCH,
|
|
239
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
240
|
+
)
|
|
241
|
+
CARD_INVALID_STATE =
|
|
242
|
+
T.let(
|
|
243
|
+
:CARD_INVALID_STATE,
|
|
244
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
245
|
+
)
|
|
246
|
+
CUSTOMER_RED_PATH =
|
|
247
|
+
T.let(
|
|
248
|
+
:CUSTOMER_RED_PATH,
|
|
249
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
250
|
+
)
|
|
251
|
+
CVC_MISMATCH =
|
|
252
|
+
T.let(
|
|
253
|
+
:CVC_MISMATCH,
|
|
254
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
255
|
+
)
|
|
256
|
+
DEVICE_SCORE_1 =
|
|
257
|
+
T.let(
|
|
258
|
+
:DEVICE_SCORE_1,
|
|
259
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
260
|
+
)
|
|
261
|
+
GENERIC_DECLINE =
|
|
262
|
+
T.let(
|
|
263
|
+
:GENERIC_DECLINE,
|
|
264
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
265
|
+
)
|
|
266
|
+
INVALID_CUSTOMER_RESPONSE =
|
|
267
|
+
T.let(
|
|
268
|
+
:INVALID_CUSTOMER_RESPONSE,
|
|
269
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
270
|
+
)
|
|
271
|
+
NETWORK_FAILURE =
|
|
272
|
+
T.let(
|
|
273
|
+
:NETWORK_FAILURE,
|
|
274
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
275
|
+
)
|
|
276
|
+
WALLET_RECOMMENDED_DECISION_RED =
|
|
277
|
+
T.let(
|
|
278
|
+
:WALLET_RECOMMENDED_DECISION_RED,
|
|
279
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
sig do
|
|
283
|
+
override.returns(
|
|
284
|
+
T::Array[
|
|
285
|
+
Lithic::DigitalWalletTokenizationResultWebhookEvent::TokenizationResultDetails::TokenizationDeclineReason::TaggedSymbol
|
|
286
|
+
]
|
|
287
|
+
)
|
|
288
|
+
end
|
|
289
|
+
def self.values
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
end
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Unique identifier for the user tokenizing a card
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :account_token
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
returns(
|
|
20
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod
|
|
21
|
+
)
|
|
22
|
+
end
|
|
23
|
+
attr_reader :activation_method
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
params(
|
|
27
|
+
activation_method:
|
|
28
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::OrHash
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :activation_method
|
|
32
|
+
|
|
33
|
+
# Unique identifier for the card being tokenized
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :card_token
|
|
36
|
+
|
|
37
|
+
# Indicate when the request was received from Mastercard or Visa
|
|
38
|
+
sig { returns(Time) }
|
|
39
|
+
attr_accessor :created
|
|
40
|
+
|
|
41
|
+
# The type of event that occurred.
|
|
42
|
+
sig { returns(Symbol) }
|
|
43
|
+
attr_accessor :event_type
|
|
44
|
+
|
|
45
|
+
# Unique identifier for the tokenization
|
|
46
|
+
sig { returns(String) }
|
|
47
|
+
attr_accessor :tokenization_token
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
account_token: String,
|
|
52
|
+
activation_method:
|
|
53
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::OrHash,
|
|
54
|
+
card_token: String,
|
|
55
|
+
created: Time,
|
|
56
|
+
tokenization_token: String,
|
|
57
|
+
event_type: Symbol
|
|
58
|
+
).returns(T.attached_class)
|
|
59
|
+
end
|
|
60
|
+
def self.new(
|
|
61
|
+
# Unique identifier for the user tokenizing a card
|
|
62
|
+
account_token:,
|
|
63
|
+
activation_method:,
|
|
64
|
+
# Unique identifier for the card being tokenized
|
|
65
|
+
card_token:,
|
|
66
|
+
# Indicate when the request was received from Mastercard or Visa
|
|
67
|
+
created:,
|
|
68
|
+
# Unique identifier for the tokenization
|
|
69
|
+
tokenization_token:,
|
|
70
|
+
# The type of event that occurred.
|
|
71
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
72
|
+
)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
sig do
|
|
76
|
+
override.returns(
|
|
77
|
+
{
|
|
78
|
+
account_token: String,
|
|
79
|
+
activation_method:
|
|
80
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
81
|
+
card_token: String,
|
|
82
|
+
created: Time,
|
|
83
|
+
event_type: Symbol,
|
|
84
|
+
tokenization_token: String
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
end
|
|
88
|
+
def to_hash
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
92
|
+
OrHash =
|
|
93
|
+
T.type_alias do
|
|
94
|
+
T.any(
|
|
95
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
96
|
+
Lithic::Internal::AnyHash
|
|
97
|
+
)
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# The communication method that the user has selected to use to receive the
|
|
101
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
102
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
103
|
+
sig do
|
|
104
|
+
returns(
|
|
105
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
attr_accessor :type
|
|
109
|
+
|
|
110
|
+
# The location to which the authentication code was sent. The format depends on
|
|
111
|
+
# the ActivationMethod.Type field. If Type is Email, the Value will be the email
|
|
112
|
+
# address. If the Type is Sms, the Value will be the phone number.
|
|
113
|
+
sig { returns(String) }
|
|
114
|
+
attr_accessor :value
|
|
115
|
+
|
|
116
|
+
sig do
|
|
117
|
+
params(
|
|
118
|
+
type:
|
|
119
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::OrSymbol,
|
|
120
|
+
value: String
|
|
121
|
+
).returns(T.attached_class)
|
|
122
|
+
end
|
|
123
|
+
def self.new(
|
|
124
|
+
# The communication method that the user has selected to use to receive the
|
|
125
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
126
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
127
|
+
type:,
|
|
128
|
+
# The location to which the authentication code was sent. The format depends on
|
|
129
|
+
# the ActivationMethod.Type field. If Type is Email, the Value will be the email
|
|
130
|
+
# address. If the Type is Sms, the Value will be the phone number.
|
|
131
|
+
value:
|
|
132
|
+
)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
sig do
|
|
136
|
+
override.returns(
|
|
137
|
+
{
|
|
138
|
+
type:
|
|
139
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::TaggedSymbol,
|
|
140
|
+
value: String
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
end
|
|
144
|
+
def to_hash
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# The communication method that the user has selected to use to receive the
|
|
148
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
149
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
150
|
+
module Type
|
|
151
|
+
extend Lithic::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
TaggedSymbol =
|
|
154
|
+
T.type_alias do
|
|
155
|
+
T.all(
|
|
156
|
+
Symbol,
|
|
157
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type
|
|
158
|
+
)
|
|
159
|
+
end
|
|
160
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
161
|
+
|
|
162
|
+
EMAIL_TO_CARDHOLDER_ADDRESS =
|
|
163
|
+
T.let(
|
|
164
|
+
:EMAIL_TO_CARDHOLDER_ADDRESS,
|
|
165
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
166
|
+
)
|
|
167
|
+
TEXT_TO_CARDHOLDER_NUMBER =
|
|
168
|
+
T.let(
|
|
169
|
+
:TEXT_TO_CARDHOLDER_NUMBER,
|
|
170
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
sig do
|
|
174
|
+
override.returns(
|
|
175
|
+
T::Array[
|
|
176
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
177
|
+
]
|
|
178
|
+
)
|
|
179
|
+
end
|
|
180
|
+
def self.values
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Unique identifier for the user tokenizing a card
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :account_token
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
returns(
|
|
20
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod
|
|
21
|
+
)
|
|
22
|
+
end
|
|
23
|
+
attr_reader :activation_method
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
params(
|
|
27
|
+
activation_method:
|
|
28
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::OrHash
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :activation_method
|
|
32
|
+
|
|
33
|
+
# Authentication code to provide to the user tokenizing a card.
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :authentication_code
|
|
36
|
+
|
|
37
|
+
# Unique identifier for the card being tokenized
|
|
38
|
+
sig { returns(String) }
|
|
39
|
+
attr_accessor :card_token
|
|
40
|
+
|
|
41
|
+
# Indicate when the request was received from Mastercard or Visa
|
|
42
|
+
sig { returns(Time) }
|
|
43
|
+
attr_accessor :created
|
|
44
|
+
|
|
45
|
+
# The type of event that occurred.
|
|
46
|
+
sig { returns(Symbol) }
|
|
47
|
+
attr_accessor :event_type
|
|
48
|
+
|
|
49
|
+
# Unique identifier for the tokenization
|
|
50
|
+
sig { returns(String) }
|
|
51
|
+
attr_accessor :tokenization_token
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
account_token: String,
|
|
56
|
+
activation_method:
|
|
57
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::OrHash,
|
|
58
|
+
authentication_code: String,
|
|
59
|
+
card_token: String,
|
|
60
|
+
created: Time,
|
|
61
|
+
tokenization_token: String,
|
|
62
|
+
event_type: Symbol
|
|
63
|
+
).returns(T.attached_class)
|
|
64
|
+
end
|
|
65
|
+
def self.new(
|
|
66
|
+
# Unique identifier for the user tokenizing a card
|
|
67
|
+
account_token:,
|
|
68
|
+
activation_method:,
|
|
69
|
+
# Authentication code to provide to the user tokenizing a card.
|
|
70
|
+
authentication_code:,
|
|
71
|
+
# Unique identifier for the card being tokenized
|
|
72
|
+
card_token:,
|
|
73
|
+
# Indicate when the request was received from Mastercard or Visa
|
|
74
|
+
created:,
|
|
75
|
+
# Unique identifier for the tokenization
|
|
76
|
+
tokenization_token:,
|
|
77
|
+
# The type of event that occurred.
|
|
78
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
sig do
|
|
83
|
+
override.returns(
|
|
84
|
+
{
|
|
85
|
+
account_token: String,
|
|
86
|
+
activation_method:
|
|
87
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
88
|
+
authentication_code: String,
|
|
89
|
+
card_token: String,
|
|
90
|
+
created: Time,
|
|
91
|
+
event_type: Symbol,
|
|
92
|
+
tokenization_token: String
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
def to_hash
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
100
|
+
OrHash =
|
|
101
|
+
T.type_alias do
|
|
102
|
+
T.any(
|
|
103
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
104
|
+
Lithic::Internal::AnyHash
|
|
105
|
+
)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# The communication method that the user has selected to use to receive the
|
|
109
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
110
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
111
|
+
sig do
|
|
112
|
+
returns(
|
|
113
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
attr_accessor :type
|
|
117
|
+
|
|
118
|
+
# The location where the user wants to receive the authentication code. The format
|
|
119
|
+
# depends on the ActivationMethod.Type field. If Type is Email, the Value will be
|
|
120
|
+
# the email address. If the Type is Sms, the Value will be the phone number.
|
|
121
|
+
sig { returns(String) }
|
|
122
|
+
attr_accessor :value
|
|
123
|
+
|
|
124
|
+
sig do
|
|
125
|
+
params(
|
|
126
|
+
type:
|
|
127
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::OrSymbol,
|
|
128
|
+
value: String
|
|
129
|
+
).returns(T.attached_class)
|
|
130
|
+
end
|
|
131
|
+
def self.new(
|
|
132
|
+
# The communication method that the user has selected to use to receive the
|
|
133
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
134
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
135
|
+
type:,
|
|
136
|
+
# The location where the user wants to receive the authentication code. The format
|
|
137
|
+
# depends on the ActivationMethod.Type field. If Type is Email, the Value will be
|
|
138
|
+
# the email address. If the Type is Sms, the Value will be the phone number.
|
|
139
|
+
value:
|
|
140
|
+
)
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
sig do
|
|
144
|
+
override.returns(
|
|
145
|
+
{
|
|
146
|
+
type:
|
|
147
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::TaggedSymbol,
|
|
148
|
+
value: String
|
|
149
|
+
}
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
def to_hash
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# The communication method that the user has selected to use to receive the
|
|
156
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
|
157
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
|
158
|
+
module Type
|
|
159
|
+
extend Lithic::Internal::Type::Enum
|
|
160
|
+
|
|
161
|
+
TaggedSymbol =
|
|
162
|
+
T.type_alias do
|
|
163
|
+
T.all(
|
|
164
|
+
Symbol,
|
|
165
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type
|
|
166
|
+
)
|
|
167
|
+
end
|
|
168
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
169
|
+
|
|
170
|
+
EMAIL_TO_CARDHOLDER_ADDRESS =
|
|
171
|
+
T.let(
|
|
172
|
+
:EMAIL_TO_CARDHOLDER_ADDRESS,
|
|
173
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
174
|
+
)
|
|
175
|
+
TEXT_TO_CARDHOLDER_NUMBER =
|
|
176
|
+
T.let(
|
|
177
|
+
:TEXT_TO_CARDHOLDER_NUMBER,
|
|
178
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
sig do
|
|
182
|
+
override.returns(
|
|
183
|
+
T::Array[
|
|
184
|
+
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type::TaggedSymbol
|
|
185
|
+
]
|
|
186
|
+
)
|
|
187
|
+
end
|
|
188
|
+
def self.values
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|