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,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type settlement_report_updated_webhook_event =
|
|
4
|
+
{ event_type: :"settlement_report.updated" }
|
|
5
|
+
|
|
6
|
+
class SettlementReportUpdatedWebhookEvent < Lithic::Models::SettlementReport
|
|
7
|
+
def event_type: -> :"settlement_report.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"settlement_report.updated" _
|
|
11
|
+
) -> :"settlement_report.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"settlement_report.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"settlement_report.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type statements_created_webhook_event =
|
|
4
|
+
{ event_type: :"statements.created" }
|
|
5
|
+
|
|
6
|
+
class StatementsCreatedWebhookEvent < Lithic::Models::FinancialAccounts::Statement
|
|
7
|
+
def event_type: -> :"statements.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (:"statements.created" _) -> :"statements.created"
|
|
10
|
+
|
|
11
|
+
def initialize: (?event_type: :"statements.created") -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { event_type: :"statements.created" }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type three_ds_authentication_challenge_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
authentication_object: Lithic::ThreeDSAuthentication,
|
|
6
|
+
challenge: Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge,
|
|
7
|
+
event_type: :"three_ds_authentication.challenge"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class ThreeDSAuthenticationChallengeWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor authentication_object: Lithic::ThreeDSAuthentication
|
|
12
|
+
|
|
13
|
+
attr_accessor challenge: Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge
|
|
14
|
+
|
|
15
|
+
attr_accessor event_type: :"three_ds_authentication.challenge"
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
authentication_object: Lithic::ThreeDSAuthentication,
|
|
19
|
+
challenge: Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge,
|
|
20
|
+
?event_type: :"three_ds_authentication.challenge"
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
authentication_object: Lithic::ThreeDSAuthentication,
|
|
25
|
+
challenge: Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge,
|
|
26
|
+
event_type: :"three_ds_authentication.challenge"
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type challenge =
|
|
30
|
+
{
|
|
31
|
+
challenge_method_type: Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::challenge_method_type,
|
|
32
|
+
expiry_time: Time,
|
|
33
|
+
start_time: Time,
|
|
34
|
+
app_requestor_url: String?
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
class Challenge < Lithic::Internal::Type::BaseModel
|
|
38
|
+
attr_accessor challenge_method_type: Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::challenge_method_type
|
|
39
|
+
|
|
40
|
+
attr_accessor expiry_time: Time
|
|
41
|
+
|
|
42
|
+
attr_accessor start_time: Time
|
|
43
|
+
|
|
44
|
+
attr_accessor app_requestor_url: String?
|
|
45
|
+
|
|
46
|
+
def initialize: (
|
|
47
|
+
challenge_method_type: Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::challenge_method_type,
|
|
48
|
+
expiry_time: Time,
|
|
49
|
+
start_time: Time,
|
|
50
|
+
?app_requestor_url: String?
|
|
51
|
+
) -> void
|
|
52
|
+
|
|
53
|
+
def to_hash: -> {
|
|
54
|
+
challenge_method_type: Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::challenge_method_type,
|
|
55
|
+
expiry_time: Time,
|
|
56
|
+
start_time: Time,
|
|
57
|
+
app_requestor_url: String?
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type challenge_method_type = :OUT_OF_BAND
|
|
61
|
+
|
|
62
|
+
module ChallengeMethodType
|
|
63
|
+
extend Lithic::Internal::Type::Enum
|
|
64
|
+
|
|
65
|
+
OUT_OF_BAND: :OUT_OF_BAND
|
|
66
|
+
|
|
67
|
+
def self?.values: -> ::Array[Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::challenge_method_type]
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type three_ds_authentication_created_webhook_event =
|
|
4
|
+
{ event_type: :"three_ds_authentication.created" }
|
|
5
|
+
|
|
6
|
+
class ThreeDSAuthenticationCreatedWebhookEvent < Lithic::Models::ThreeDSAuthentication
|
|
7
|
+
def event_type: -> :"three_ds_authentication.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"three_ds_authentication.created" _
|
|
11
|
+
) -> :"three_ds_authentication.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"three_ds_authentication.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"three_ds_authentication.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type three_ds_authentication_updated_webhook_event =
|
|
4
|
+
{ event_type: :"three_ds_authentication.updated" }
|
|
5
|
+
|
|
6
|
+
class ThreeDSAuthenticationUpdatedWebhookEvent < Lithic::Models::ThreeDSAuthentication
|
|
7
|
+
def event_type: -> :"three_ds_authentication.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"three_ds_authentication.updated" _
|
|
11
|
+
) -> :"three_ds_authentication.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"three_ds_authentication.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"three_ds_authentication.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_approval_request_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
card_token: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
9
|
+
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
10
|
+
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
11
|
+
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
12
|
+
tokenization_token: String,
|
|
13
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
14
|
+
device: Lithic::Device,
|
|
15
|
+
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
16
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
17
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
18
|
+
tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
19
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
class TokenizationApprovalRequestWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
23
|
+
attr_accessor account_token: String
|
|
24
|
+
|
|
25
|
+
attr_accessor card_token: String
|
|
26
|
+
|
|
27
|
+
attr_accessor created: Time
|
|
28
|
+
|
|
29
|
+
attr_accessor customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?
|
|
30
|
+
|
|
31
|
+
attr_accessor event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type
|
|
32
|
+
|
|
33
|
+
attr_accessor issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision
|
|
34
|
+
|
|
35
|
+
attr_accessor tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel
|
|
36
|
+
|
|
37
|
+
attr_accessor tokenization_token: String
|
|
38
|
+
|
|
39
|
+
attr_accessor wallet_decisioning_info: Lithic::WalletDecisioningInfo
|
|
40
|
+
|
|
41
|
+
attr_reader device: Lithic::Device?
|
|
42
|
+
|
|
43
|
+
def device=: (Lithic::Device) -> Lithic::Device
|
|
44
|
+
|
|
45
|
+
attr_reader digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata?
|
|
46
|
+
|
|
47
|
+
def digital_wallet_token_metadata=: (
|
|
48
|
+
Lithic::DigitalWalletTokenMetadata
|
|
49
|
+
) -> Lithic::DigitalWalletTokenMetadata
|
|
50
|
+
|
|
51
|
+
attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
|
|
52
|
+
|
|
53
|
+
def rule_results=: (
|
|
54
|
+
::Array[Lithic::TokenizationRuleResult]
|
|
55
|
+
) -> ::Array[Lithic::TokenizationRuleResult]
|
|
56
|
+
|
|
57
|
+
attr_reader tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason]?
|
|
58
|
+
|
|
59
|
+
def tokenization_decline_reasons=: (
|
|
60
|
+
::Array[Lithic::Models::tokenization_decline_reason]
|
|
61
|
+
) -> ::Array[Lithic::Models::tokenization_decline_reason]
|
|
62
|
+
|
|
63
|
+
attr_reader tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source?
|
|
64
|
+
|
|
65
|
+
def tokenization_source=: (
|
|
66
|
+
Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source
|
|
67
|
+
) -> Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source
|
|
68
|
+
|
|
69
|
+
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]?
|
|
70
|
+
|
|
71
|
+
def tokenization_tfa_reasons=: (
|
|
72
|
+
::Array[Lithic::Models::tokenization_tfa_reason]
|
|
73
|
+
) -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
74
|
+
|
|
75
|
+
def initialize: (
|
|
76
|
+
account_token: String,
|
|
77
|
+
card_token: String,
|
|
78
|
+
created: Time,
|
|
79
|
+
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
80
|
+
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
81
|
+
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
82
|
+
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
83
|
+
tokenization_token: String,
|
|
84
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
85
|
+
?device: Lithic::Device,
|
|
86
|
+
?digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
87
|
+
?rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
88
|
+
?tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
89
|
+
?tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
90
|
+
?tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
91
|
+
) -> void
|
|
92
|
+
|
|
93
|
+
def to_hash: -> {
|
|
94
|
+
account_token: String,
|
|
95
|
+
card_token: String,
|
|
96
|
+
created: Time,
|
|
97
|
+
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
98
|
+
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
99
|
+
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
100
|
+
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
101
|
+
tokenization_token: String,
|
|
102
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
103
|
+
device: Lithic::Device,
|
|
104
|
+
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
105
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
106
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
107
|
+
tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
108
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
type customer_tokenization_decision =
|
|
112
|
+
{
|
|
113
|
+
outcome: Lithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::outcome,
|
|
114
|
+
responder_url: String,
|
|
115
|
+
latency: String,
|
|
116
|
+
response_code: String
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
class CustomerTokenizationDecision < Lithic::Internal::Type::BaseModel
|
|
120
|
+
attr_accessor outcome: Lithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::outcome
|
|
121
|
+
|
|
122
|
+
attr_accessor responder_url: String
|
|
123
|
+
|
|
124
|
+
attr_reader latency: String?
|
|
125
|
+
|
|
126
|
+
def latency=: (String) -> String
|
|
127
|
+
|
|
128
|
+
attr_reader response_code: String?
|
|
129
|
+
|
|
130
|
+
def response_code=: (String) -> String
|
|
131
|
+
|
|
132
|
+
def initialize: (
|
|
133
|
+
outcome: Lithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::outcome,
|
|
134
|
+
responder_url: String,
|
|
135
|
+
?latency: String,
|
|
136
|
+
?response_code: String
|
|
137
|
+
) -> void
|
|
138
|
+
|
|
139
|
+
def to_hash: -> {
|
|
140
|
+
outcome: Lithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::outcome,
|
|
141
|
+
responder_url: String,
|
|
142
|
+
latency: String,
|
|
143
|
+
response_code: String
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
type outcome =
|
|
147
|
+
:APPROVED
|
|
148
|
+
| :DECLINED
|
|
149
|
+
| :ERROR
|
|
150
|
+
| :INVALID_RESPONSE
|
|
151
|
+
| :REQUIRE_ADDITIONAL_AUTHENTICATION
|
|
152
|
+
| :TIMEOUT
|
|
153
|
+
|
|
154
|
+
module Outcome
|
|
155
|
+
extend Lithic::Internal::Type::Enum
|
|
156
|
+
|
|
157
|
+
APPROVED: :APPROVED
|
|
158
|
+
DECLINED: :DECLINED
|
|
159
|
+
ERROR: :ERROR
|
|
160
|
+
INVALID_RESPONSE: :INVALID_RESPONSE
|
|
161
|
+
REQUIRE_ADDITIONAL_AUTHENTICATION: :REQUIRE_ADDITIONAL_AUTHENTICATION
|
|
162
|
+
TIMEOUT: :TIMEOUT
|
|
163
|
+
|
|
164
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::outcome]
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
type event_type = :"tokenization.approval_request"
|
|
169
|
+
|
|
170
|
+
module EventType
|
|
171
|
+
extend Lithic::Internal::Type::Enum
|
|
172
|
+
|
|
173
|
+
TOKENIZATION_APPROVAL_REQUEST: :"tokenization.approval_request"
|
|
174
|
+
|
|
175
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type]
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
type issuer_decision = :APPROVED | :DENIED | :VERIFICATION_REQUIRED
|
|
179
|
+
|
|
180
|
+
module IssuerDecision
|
|
181
|
+
extend Lithic::Internal::Type::Enum
|
|
182
|
+
|
|
183
|
+
APPROVED: :APPROVED
|
|
184
|
+
DENIED: :DENIED
|
|
185
|
+
VERIFICATION_REQUIRED: :VERIFICATION_REQUIRED
|
|
186
|
+
|
|
187
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision]
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
type tokenization_channel = :DIGITAL_WALLET | :MERCHANT
|
|
191
|
+
|
|
192
|
+
module TokenizationChannel
|
|
193
|
+
extend Lithic::Internal::Type::Enum
|
|
194
|
+
|
|
195
|
+
DIGITAL_WALLET: :DIGITAL_WALLET
|
|
196
|
+
MERCHANT: :MERCHANT
|
|
197
|
+
|
|
198
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel]
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
type tokenization_source =
|
|
202
|
+
:ACCOUNT_ON_FILE
|
|
203
|
+
| :CONTACTLESS_TAP
|
|
204
|
+
| :MANUAL_PROVISION
|
|
205
|
+
| :PUSH_PROVISION
|
|
206
|
+
| :TOKEN
|
|
207
|
+
| :UNKNOWN
|
|
208
|
+
|
|
209
|
+
module TokenizationSource
|
|
210
|
+
extend Lithic::Internal::Type::Enum
|
|
211
|
+
|
|
212
|
+
ACCOUNT_ON_FILE: :ACCOUNT_ON_FILE
|
|
213
|
+
CONTACTLESS_TAP: :CONTACTLESS_TAP
|
|
214
|
+
MANUAL_PROVISION: :MANUAL_PROVISION
|
|
215
|
+
PUSH_PROVISION: :PUSH_PROVISION
|
|
216
|
+
TOKEN: :TOKEN
|
|
217
|
+
UNKNOWN: :UNKNOWN
|
|
218
|
+
|
|
219
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source]
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_decisioning_request_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
card_token: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
9
|
+
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
10
|
+
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
11
|
+
tokenization_token: String,
|
|
12
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
13
|
+
device: Lithic::Device,
|
|
14
|
+
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
15
|
+
tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class TokenizationDecisioningRequestWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
19
|
+
attr_accessor account_token: String
|
|
20
|
+
|
|
21
|
+
attr_accessor card_token: String
|
|
22
|
+
|
|
23
|
+
attr_accessor created: Time
|
|
24
|
+
|
|
25
|
+
attr_accessor event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type
|
|
26
|
+
|
|
27
|
+
attr_accessor issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision
|
|
28
|
+
|
|
29
|
+
attr_accessor tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel
|
|
30
|
+
|
|
31
|
+
attr_accessor tokenization_token: String
|
|
32
|
+
|
|
33
|
+
attr_accessor wallet_decisioning_info: Lithic::WalletDecisioningInfo
|
|
34
|
+
|
|
35
|
+
attr_reader device: Lithic::Device?
|
|
36
|
+
|
|
37
|
+
def device=: (Lithic::Device) -> Lithic::Device
|
|
38
|
+
|
|
39
|
+
attr_reader digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata?
|
|
40
|
+
|
|
41
|
+
def digital_wallet_token_metadata=: (
|
|
42
|
+
Lithic::DigitalWalletTokenMetadata
|
|
43
|
+
) -> Lithic::DigitalWalletTokenMetadata
|
|
44
|
+
|
|
45
|
+
attr_reader tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source?
|
|
46
|
+
|
|
47
|
+
def tokenization_source=: (
|
|
48
|
+
Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
49
|
+
) -> Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
50
|
+
|
|
51
|
+
def initialize: (
|
|
52
|
+
account_token: String,
|
|
53
|
+
card_token: String,
|
|
54
|
+
created: Time,
|
|
55
|
+
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
56
|
+
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
57
|
+
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
58
|
+
tokenization_token: String,
|
|
59
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
60
|
+
?device: Lithic::Device,
|
|
61
|
+
?digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
62
|
+
?tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
63
|
+
) -> void
|
|
64
|
+
|
|
65
|
+
def to_hash: -> {
|
|
66
|
+
account_token: String,
|
|
67
|
+
card_token: String,
|
|
68
|
+
created: Time,
|
|
69
|
+
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
70
|
+
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
71
|
+
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
72
|
+
tokenization_token: String,
|
|
73
|
+
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
74
|
+
device: Lithic::Device,
|
|
75
|
+
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
76
|
+
tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type event_type = :"digital_wallet.tokenization_approval_request"
|
|
80
|
+
|
|
81
|
+
module EventType
|
|
82
|
+
extend Lithic::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST: :"digital_wallet.tokenization_approval_request"
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
type issuer_decision = :APPROVED | :DENIED | :VERIFICATION_REQUIRED
|
|
90
|
+
|
|
91
|
+
module IssuerDecision
|
|
92
|
+
extend Lithic::Internal::Type::Enum
|
|
93
|
+
|
|
94
|
+
APPROVED: :APPROVED
|
|
95
|
+
DENIED: :DENIED
|
|
96
|
+
VERIFICATION_REQUIRED: :VERIFICATION_REQUIRED
|
|
97
|
+
|
|
98
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision]
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
type tokenization_channel = :DIGITAL_WALLET | :MERCHANT
|
|
102
|
+
|
|
103
|
+
module TokenizationChannel
|
|
104
|
+
extend Lithic::Internal::Type::Enum
|
|
105
|
+
|
|
106
|
+
DIGITAL_WALLET: :DIGITAL_WALLET
|
|
107
|
+
MERCHANT: :MERCHANT
|
|
108
|
+
|
|
109
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
type tokenization_source =
|
|
113
|
+
:ACCOUNT_ON_FILE
|
|
114
|
+
| :CONTACTLESS_TAP
|
|
115
|
+
| :MANUAL_PROVISION
|
|
116
|
+
| :PUSH_PROVISION
|
|
117
|
+
| :TOKEN
|
|
118
|
+
| :UNKNOWN
|
|
119
|
+
|
|
120
|
+
module TokenizationSource
|
|
121
|
+
extend Lithic::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
ACCOUNT_ON_FILE: :ACCOUNT_ON_FILE
|
|
124
|
+
CONTACTLESS_TAP: :CONTACTLESS_TAP
|
|
125
|
+
MANUAL_PROVISION: :MANUAL_PROVISION
|
|
126
|
+
PUSH_PROVISION: :PUSH_PROVISION
|
|
127
|
+
TOKEN: :TOKEN
|
|
128
|
+
UNKNOWN: :UNKNOWN
|
|
129
|
+
|
|
130
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source]
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_result_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
card_token: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
event_type: :"tokenization.result",
|
|
9
|
+
tokenization_result_details: Lithic::TokenizationResultWebhookEvent::TokenizationResultDetails,
|
|
10
|
+
tokenization_token: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class TokenizationResultWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor account_token: String
|
|
15
|
+
|
|
16
|
+
attr_accessor card_token: String
|
|
17
|
+
|
|
18
|
+
attr_accessor created: Time
|
|
19
|
+
|
|
20
|
+
attr_accessor event_type: :"tokenization.result"
|
|
21
|
+
|
|
22
|
+
attr_accessor tokenization_result_details: Lithic::TokenizationResultWebhookEvent::TokenizationResultDetails
|
|
23
|
+
|
|
24
|
+
attr_accessor tokenization_token: String
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
account_token: String,
|
|
28
|
+
card_token: String,
|
|
29
|
+
created: Time,
|
|
30
|
+
tokenization_result_details: Lithic::TokenizationResultWebhookEvent::TokenizationResultDetails,
|
|
31
|
+
tokenization_token: String,
|
|
32
|
+
?event_type: :"tokenization.result"
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
account_token: String,
|
|
37
|
+
card_token: String,
|
|
38
|
+
created: Time,
|
|
39
|
+
event_type: :"tokenization.result",
|
|
40
|
+
tokenization_result_details: Lithic::TokenizationResultWebhookEvent::TokenizationResultDetails,
|
|
41
|
+
tokenization_token: String
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type tokenization_result_details =
|
|
45
|
+
{
|
|
46
|
+
issuer_decision: String,
|
|
47
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails::tokenization_decline_reason],
|
|
48
|
+
customer_decision: String?,
|
|
49
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
50
|
+
token_activated_date_time: Time?,
|
|
51
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
52
|
+
wallet_decision: String?
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class TokenizationResultDetails < Lithic::Internal::Type::BaseModel
|
|
56
|
+
attr_accessor issuer_decision: String
|
|
57
|
+
|
|
58
|
+
attr_accessor tokenization_decline_reasons: ::Array[Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails::tokenization_decline_reason]
|
|
59
|
+
|
|
60
|
+
attr_accessor customer_decision: String?
|
|
61
|
+
|
|
62
|
+
attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
|
|
63
|
+
|
|
64
|
+
def rule_results=: (
|
|
65
|
+
::Array[Lithic::TokenizationRuleResult]
|
|
66
|
+
) -> ::Array[Lithic::TokenizationRuleResult]
|
|
67
|
+
|
|
68
|
+
attr_accessor token_activated_date_time: Time?
|
|
69
|
+
|
|
70
|
+
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]?
|
|
71
|
+
|
|
72
|
+
def tokenization_tfa_reasons=: (
|
|
73
|
+
::Array[Lithic::Models::tokenization_tfa_reason]
|
|
74
|
+
) -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
75
|
+
|
|
76
|
+
attr_accessor wallet_decision: String?
|
|
77
|
+
|
|
78
|
+
def initialize: (
|
|
79
|
+
issuer_decision: String,
|
|
80
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails::tokenization_decline_reason],
|
|
81
|
+
?customer_decision: String?,
|
|
82
|
+
?rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
83
|
+
?token_activated_date_time: Time?,
|
|
84
|
+
?tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
85
|
+
?wallet_decision: String?
|
|
86
|
+
) -> void
|
|
87
|
+
|
|
88
|
+
def to_hash: -> {
|
|
89
|
+
issuer_decision: String,
|
|
90
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails::tokenization_decline_reason],
|
|
91
|
+
customer_decision: String?,
|
|
92
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
93
|
+
token_activated_date_time: Time?,
|
|
94
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
95
|
+
wallet_decision: String?
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type tokenization_decline_reason =
|
|
99
|
+
:ACCOUNT_SCORE_1
|
|
100
|
+
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
101
|
+
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
102
|
+
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
103
|
+
| :CARD_INVALID_STATE
|
|
104
|
+
| :CUSTOMER_RED_PATH
|
|
105
|
+
| :CVC_MISMATCH
|
|
106
|
+
| :DEVICE_SCORE_1
|
|
107
|
+
| :GENERIC_DECLINE
|
|
108
|
+
| :INVALID_CUSTOMER_RESPONSE
|
|
109
|
+
| :NETWORK_FAILURE
|
|
110
|
+
| :WALLET_RECOMMENDED_DECISION_RED
|
|
111
|
+
|
|
112
|
+
module TokenizationDeclineReason
|
|
113
|
+
extend Lithic::Internal::Type::Enum
|
|
114
|
+
|
|
115
|
+
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
116
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
117
|
+
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
118
|
+
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
119
|
+
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
120
|
+
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
121
|
+
CVC_MISMATCH: :CVC_MISMATCH
|
|
122
|
+
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
123
|
+
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
124
|
+
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
125
|
+
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
126
|
+
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
127
|
+
|
|
128
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails::tokenization_decline_reason]
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|