lithic 0.20.0 → 0.22.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 +44 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +9 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +123 -67
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/transaction.rb +4 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/blockchain_recipients.rb +23 -0
- data/lib/lithic/resources/cards.rb +10 -4
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +21 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +35 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
- data/rbi/lithic/models/payment.rbi +6 -2
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/transaction.rbi +14 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
- data/rbi/lithic/resources/cards.rbi +15 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +18 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +65 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
module InstallmentPlans
|
|
7
|
+
class StatementRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
OrHash =
|
|
12
|
+
T.type_alias do
|
|
13
|
+
T.any(
|
|
14
|
+
Lithic::FinancialAccounts::InstallmentPlans::StatementRetrieveParams,
|
|
15
|
+
Lithic::Internal::AnyHash
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# Globally unique identifier for financial account.
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :financial_account_token
|
|
22
|
+
|
|
23
|
+
# Globally unique identifier for installment plan.
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
attr_accessor :installment_plan_token
|
|
26
|
+
|
|
27
|
+
# Globally unique identifier for statement.
|
|
28
|
+
sig { returns(String) }
|
|
29
|
+
attr_accessor :statement_token
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
params(
|
|
33
|
+
financial_account_token: String,
|
|
34
|
+
installment_plan_token: String,
|
|
35
|
+
statement_token: String,
|
|
36
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
37
|
+
).returns(T.attached_class)
|
|
38
|
+
end
|
|
39
|
+
def self.new(
|
|
40
|
+
# Globally unique identifier for financial account.
|
|
41
|
+
financial_account_token:,
|
|
42
|
+
# Globally unique identifier for installment plan.
|
|
43
|
+
installment_plan_token:,
|
|
44
|
+
# Globally unique identifier for statement.
|
|
45
|
+
statement_token:,
|
|
46
|
+
request_options: {}
|
|
47
|
+
)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
override.returns(
|
|
52
|
+
{
|
|
53
|
+
financial_account_token: String,
|
|
54
|
+
installment_plan_token: String,
|
|
55
|
+
statement_token: String,
|
|
56
|
+
request_options: Lithic::RequestOptions
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
def to_hash
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -120,6 +120,26 @@ module Lithic
|
|
|
120
120
|
end
|
|
121
121
|
attr_writer :payment_allocation
|
|
122
122
|
|
|
123
|
+
# Allocation of payments only, excluding credits
|
|
124
|
+
sig do
|
|
125
|
+
returns(
|
|
126
|
+
T.nilable(
|
|
127
|
+
Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation
|
|
128
|
+
)
|
|
129
|
+
)
|
|
130
|
+
end
|
|
131
|
+
attr_reader :payment_only_allocation
|
|
132
|
+
|
|
133
|
+
sig do
|
|
134
|
+
params(
|
|
135
|
+
payment_only_allocation:
|
|
136
|
+
T.nilable(
|
|
137
|
+
Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation::OrHash
|
|
138
|
+
)
|
|
139
|
+
).void
|
|
140
|
+
end
|
|
141
|
+
attr_writer :payment_only_allocation
|
|
142
|
+
|
|
123
143
|
sig { returns(Lithic::StatementTotals) }
|
|
124
144
|
attr_reader :period_totals
|
|
125
145
|
|
|
@@ -188,6 +208,10 @@ module Lithic
|
|
|
188
208
|
Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance::OrHash,
|
|
189
209
|
payment_allocation:
|
|
190
210
|
Lithic::FinancialAccounts::LoanTape::PaymentAllocation::OrHash,
|
|
211
|
+
payment_only_allocation:
|
|
212
|
+
T.nilable(
|
|
213
|
+
Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation::OrHash
|
|
214
|
+
),
|
|
191
215
|
period_totals: Lithic::StatementTotals::OrHash,
|
|
192
216
|
previous_statement_balance:
|
|
193
217
|
Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance::OrHash,
|
|
@@ -228,6 +252,8 @@ module Lithic
|
|
|
228
252
|
interest_details:,
|
|
229
253
|
minimum_payment_balance:,
|
|
230
254
|
payment_allocation:,
|
|
255
|
+
# Allocation of payments only, excluding credits
|
|
256
|
+
payment_only_allocation:,
|
|
231
257
|
period_totals:,
|
|
232
258
|
previous_statement_balance:,
|
|
233
259
|
# Balance at the start of the day
|
|
@@ -266,6 +292,10 @@ module Lithic
|
|
|
266
292
|
Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
267
293
|
payment_allocation:
|
|
268
294
|
Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
295
|
+
payment_only_allocation:
|
|
296
|
+
T.nilable(
|
|
297
|
+
Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation
|
|
298
|
+
),
|
|
269
299
|
period_totals: Lithic::StatementTotals,
|
|
270
300
|
previous_statement_balance:
|
|
271
301
|
Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
@@ -926,6 +956,95 @@ module Lithic
|
|
|
926
956
|
end
|
|
927
957
|
end
|
|
928
958
|
|
|
959
|
+
class PaymentOnlyAllocation < Lithic::Internal::Type::BaseModel
|
|
960
|
+
OrHash =
|
|
961
|
+
T.type_alias do
|
|
962
|
+
T.any(
|
|
963
|
+
Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation,
|
|
964
|
+
Lithic::Internal::AnyHash
|
|
965
|
+
)
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
sig { returns(T.nilable(Lithic::CategoryDetails)) }
|
|
969
|
+
attr_reader :fee_details
|
|
970
|
+
|
|
971
|
+
sig do
|
|
972
|
+
params(fee_details: T.nilable(Lithic::CategoryDetails::OrHash)).void
|
|
973
|
+
end
|
|
974
|
+
attr_writer :fee_details
|
|
975
|
+
|
|
976
|
+
# Amount allocated to fees in cents
|
|
977
|
+
sig { returns(Integer) }
|
|
978
|
+
attr_accessor :fees
|
|
979
|
+
|
|
980
|
+
# Amount allocated to interest in cents
|
|
981
|
+
sig { returns(Integer) }
|
|
982
|
+
attr_accessor :interest
|
|
983
|
+
|
|
984
|
+
sig { returns(T.nilable(Lithic::CategoryDetails)) }
|
|
985
|
+
attr_reader :interest_details
|
|
986
|
+
|
|
987
|
+
sig do
|
|
988
|
+
params(
|
|
989
|
+
interest_details: T.nilable(Lithic::CategoryDetails::OrHash)
|
|
990
|
+
).void
|
|
991
|
+
end
|
|
992
|
+
attr_writer :interest_details
|
|
993
|
+
|
|
994
|
+
# Amount allocated to principal in cents
|
|
995
|
+
sig { returns(Integer) }
|
|
996
|
+
attr_accessor :principal
|
|
997
|
+
|
|
998
|
+
sig { returns(T.nilable(Lithic::CategoryDetails)) }
|
|
999
|
+
attr_reader :principal_details
|
|
1000
|
+
|
|
1001
|
+
sig do
|
|
1002
|
+
params(
|
|
1003
|
+
principal_details: T.nilable(Lithic::CategoryDetails::OrHash)
|
|
1004
|
+
).void
|
|
1005
|
+
end
|
|
1006
|
+
attr_writer :principal_details
|
|
1007
|
+
|
|
1008
|
+
# Allocation of payments only, excluding credits
|
|
1009
|
+
sig do
|
|
1010
|
+
params(
|
|
1011
|
+
fee_details: T.nilable(Lithic::CategoryDetails::OrHash),
|
|
1012
|
+
fees: Integer,
|
|
1013
|
+
interest: Integer,
|
|
1014
|
+
interest_details: T.nilable(Lithic::CategoryDetails::OrHash),
|
|
1015
|
+
principal: Integer,
|
|
1016
|
+
principal_details: T.nilable(Lithic::CategoryDetails::OrHash)
|
|
1017
|
+
).returns(T.attached_class)
|
|
1018
|
+
end
|
|
1019
|
+
def self.new(
|
|
1020
|
+
fee_details:,
|
|
1021
|
+
# Amount allocated to fees in cents
|
|
1022
|
+
fees:,
|
|
1023
|
+
# Amount allocated to interest in cents
|
|
1024
|
+
interest:,
|
|
1025
|
+
interest_details:,
|
|
1026
|
+
# Amount allocated to principal in cents
|
|
1027
|
+
principal:,
|
|
1028
|
+
principal_details:
|
|
1029
|
+
)
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
sig do
|
|
1033
|
+
override.returns(
|
|
1034
|
+
{
|
|
1035
|
+
fee_details: T.nilable(Lithic::CategoryDetails),
|
|
1036
|
+
fees: Integer,
|
|
1037
|
+
interest: Integer,
|
|
1038
|
+
interest_details: T.nilable(Lithic::CategoryDetails),
|
|
1039
|
+
principal: Integer,
|
|
1040
|
+
principal_details: T.nilable(Lithic::CategoryDetails)
|
|
1041
|
+
}
|
|
1042
|
+
)
|
|
1043
|
+
end
|
|
1044
|
+
def to_hash
|
|
1045
|
+
end
|
|
1046
|
+
end
|
|
1047
|
+
|
|
929
1048
|
class PreviousStatementBalance < Lithic::Internal::Type::BaseModel
|
|
930
1049
|
OrHash =
|
|
931
1050
|
T.type_alias do
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class FinancialAccountsOpenToBuy < Lithic::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Lithic::FinancialAccounts::FinancialAccountsOpenToBuy,
|
|
11
|
+
Lithic::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Funds available for card spend backed by this Security Account, in the
|
|
16
|
+
# currency's smallest unit (e.g., cents for USD). Equal to the sum of the amounts
|
|
17
|
+
# in `summary`, and reaches zero once outstanding spend has consumed all available
|
|
18
|
+
# funding
|
|
19
|
+
sig { returns(Integer) }
|
|
20
|
+
attr_accessor :open_to_buy
|
|
21
|
+
|
|
22
|
+
# Balances that open to buy is derived from
|
|
23
|
+
sig { returns(Lithic::FinancialAccounts::OpenToBuySummary) }
|
|
24
|
+
attr_reader :summary
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
params(
|
|
28
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary::OrHash
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :summary
|
|
32
|
+
|
|
33
|
+
# Open to Buy
|
|
34
|
+
sig do
|
|
35
|
+
params(
|
|
36
|
+
open_to_buy: Integer,
|
|
37
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary::OrHash
|
|
38
|
+
).returns(T.attached_class)
|
|
39
|
+
end
|
|
40
|
+
def self.new(
|
|
41
|
+
# Funds available for card spend backed by this Security Account, in the
|
|
42
|
+
# currency's smallest unit (e.g., cents for USD). Equal to the sum of the amounts
|
|
43
|
+
# in `summary`, and reaches zero once outstanding spend has consumed all available
|
|
44
|
+
# funding
|
|
45
|
+
open_to_buy:,
|
|
46
|
+
# Balances that open to buy is derived from
|
|
47
|
+
summary:
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig do
|
|
52
|
+
override.returns(
|
|
53
|
+
{
|
|
54
|
+
open_to_buy: Integer,
|
|
55
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
def to_hash
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class OpenToBuyRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Lithic::FinancialAccounts::OpenToBuyRetrieveParams,
|
|
14
|
+
Lithic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :financial_account_token
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
financial_account_token: String,
|
|
24
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(financial_account_token:, request_options: {})
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
override.returns(
|
|
32
|
+
{
|
|
33
|
+
financial_account_token: String,
|
|
34
|
+
request_options: Lithic::RequestOptions
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
def to_hash
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class OpenToBuySummary < Lithic::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Lithic::FinancialAccounts::OpenToBuySummary,
|
|
11
|
+
Lithic::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Available balance of the Security Account backing card spend, in the currency's
|
|
16
|
+
# smallest unit (e.g., cents for USD)
|
|
17
|
+
sig { returns(Integer) }
|
|
18
|
+
attr_accessor :security
|
|
19
|
+
|
|
20
|
+
# Funding that has moved out of the Security Account to cover card spend Lithic
|
|
21
|
+
# has already paid out to the networks, in the currency's smallest unit (e.g.,
|
|
22
|
+
# cents for USD). Open to buy counts it alongside `security`, and it clears once
|
|
23
|
+
# collected from your business clients. Only Commercial Charge tracks this
|
|
24
|
+
# separately, so this is `null` for every other program setup
|
|
25
|
+
sig { returns(T.nilable(Integer)) }
|
|
26
|
+
attr_accessor :settled_funds
|
|
27
|
+
|
|
28
|
+
# Customer card spend that has not yet been collected, in the currency's smallest
|
|
29
|
+
# unit (e.g., cents for USD). Reported as a negative amount, because it reduces
|
|
30
|
+
# open to buy
|
|
31
|
+
sig { returns(Integer) }
|
|
32
|
+
attr_accessor :total_outstanding_spend
|
|
33
|
+
|
|
34
|
+
# Open to Buy Summary
|
|
35
|
+
sig do
|
|
36
|
+
params(
|
|
37
|
+
security: Integer,
|
|
38
|
+
settled_funds: T.nilable(Integer),
|
|
39
|
+
total_outstanding_spend: Integer
|
|
40
|
+
).returns(T.attached_class)
|
|
41
|
+
end
|
|
42
|
+
def self.new(
|
|
43
|
+
# Available balance of the Security Account backing card spend, in the currency's
|
|
44
|
+
# smallest unit (e.g., cents for USD)
|
|
45
|
+
security:,
|
|
46
|
+
# Funding that has moved out of the Security Account to cover card spend Lithic
|
|
47
|
+
# has already paid out to the networks, in the currency's smallest unit (e.g.,
|
|
48
|
+
# cents for USD). Open to buy counts it alongside `security`, and it clears once
|
|
49
|
+
# collected from your business clients. Only Commercial Charge tracks this
|
|
50
|
+
# separately, so this is `null` for every other program setup
|
|
51
|
+
settled_funds:,
|
|
52
|
+
# Customer card spend that has not yet been collected, in the currency's smallest
|
|
53
|
+
# unit (e.g., cents for USD). Reported as a negative amount, because it reduces
|
|
54
|
+
# open to buy
|
|
55
|
+
total_outstanding_spend:
|
|
56
|
+
)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig do
|
|
60
|
+
override.returns(
|
|
61
|
+
{
|
|
62
|
+
security: Integer,
|
|
63
|
+
settled_funds: T.nilable(Integer),
|
|
64
|
+
total_outstanding_spend: Integer
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
def to_hash
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -293,6 +293,11 @@ module Lithic
|
|
|
293
293
|
:EXTERNAL_RTP,
|
|
294
294
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
295
295
|
)
|
|
296
|
+
EXTERNAL_STABLECOIN =
|
|
297
|
+
T.let(
|
|
298
|
+
:EXTERNAL_STABLECOIN,
|
|
299
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
300
|
+
)
|
|
296
301
|
EXTERNAL_TRANSFER =
|
|
297
302
|
T.let(
|
|
298
303
|
:EXTERNAL_TRANSFER,
|
|
@@ -632,6 +637,31 @@ module Lithic
|
|
|
632
637
|
:EXTERNAL_RTP_SETTLED,
|
|
633
638
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
634
639
|
)
|
|
640
|
+
EXTERNAL_STABLECOIN_CANCELED =
|
|
641
|
+
T.let(
|
|
642
|
+
:EXTERNAL_STABLECOIN_CANCELED,
|
|
643
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
644
|
+
)
|
|
645
|
+
EXTERNAL_STABLECOIN_INITIATED =
|
|
646
|
+
T.let(
|
|
647
|
+
:EXTERNAL_STABLECOIN_INITIATED,
|
|
648
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
649
|
+
)
|
|
650
|
+
EXTERNAL_STABLECOIN_RELEASED =
|
|
651
|
+
T.let(
|
|
652
|
+
:EXTERNAL_STABLECOIN_RELEASED,
|
|
653
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
654
|
+
)
|
|
655
|
+
EXTERNAL_STABLECOIN_REVERSED =
|
|
656
|
+
T.let(
|
|
657
|
+
:EXTERNAL_STABLECOIN_REVERSED,
|
|
658
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
659
|
+
)
|
|
660
|
+
EXTERNAL_STABLECOIN_SETTLED =
|
|
661
|
+
T.let(
|
|
662
|
+
:EXTERNAL_STABLECOIN_SETTLED,
|
|
663
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
664
|
+
)
|
|
635
665
|
EXTERNAL_TRANSFER_CANCELED =
|
|
636
666
|
T.let(
|
|
637
667
|
:EXTERNAL_TRANSFER_CANCELED,
|
|
@@ -682,6 +712,16 @@ module Lithic
|
|
|
682
712
|
:EXTERNAL_WIRE_SETTLED,
|
|
683
713
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
684
714
|
)
|
|
715
|
+
FEE =
|
|
716
|
+
T.let(
|
|
717
|
+
:FEE,
|
|
718
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
719
|
+
)
|
|
720
|
+
FEE_REVERSAL =
|
|
721
|
+
T.let(
|
|
722
|
+
:FEE_REVERSAL,
|
|
723
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
724
|
+
)
|
|
685
725
|
FINANCIAL_AUTHORIZATION =
|
|
686
726
|
T.let(
|
|
687
727
|
:FINANCIAL_AUTHORIZATION,
|
|
@@ -692,6 +732,16 @@ module Lithic
|
|
|
692
732
|
:FINANCIAL_CREDIT_AUTHORIZATION,
|
|
693
733
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
694
734
|
)
|
|
735
|
+
INSTALLMENT_FEE =
|
|
736
|
+
T.let(
|
|
737
|
+
:INSTALLMENT_FEE,
|
|
738
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
739
|
+
)
|
|
740
|
+
INSTALLMENT_FEE_REVERSAL =
|
|
741
|
+
T.let(
|
|
742
|
+
:INSTALLMENT_FEE_REVERSAL,
|
|
743
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
744
|
+
)
|
|
695
745
|
INTEREST =
|
|
696
746
|
T.let(
|
|
697
747
|
:INTEREST,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class TransactionCategoryBalances < Lithic::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
11
|
+
Lithic::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Amounts attributable to balance transfers
|
|
16
|
+
sig { returns(Lithic::FinancialAccounts::CategoryBalances) }
|
|
17
|
+
attr_reader :balance_transfers
|
|
18
|
+
|
|
19
|
+
sig do
|
|
20
|
+
params(
|
|
21
|
+
balance_transfers:
|
|
22
|
+
Lithic::FinancialAccounts::CategoryBalances::OrHash
|
|
23
|
+
).void
|
|
24
|
+
end
|
|
25
|
+
attr_writer :balance_transfers
|
|
26
|
+
|
|
27
|
+
# Amounts attributable to cash advances
|
|
28
|
+
sig { returns(Lithic::FinancialAccounts::CategoryBalances) }
|
|
29
|
+
attr_reader :cash_advances
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
params(
|
|
33
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances::OrHash
|
|
34
|
+
).void
|
|
35
|
+
end
|
|
36
|
+
attr_writer :cash_advances
|
|
37
|
+
|
|
38
|
+
# Amounts attributable to purchases
|
|
39
|
+
sig { returns(Lithic::FinancialAccounts::CategoryBalances) }
|
|
40
|
+
attr_reader :purchases
|
|
41
|
+
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances::OrHash
|
|
45
|
+
).void
|
|
46
|
+
end
|
|
47
|
+
attr_writer :purchases
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
balance_transfers:
|
|
52
|
+
Lithic::FinancialAccounts::CategoryBalances::OrHash,
|
|
53
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances::OrHash,
|
|
54
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances::OrHash
|
|
55
|
+
).returns(T.attached_class)
|
|
56
|
+
end
|
|
57
|
+
def self.new(
|
|
58
|
+
# Amounts attributable to balance transfers
|
|
59
|
+
balance_transfers:,
|
|
60
|
+
# Amounts attributable to cash advances
|
|
61
|
+
cash_advances:,
|
|
62
|
+
# Amounts attributable to purchases
|
|
63
|
+
purchases:
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
sig do
|
|
68
|
+
override.returns(
|
|
69
|
+
{
|
|
70
|
+
balance_transfers: Lithic::FinancialAccounts::CategoryBalances,
|
|
71
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances,
|
|
72
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
end
|
|
76
|
+
def to_hash
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -341,6 +341,31 @@ module Lithic
|
|
|
341
341
|
:EXTERNAL_RTP_SETTLED,
|
|
342
342
|
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
343
343
|
)
|
|
344
|
+
EXTERNAL_STABLECOIN_CANCELED =
|
|
345
|
+
T.let(
|
|
346
|
+
:EXTERNAL_STABLECOIN_CANCELED,
|
|
347
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
348
|
+
)
|
|
349
|
+
EXTERNAL_STABLECOIN_INITIATED =
|
|
350
|
+
T.let(
|
|
351
|
+
:EXTERNAL_STABLECOIN_INITIATED,
|
|
352
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
353
|
+
)
|
|
354
|
+
EXTERNAL_STABLECOIN_RELEASED =
|
|
355
|
+
T.let(
|
|
356
|
+
:EXTERNAL_STABLECOIN_RELEASED,
|
|
357
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
358
|
+
)
|
|
359
|
+
EXTERNAL_STABLECOIN_REVERSED =
|
|
360
|
+
T.let(
|
|
361
|
+
:EXTERNAL_STABLECOIN_REVERSED,
|
|
362
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
363
|
+
)
|
|
364
|
+
EXTERNAL_STABLECOIN_SETTLED =
|
|
365
|
+
T.let(
|
|
366
|
+
:EXTERNAL_STABLECOIN_SETTLED,
|
|
367
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
368
|
+
)
|
|
344
369
|
EXTERNAL_TRANSFER_CANCELED =
|
|
345
370
|
T.let(
|
|
346
371
|
:EXTERNAL_TRANSFER_CANCELED,
|
|
@@ -391,6 +416,9 @@ module Lithic
|
|
|
391
416
|
:EXTERNAL_WIRE_SETTLED,
|
|
392
417
|
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
393
418
|
)
|
|
419
|
+
FEE = T.let(:FEE, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
420
|
+
FEE_REVERSAL =
|
|
421
|
+
T.let(:FEE_REVERSAL, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
394
422
|
FINANCIAL_AUTHORIZATION =
|
|
395
423
|
T.let(
|
|
396
424
|
:FINANCIAL_AUTHORIZATION,
|
|
@@ -401,6 +429,13 @@ module Lithic
|
|
|
401
429
|
:FINANCIAL_CREDIT_AUTHORIZATION,
|
|
402
430
|
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
403
431
|
)
|
|
432
|
+
INSTALLMENT_FEE =
|
|
433
|
+
T.let(:INSTALLMENT_FEE, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
434
|
+
INSTALLMENT_FEE_REVERSAL =
|
|
435
|
+
T.let(
|
|
436
|
+
:INSTALLMENT_FEE_REVERSAL,
|
|
437
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
438
|
+
)
|
|
404
439
|
INTEREST = T.let(:INTEREST, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
405
440
|
INTEREST_REVERSAL =
|
|
406
441
|
T.let(:INTEREST_REVERSAL, Lithic::FinancialEvent::Type::TaggedSymbol)
|
data/rbi/lithic/models/kyb.rbi
CHANGED
|
@@ -176,7 +176,8 @@ module Lithic
|
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
179
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
179
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
180
|
+
# and KYC workflows.
|
|
180
181
|
sig { returns(Lithic::Address) }
|
|
181
182
|
attr_reader :address
|
|
182
183
|
|
|
@@ -228,7 +229,8 @@ module Lithic
|
|
|
228
229
|
end
|
|
229
230
|
def self.new(
|
|
230
231
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
231
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
232
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
233
|
+
# and KYC workflows.
|
|
232
234
|
address:,
|
|
233
235
|
# Individual's date of birth, as an RFC 3339 date.
|
|
234
236
|
dob:,
|
|
@@ -366,7 +368,8 @@ module Lithic
|
|
|
366
368
|
end
|
|
367
369
|
|
|
368
370
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
369
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
371
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
372
|
+
# and KYC workflows.
|
|
370
373
|
sig { returns(Lithic::Address) }
|
|
371
374
|
attr_reader :address
|
|
372
375
|
|
|
@@ -425,7 +428,8 @@ module Lithic
|
|
|
425
428
|
end
|
|
426
429
|
def self.new(
|
|
427
430
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
428
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
431
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
432
|
+
# and KYC workflows.
|
|
429
433
|
address:,
|
|
430
434
|
# Individual's date of birth, as an RFC 3339 date.
|
|
431
435
|
dob:,
|