lithic 0.1.0 → 0.3.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 +51 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +9 -10
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/lithic/internal/util.rb +7 -2
- 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/auth_rules/conditional_tokenization_action_parameters.rb +5 -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_retry_params.rb +26 -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_authorization_approval_request_webhook_event.rb +1032 -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_create_params.rb +15 -1
- 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.rb +33 -25
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
- 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_create_params.rb +6 -1
- 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 +817 -0
- data/lib/lithic/models/payment.rb +10 -1
- 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_approval_request_webhook_event.rb +17 -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/transaction.rb +2 -0
- data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
- data/lib/lithic/models/transfer_limits_response.rb +274 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +130 -4
- data/lib/lithic/resources/book_transfers.rb +27 -0
- data/lib/lithic/resources/cards.rb +1 -5
- data/lib/lithic/resources/external_payments.rb +13 -1
- data/lib/lithic/resources/financial_accounts.rb +3 -1
- data/lib/lithic/resources/management_operations.rb +4 -1
- data/lib/lithic/resources/transfer_limits.rb +37 -0
- data/lib/lithic/resources/webhooks.rb +88 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +79 -23
- data/rbi/lithic/client.rbi +6 -3
- 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/auth_rules/conditional_tokenization_action_parameters.rbi +11 -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_retry_params.rbi +42 -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_authorization_approval_request_webhook_event.rbi +2367 -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_create_params.rbi +4 -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.rbi +62 -54
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
- 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_create_params.rbi +4 -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.rbi +13 -3
- 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_approval_request_webhook_event.rbi +27 -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/transaction.rbi +10 -0
- data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
- data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +165 -4
- data/rbi/lithic/resources/book_transfers.rbi +18 -0
- data/rbi/lithic/resources/cards.rbi +1 -4
- data/rbi/lithic/resources/external_payments.rbi +2 -0
- data/rbi/lithic/resources/financial_accounts.rbi +3 -0
- data/rbi/lithic/resources/management_operations.rbi +2 -0
- data/rbi/lithic/resources/transfer_limits.rbi +28 -0
- data/rbi/lithic/resources/webhooks.rbi +36 -0
- data/sig/lithic/client.rbs +4 -2
- 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/auth_rules/conditional_tokenization_action_parameters.rbs +2 -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_retry_params.rbs +23 -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_authorization_approval_request_webhook_event.rbs +886 -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.rbs +32 -27
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
- 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.rbs +10 -3
- 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_approval_request_webhook_event.rbs +22 -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/transaction.rbs +4 -0
- data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
- data/sig/lithic/models/transfer_limits_response.rbs +232 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +120 -4
- data/sig/lithic/resources/book_transfers.rbs +6 -0
- data/sig/lithic/resources/cards.rbs +0 -2
- data/sig/lithic/resources/financial_accounts.rbs +1 -0
- data/sig/lithic/resources/transfer_limits.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +21 -0
- metadata +188 -20
- data/lib/lithic/models/aggregate_balance.rb +0 -113
- data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
- data/lib/lithic/resources/aggregate_balances.rb +0 -38
- data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
- data/rbi/lithic/models/aggregate_balance.rbi +0 -164
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
- data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
- data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
- data/sig/lithic/models/aggregate_balance.rbs +0 -78
- data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
- data/sig/lithic/resources/aggregate_balances.rbs +0 -12
- data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DigitalWalletTokenizationUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DigitalWalletTokenizationUpdatedWebhookEvent,
|
|
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
|
+
sig { returns(Lithic::Tokenization) }
|
|
31
|
+
attr_reader :tokenization
|
|
32
|
+
|
|
33
|
+
sig { params(tokenization: Lithic::Tokenization::OrHash).void }
|
|
34
|
+
attr_writer :tokenization
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
account_token: String,
|
|
39
|
+
card_token: String,
|
|
40
|
+
created: Time,
|
|
41
|
+
tokenization: Lithic::Tokenization::OrHash,
|
|
42
|
+
event_type: Symbol
|
|
43
|
+
).returns(T.attached_class)
|
|
44
|
+
end
|
|
45
|
+
def self.new(
|
|
46
|
+
# Account token
|
|
47
|
+
account_token:,
|
|
48
|
+
# Card token
|
|
49
|
+
card_token:,
|
|
50
|
+
# Created date
|
|
51
|
+
created:,
|
|
52
|
+
tokenization:,
|
|
53
|
+
# The type of event that occurred.
|
|
54
|
+
event_type: :"digital_wallet.tokenization_updated"
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
sig do
|
|
59
|
+
override.returns(
|
|
60
|
+
{
|
|
61
|
+
account_token: String,
|
|
62
|
+
card_token: String,
|
|
63
|
+
created: Time,
|
|
64
|
+
event_type: Symbol,
|
|
65
|
+
tokenization: Lithic::Tokenization
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
def to_hash
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputeEvidenceUploadFailedWebhookEvent < Lithic::Models::DisputeEvidence
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DisputeEvidenceUploadFailedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
# Dispute evidence.
|
|
19
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
20
|
+
def self.new(
|
|
21
|
+
# The type of event that occurred.
|
|
22
|
+
event_type: :"dispute_evidence.upload_failed"
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
27
|
+
def to_hash
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputeTransactionCreatedWebhookEvent < Lithic::Models::DisputeV2
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DisputeTransactionCreatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
# The Dispute object tracks the progression of a dispute throughout its lifecycle.
|
|
19
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
20
|
+
def self.new(
|
|
21
|
+
# The type of event that occurred.
|
|
22
|
+
event_type: :"dispute_transaction.created"
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
27
|
+
def to_hash
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputeTransactionUpdatedWebhookEvent < Lithic::Models::DisputeV2
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::DisputeTransactionUpdatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
# The Dispute object tracks the progression of a dispute throughout its lifecycle.
|
|
19
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
20
|
+
def self.new(
|
|
21
|
+
# The type of event that occurred.
|
|
22
|
+
event_type: :"dispute_transaction.updated"
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
27
|
+
def to_hash
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputeUpdatedWebhookEvent < Lithic::Models::Dispute
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::DisputeUpdatedWebhookEvent, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The type of event that occurred.
|
|
12
|
+
sig { returns(Symbol) }
|
|
13
|
+
attr_accessor :event_type
|
|
14
|
+
|
|
15
|
+
# Dispute.
|
|
16
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
17
|
+
def self.new(
|
|
18
|
+
# The type of event that occurred.
|
|
19
|
+
event_type: :"dispute.updated"
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
24
|
+
def to_hash
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalBankAccountCreatedWebhookEvent < Lithic::Models::ExternalBankAccount
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::ExternalBankAccountCreatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"external_bank_account.created"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalBankAccountUpdatedWebhookEvent < Lithic::Models::ExternalBankAccount
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::ExternalBankAccountUpdatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"external_bank_account.updated"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -28,6 +28,8 @@ module Lithic
|
|
|
28
28
|
end
|
|
29
29
|
attr_accessor :payment_type
|
|
30
30
|
|
|
31
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
32
|
+
# become the transaction token.
|
|
31
33
|
sig { returns(T.nilable(String)) }
|
|
32
34
|
attr_reader :token
|
|
33
35
|
|
|
@@ -82,6 +84,8 @@ module Lithic
|
|
|
82
84
|
effective_date:,
|
|
83
85
|
financial_account_token:,
|
|
84
86
|
payment_type:,
|
|
87
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
88
|
+
# become the transaction token.
|
|
85
89
|
token: nil,
|
|
86
90
|
memo: nil,
|
|
87
91
|
progress_to: nil,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalPaymentCreatedWebhookEvent < Lithic::Models::ExternalPayment
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::ExternalPaymentCreatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"external_payment.created"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ExternalPaymentUpdatedWebhookEvent < Lithic::Models::ExternalPayment
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::ExternalPaymentUpdatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"external_payment.updated"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -40,24 +40,28 @@ module Lithic
|
|
|
40
40
|
sig { returns(Lithic::FinancialAccount::Status::TaggedSymbol) }
|
|
41
41
|
attr_accessor :status
|
|
42
42
|
|
|
43
|
+
# Substatus for the financial account
|
|
44
|
+
sig do
|
|
45
|
+
returns(T.nilable(Lithic::FinancialAccount::Substatus::TaggedSymbol))
|
|
46
|
+
end
|
|
47
|
+
attr_accessor :substatus
|
|
48
|
+
|
|
43
49
|
sig { returns(Lithic::FinancialAccount::Type::TaggedSymbol) }
|
|
44
50
|
attr_accessor :type
|
|
45
51
|
|
|
46
52
|
sig { returns(Time) }
|
|
47
53
|
attr_accessor :updated
|
|
48
54
|
|
|
55
|
+
# User-defined status for the financial account
|
|
56
|
+
sig { returns(T.nilable(String)) }
|
|
57
|
+
attr_accessor :user_defined_status
|
|
58
|
+
|
|
49
59
|
sig { returns(T.nilable(String)) }
|
|
50
60
|
attr_accessor :account_number
|
|
51
61
|
|
|
52
62
|
sig { returns(T.nilable(String)) }
|
|
53
63
|
attr_accessor :routing_number
|
|
54
64
|
|
|
55
|
-
# Substatus for the financial account
|
|
56
|
-
sig do
|
|
57
|
-
returns(T.nilable(Lithic::FinancialAccount::Substatus::TaggedSymbol))
|
|
58
|
-
end
|
|
59
|
-
attr_accessor :substatus
|
|
60
|
-
|
|
61
65
|
sig do
|
|
62
66
|
params(
|
|
63
67
|
token: String,
|
|
@@ -68,11 +72,12 @@ module Lithic
|
|
|
68
72
|
is_for_benefit_of: T::Boolean,
|
|
69
73
|
nickname: T.nilable(String),
|
|
70
74
|
status: Lithic::FinancialAccount::Status::OrSymbol,
|
|
75
|
+
substatus: T.nilable(Lithic::FinancialAccount::Substatus::OrSymbol),
|
|
71
76
|
type: Lithic::FinancialAccount::Type::OrSymbol,
|
|
72
77
|
updated: Time,
|
|
78
|
+
user_defined_status: T.nilable(String),
|
|
73
79
|
account_number: T.nilable(String),
|
|
74
|
-
routing_number: T.nilable(String)
|
|
75
|
-
substatus: T.nilable(Lithic::FinancialAccount::Substatus::OrSymbol)
|
|
80
|
+
routing_number: T.nilable(String)
|
|
76
81
|
).returns(T.attached_class)
|
|
77
82
|
end
|
|
78
83
|
def self.new(
|
|
@@ -86,12 +91,14 @@ module Lithic
|
|
|
86
91
|
nickname:,
|
|
87
92
|
# Status of the financial account
|
|
88
93
|
status:,
|
|
94
|
+
# Substatus for the financial account
|
|
95
|
+
substatus:,
|
|
89
96
|
type:,
|
|
90
97
|
updated:,
|
|
98
|
+
# User-defined status for the financial account
|
|
99
|
+
user_defined_status:,
|
|
91
100
|
account_number: nil,
|
|
92
|
-
routing_number: nil
|
|
93
|
-
# Substatus for the financial account
|
|
94
|
-
substatus: nil
|
|
101
|
+
routing_number: nil
|
|
95
102
|
)
|
|
96
103
|
end
|
|
97
104
|
|
|
@@ -106,12 +113,13 @@ module Lithic
|
|
|
106
113
|
is_for_benefit_of: T::Boolean,
|
|
107
114
|
nickname: T.nilable(String),
|
|
108
115
|
status: Lithic::FinancialAccount::Status::TaggedSymbol,
|
|
116
|
+
substatus:
|
|
117
|
+
T.nilable(Lithic::FinancialAccount::Substatus::TaggedSymbol),
|
|
109
118
|
type: Lithic::FinancialAccount::Type::TaggedSymbol,
|
|
110
119
|
updated: Time,
|
|
120
|
+
user_defined_status: T.nilable(String),
|
|
111
121
|
account_number: T.nilable(String),
|
|
112
|
-
routing_number: T.nilable(String)
|
|
113
|
-
substatus:
|
|
114
|
-
T.nilable(Lithic::FinancialAccount::Substatus::TaggedSymbol)
|
|
122
|
+
routing_number: T.nilable(String)
|
|
115
123
|
}
|
|
116
124
|
)
|
|
117
125
|
end
|
|
@@ -254,6 +262,46 @@ module Lithic
|
|
|
254
262
|
end
|
|
255
263
|
end
|
|
256
264
|
|
|
265
|
+
# Substatus for the financial account
|
|
266
|
+
module Substatus
|
|
267
|
+
extend Lithic::Internal::Type::Enum
|
|
268
|
+
|
|
269
|
+
TaggedSymbol =
|
|
270
|
+
T.type_alias { T.all(Symbol, Lithic::FinancialAccount::Substatus) }
|
|
271
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
272
|
+
|
|
273
|
+
CHARGED_OFF_DELINQUENT =
|
|
274
|
+
T.let(
|
|
275
|
+
:CHARGED_OFF_DELINQUENT,
|
|
276
|
+
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
277
|
+
)
|
|
278
|
+
CHARGED_OFF_FRAUD =
|
|
279
|
+
T.let(
|
|
280
|
+
:CHARGED_OFF_FRAUD,
|
|
281
|
+
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
282
|
+
)
|
|
283
|
+
END_USER_REQUEST =
|
|
284
|
+
T.let(
|
|
285
|
+
:END_USER_REQUEST,
|
|
286
|
+
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
287
|
+
)
|
|
288
|
+
BANK_REQUEST =
|
|
289
|
+
T.let(
|
|
290
|
+
:BANK_REQUEST,
|
|
291
|
+
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
292
|
+
)
|
|
293
|
+
DELINQUENT =
|
|
294
|
+
T.let(:DELINQUENT, Lithic::FinancialAccount::Substatus::TaggedSymbol)
|
|
295
|
+
|
|
296
|
+
sig do
|
|
297
|
+
override.returns(
|
|
298
|
+
T::Array[Lithic::FinancialAccount::Substatus::TaggedSymbol]
|
|
299
|
+
)
|
|
300
|
+
end
|
|
301
|
+
def self.values
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
|
|
257
305
|
module Type
|
|
258
306
|
extend Lithic::Internal::Type::Enum
|
|
259
307
|
|
|
@@ -300,46 +348,6 @@ module Lithic
|
|
|
300
348
|
def self.values
|
|
301
349
|
end
|
|
302
350
|
end
|
|
303
|
-
|
|
304
|
-
# Substatus for the financial account
|
|
305
|
-
module Substatus
|
|
306
|
-
extend Lithic::Internal::Type::Enum
|
|
307
|
-
|
|
308
|
-
TaggedSymbol =
|
|
309
|
-
T.type_alias { T.all(Symbol, Lithic::FinancialAccount::Substatus) }
|
|
310
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
311
|
-
|
|
312
|
-
CHARGED_OFF_DELINQUENT =
|
|
313
|
-
T.let(
|
|
314
|
-
:CHARGED_OFF_DELINQUENT,
|
|
315
|
-
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
316
|
-
)
|
|
317
|
-
CHARGED_OFF_FRAUD =
|
|
318
|
-
T.let(
|
|
319
|
-
:CHARGED_OFF_FRAUD,
|
|
320
|
-
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
321
|
-
)
|
|
322
|
-
END_USER_REQUEST =
|
|
323
|
-
T.let(
|
|
324
|
-
:END_USER_REQUEST,
|
|
325
|
-
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
326
|
-
)
|
|
327
|
-
BANK_REQUEST =
|
|
328
|
-
T.let(
|
|
329
|
-
:BANK_REQUEST,
|
|
330
|
-
Lithic::FinancialAccount::Substatus::TaggedSymbol
|
|
331
|
-
)
|
|
332
|
-
DELINQUENT =
|
|
333
|
-
T.let(:DELINQUENT, Lithic::FinancialAccount::Substatus::TaggedSymbol)
|
|
334
|
-
|
|
335
|
-
sig do
|
|
336
|
-
override.returns(
|
|
337
|
-
T::Array[Lithic::FinancialAccount::Substatus::TaggedSymbol]
|
|
338
|
-
)
|
|
339
|
-
end
|
|
340
|
-
def self.values
|
|
341
|
-
end
|
|
342
|
-
end
|
|
343
351
|
end
|
|
344
352
|
end
|
|
345
353
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class FinancialAccountCreatedWebhookEvent < Lithic::Models::FinancialAccount
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::FinancialAccountCreatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"financial_account.created"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -30,6 +30,13 @@ module Lithic
|
|
|
30
30
|
end
|
|
31
31
|
attr_accessor :substatus
|
|
32
32
|
|
|
33
|
+
# User-defined status for the financial account
|
|
34
|
+
sig { returns(T.nilable(String)) }
|
|
35
|
+
attr_reader :user_defined_status
|
|
36
|
+
|
|
37
|
+
sig { params(user_defined_status: String).void }
|
|
38
|
+
attr_writer :user_defined_status
|
|
39
|
+
|
|
33
40
|
sig do
|
|
34
41
|
params(
|
|
35
42
|
status: Lithic::FinancialAccountUpdateStatusParams::Status::OrSymbol,
|
|
@@ -37,6 +44,7 @@ module Lithic
|
|
|
37
44
|
T.nilable(
|
|
38
45
|
Lithic::FinancialAccountUpdateStatusParams::Substatus::OrSymbol
|
|
39
46
|
),
|
|
47
|
+
user_defined_status: String,
|
|
40
48
|
request_options: Lithic::RequestOptions::OrHash
|
|
41
49
|
).returns(T.attached_class)
|
|
42
50
|
end
|
|
@@ -45,6 +53,8 @@ module Lithic
|
|
|
45
53
|
status:,
|
|
46
54
|
# Substatus for the financial account
|
|
47
55
|
substatus:,
|
|
56
|
+
# User-defined status for the financial account
|
|
57
|
+
user_defined_status: nil,
|
|
48
58
|
request_options: {}
|
|
49
59
|
)
|
|
50
60
|
end
|
|
@@ -58,6 +68,7 @@ module Lithic
|
|
|
58
68
|
T.nilable(
|
|
59
69
|
Lithic::FinancialAccountUpdateStatusParams::Substatus::OrSymbol
|
|
60
70
|
),
|
|
71
|
+
user_defined_status: String,
|
|
61
72
|
request_options: Lithic::RequestOptions
|
|
62
73
|
}
|
|
63
74
|
)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class FinancialAccountUpdatedWebhookEvent < Lithic::Models::FinancialAccount
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::FinancialAccountUpdatedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The type of event that occurred.
|
|
15
|
+
sig { returns(Symbol) }
|
|
16
|
+
attr_accessor :event_type
|
|
17
|
+
|
|
18
|
+
sig { params(event_type: Symbol).returns(T.attached_class) }
|
|
19
|
+
def self.new(
|
|
20
|
+
# The type of event that occurred.
|
|
21
|
+
event_type: :"financial_account.updated"
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
sig { override.returns({ event_type: Symbol }) }
|
|
26
|
+
def to_hash
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|