lithic 0.21.0 → 0.23.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 +50 -0
- data/README.md +1 -10
- data/lib/lithic/client.rb +4 -0
- 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 +2 -24
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
- 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 +55 -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/v2_create_params.rb +203 -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_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_authorization.rb +12 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
- data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
- data/lib/lithic/models/financial_account_balance.rb +6 -6
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
- 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/interest_tier_schedule.rb +6 -6
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +71 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
- data/lib/lithic/models/financial_event.rb +4 -0
- data/lib/lithic/models/funding_event_list_params.rb +28 -1
- data/lib/lithic/models/hold.rb +24 -28
- data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
- data/lib/lithic/models/ip_range_retrieve_response.rb +25 -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/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/transaction.rb +11 -4
- 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/transactions/events/enhanced_data.rb +27 -3
- data/lib/lithic/models/transfer_limits_response.rb +9 -1
- data/lib/lithic/models.rb +2 -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/cards/financial_transactions.rb +5 -3
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/resources/funding_events.rb +8 -2
- data/lib/lithic/resources/ip_ranges.rb +36 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +20 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +11 -1
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
- 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 +53 -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/v2_create_params.rbi +325 -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_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +5 -0
- data/rbi/lithic/models/card_authorization.rbi +14 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
- data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
- data/rbi/lithic/models/financial_account_balance.rbi +6 -6
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -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/interest_tier_schedule.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +143 -3
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
- data/rbi/lithic/models/financial_event.rbi +17 -0
- data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
- data/rbi/lithic/models/hold.rbi +28 -29
- data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -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/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +5 -2
- data/rbi/lithic/models/transaction.rbi +15 -6
- 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/transactions/events/enhanced_data.rbi +25 -5
- data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
- data/rbi/lithic/models.rbi +2 -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/cards/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
- data/rbi/lithic/resources/funding_events.rbi +12 -0
- data/rbi/lithic/resources/ip_ranges.rbi +25 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +3 -32
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
- 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 +8 -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/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- 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/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +2 -0
- data/sig/lithic/models/card_authorization.rbs +13 -1
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
- data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
- data/sig/lithic/models/financial_account_balance.rbs +8 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -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/interest_tier_schedule.rbs +12 -18
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +55 -3
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
- data/sig/lithic/models/financial_event.rbs +8 -0
- data/sig/lithic/models/funding_event_list_params.rbs +26 -1
- data/sig/lithic/models/hold.rbs +22 -30
- data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
- data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +12 -5
- 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/transactions/events/enhanced_data.rbs +13 -3
- data/sig/lithic/models/transfer_limits_response.rbs +5 -0
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
- data/sig/lithic/resources/funding_events.rbs +3 -0
- data/sig/lithic/resources/ip_ranges.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +36 -10
- 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,90 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
module InstallmentPlans
|
|
5
|
+
type statement_list_params =
|
|
6
|
+
{
|
|
7
|
+
financial_account_token: String,
|
|
8
|
+
installment_plan_token: String,
|
|
9
|
+
begin_: Date,
|
|
10
|
+
end_: Date,
|
|
11
|
+
ending_before: String,
|
|
12
|
+
page_size: Integer,
|
|
13
|
+
starting_after: String,
|
|
14
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?
|
|
15
|
+
}
|
|
16
|
+
& Lithic::Internal::Type::request_parameters
|
|
17
|
+
|
|
18
|
+
class StatementListParams < Lithic::Internal::Type::BaseModel
|
|
19
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
20
|
+
include Lithic::Internal::Type::RequestParameters
|
|
21
|
+
|
|
22
|
+
attr_accessor financial_account_token: String
|
|
23
|
+
|
|
24
|
+
attr_accessor installment_plan_token: String
|
|
25
|
+
|
|
26
|
+
attr_reader begin_: Date?
|
|
27
|
+
|
|
28
|
+
def begin_=: (Date) -> Date
|
|
29
|
+
|
|
30
|
+
attr_reader end_: Date?
|
|
31
|
+
|
|
32
|
+
def end_=: (Date) -> Date
|
|
33
|
+
|
|
34
|
+
attr_reader ending_before: String?
|
|
35
|
+
|
|
36
|
+
def ending_before=: (String) -> String
|
|
37
|
+
|
|
38
|
+
attr_reader page_size: Integer?
|
|
39
|
+
|
|
40
|
+
def page_size=: (Integer) -> Integer
|
|
41
|
+
|
|
42
|
+
attr_reader starting_after: String?
|
|
43
|
+
|
|
44
|
+
def starting_after=: (String) -> String
|
|
45
|
+
|
|
46
|
+
attr_accessor state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?
|
|
47
|
+
|
|
48
|
+
def initialize: (
|
|
49
|
+
financial_account_token: String,
|
|
50
|
+
installment_plan_token: String,
|
|
51
|
+
?begin_: Date,
|
|
52
|
+
?end_: Date,
|
|
53
|
+
?ending_before: String,
|
|
54
|
+
?page_size: Integer,
|
|
55
|
+
?starting_after: String,
|
|
56
|
+
?state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?,
|
|
57
|
+
?request_options: Lithic::request_opts
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
financial_account_token: String,
|
|
62
|
+
installment_plan_token: String,
|
|
63
|
+
begin_: Date,
|
|
64
|
+
end_: Date,
|
|
65
|
+
ending_before: String,
|
|
66
|
+
page_size: Integer,
|
|
67
|
+
starting_after: String,
|
|
68
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?,
|
|
69
|
+
request_options: Lithic::RequestOptions
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
type state =
|
|
73
|
+
:PENDING | :ACTIVE | :REBUILD_IN_PROGRESS | :FULLY_PAID | :CANCELLED
|
|
74
|
+
|
|
75
|
+
module State
|
|
76
|
+
extend Lithic::Internal::Type::Enum
|
|
77
|
+
|
|
78
|
+
PENDING: :PENDING
|
|
79
|
+
ACTIVE: :ACTIVE
|
|
80
|
+
REBUILD_IN_PROGRESS: :REBUILD_IN_PROGRESS
|
|
81
|
+
FULLY_PAID: :FULLY_PAID
|
|
82
|
+
CANCELLED: :CANCELLED
|
|
83
|
+
|
|
84
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state]
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
module InstallmentPlans
|
|
5
|
+
type statement_retrieve_params =
|
|
6
|
+
{
|
|
7
|
+
financial_account_token: String,
|
|
8
|
+
installment_plan_token: String,
|
|
9
|
+
statement_token: String
|
|
10
|
+
}
|
|
11
|
+
& Lithic::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class StatementRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
14
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Lithic::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_accessor financial_account_token: String
|
|
18
|
+
|
|
19
|
+
attr_accessor installment_plan_token: String
|
|
20
|
+
|
|
21
|
+
attr_accessor statement_token: String
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
financial_account_token: String,
|
|
25
|
+
installment_plan_token: String,
|
|
26
|
+
statement_token: String,
|
|
27
|
+
?request_options: Lithic::request_opts
|
|
28
|
+
) -> void
|
|
29
|
+
|
|
30
|
+
def to_hash: -> {
|
|
31
|
+
financial_account_token: String,
|
|
32
|
+
installment_plan_token: String,
|
|
33
|
+
statement_token: String,
|
|
34
|
+
request_options: Lithic::RequestOptions
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -5,9 +5,9 @@ module Lithic
|
|
|
5
5
|
{
|
|
6
6
|
credit_product_token: String,
|
|
7
7
|
effective_date: Date,
|
|
8
|
-
penalty_rates: top
|
|
9
|
-
tier_name: String
|
|
10
|
-
tier_rates: top
|
|
8
|
+
penalty_rates: top?,
|
|
9
|
+
tier_name: String?,
|
|
10
|
+
tier_rates: top?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class FinancialAccountsInterestTierSchedule < Lithic::Internal::Type::BaseModel
|
|
@@ -15,32 +15,26 @@ module Lithic
|
|
|
15
15
|
|
|
16
16
|
attr_accessor effective_date: Date
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
attr_accessor penalty_rates: top?
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
attr_accessor tier_name: String?
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def tier_name=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_reader tier_rates: top?
|
|
27
|
-
|
|
28
|
-
def tier_rates=: (top) -> top
|
|
22
|
+
attr_accessor tier_rates: top?
|
|
29
23
|
|
|
30
24
|
def initialize: (
|
|
31
25
|
credit_product_token: String,
|
|
32
26
|
effective_date: Date,
|
|
33
|
-
?penalty_rates: top
|
|
34
|
-
?tier_name: String
|
|
35
|
-
?tier_rates: top
|
|
27
|
+
?penalty_rates: top?,
|
|
28
|
+
?tier_name: String?,
|
|
29
|
+
?tier_rates: top?
|
|
36
30
|
) -> void
|
|
37
31
|
|
|
38
32
|
def to_hash: -> {
|
|
39
33
|
credit_product_token: String,
|
|
40
34
|
effective_date: Date,
|
|
41
|
-
penalty_rates: top
|
|
42
|
-
tier_name: String
|
|
43
|
-
tier_rates: top
|
|
35
|
+
penalty_rates: top?,
|
|
36
|
+
tier_name: String?,
|
|
37
|
+
tier_rates: top?
|
|
44
38
|
}
|
|
45
39
|
end
|
|
46
40
|
end
|
|
@@ -5,9 +5,9 @@ module Lithic
|
|
|
5
5
|
{
|
|
6
6
|
financial_account_token: String,
|
|
7
7
|
effective_date: Date,
|
|
8
|
-
penalty_rates: top
|
|
9
|
-
tier_name: String
|
|
10
|
-
tier_rates: top
|
|
8
|
+
penalty_rates: top?,
|
|
9
|
+
tier_name: String?,
|
|
10
|
+
tier_rates: top?
|
|
11
11
|
}
|
|
12
12
|
& Lithic::Internal::Type::request_parameters
|
|
13
13
|
|
|
@@ -19,33 +19,27 @@ module Lithic
|
|
|
19
19
|
|
|
20
20
|
attr_accessor effective_date: Date
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
attr_accessor penalty_rates: top?
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
attr_accessor tier_name: String?
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
def tier_name=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_reader tier_rates: top?
|
|
31
|
-
|
|
32
|
-
def tier_rates=: (top) -> top
|
|
26
|
+
attr_accessor tier_rates: top?
|
|
33
27
|
|
|
34
28
|
def initialize: (
|
|
35
29
|
financial_account_token: String,
|
|
36
30
|
effective_date: Date,
|
|
37
|
-
?penalty_rates: top
|
|
38
|
-
?tier_name: String
|
|
39
|
-
?tier_rates: top
|
|
31
|
+
?penalty_rates: top?,
|
|
32
|
+
?tier_name: String?,
|
|
33
|
+
?tier_rates: top?,
|
|
40
34
|
?request_options: Lithic::request_opts
|
|
41
35
|
) -> void
|
|
42
36
|
|
|
43
37
|
def to_hash: -> {
|
|
44
38
|
financial_account_token: String,
|
|
45
39
|
effective_date: Date,
|
|
46
|
-
penalty_rates: top
|
|
47
|
-
tier_name: String
|
|
48
|
-
tier_rates: top
|
|
40
|
+
penalty_rates: top?,
|
|
41
|
+
tier_name: String?,
|
|
42
|
+
tier_rates: top?,
|
|
49
43
|
request_options: Lithic::RequestOptions
|
|
50
44
|
}
|
|
51
45
|
end
|
|
@@ -18,6 +18,7 @@ module Lithic
|
|
|
18
18
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
19
19
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
20
20
|
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
21
|
+
payment_only_allocation: Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation?,
|
|
21
22
|
period_totals: Lithic::StatementTotals,
|
|
22
23
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
23
24
|
starting_balance: Integer,
|
|
@@ -59,6 +60,8 @@ module Lithic
|
|
|
59
60
|
|
|
60
61
|
attr_accessor payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation
|
|
61
62
|
|
|
63
|
+
attr_accessor payment_only_allocation: Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation?
|
|
64
|
+
|
|
62
65
|
attr_accessor period_totals: Lithic::StatementTotals
|
|
63
66
|
|
|
64
67
|
attr_accessor previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance
|
|
@@ -91,6 +94,7 @@ module Lithic
|
|
|
91
94
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
92
95
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
93
96
|
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
97
|
+
payment_only_allocation: Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation?,
|
|
94
98
|
period_totals: Lithic::StatementTotals,
|
|
95
99
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
96
100
|
starting_balance: Integer,
|
|
@@ -117,6 +121,7 @@ module Lithic
|
|
|
117
121
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
118
122
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
119
123
|
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
124
|
+
payment_only_allocation: Lithic::FinancialAccounts::LoanTape::PaymentOnlyAllocation?,
|
|
120
125
|
period_totals: Lithic::StatementTotals,
|
|
121
126
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
122
127
|
starting_balance: Integer,
|
|
@@ -252,7 +257,8 @@ module Lithic
|
|
|
252
257
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
253
258
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
254
259
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
255
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
260
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
261
|
+
installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
256
262
|
}
|
|
257
263
|
|
|
258
264
|
class Balances < Lithic::Internal::Type::BaseModel
|
|
@@ -264,18 +270,22 @@ module Lithic
|
|
|
264
270
|
|
|
265
271
|
attr_accessor past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
266
272
|
|
|
273
|
+
attr_accessor installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
274
|
+
|
|
267
275
|
def initialize: (
|
|
268
276
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
269
277
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
270
278
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
271
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
279
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
280
|
+
?installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
272
281
|
) -> void
|
|
273
282
|
|
|
274
283
|
def to_hash: -> {
|
|
275
284
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
276
285
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
277
286
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
278
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
287
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
288
|
+
installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
279
289
|
}
|
|
280
290
|
end
|
|
281
291
|
|
|
@@ -391,6 +401,48 @@ module Lithic
|
|
|
391
401
|
}
|
|
392
402
|
end
|
|
393
403
|
|
|
404
|
+
type payment_only_allocation =
|
|
405
|
+
{
|
|
406
|
+
fee_details: Lithic::CategoryDetails?,
|
|
407
|
+
fees: Integer,
|
|
408
|
+
interest: Integer,
|
|
409
|
+
interest_details: Lithic::CategoryDetails?,
|
|
410
|
+
principal: Integer,
|
|
411
|
+
principal_details: Lithic::CategoryDetails?
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
class PaymentOnlyAllocation < Lithic::Internal::Type::BaseModel
|
|
415
|
+
attr_accessor fee_details: Lithic::CategoryDetails?
|
|
416
|
+
|
|
417
|
+
attr_accessor fees: Integer
|
|
418
|
+
|
|
419
|
+
attr_accessor interest: Integer
|
|
420
|
+
|
|
421
|
+
attr_accessor interest_details: Lithic::CategoryDetails?
|
|
422
|
+
|
|
423
|
+
attr_accessor principal: Integer
|
|
424
|
+
|
|
425
|
+
attr_accessor principal_details: Lithic::CategoryDetails?
|
|
426
|
+
|
|
427
|
+
def initialize: (
|
|
428
|
+
fee_details: Lithic::CategoryDetails?,
|
|
429
|
+
fees: Integer,
|
|
430
|
+
interest: Integer,
|
|
431
|
+
interest_details: Lithic::CategoryDetails?,
|
|
432
|
+
principal: Integer,
|
|
433
|
+
principal_details: Lithic::CategoryDetails?
|
|
434
|
+
) -> void
|
|
435
|
+
|
|
436
|
+
def to_hash: -> {
|
|
437
|
+
fee_details: Lithic::CategoryDetails?,
|
|
438
|
+
fees: Integer,
|
|
439
|
+
interest: Integer,
|
|
440
|
+
interest_details: Lithic::CategoryDetails?,
|
|
441
|
+
principal: Integer,
|
|
442
|
+
principal_details: Lithic::CategoryDetails?
|
|
443
|
+
}
|
|
444
|
+
end
|
|
445
|
+
|
|
394
446
|
type previous_statement_balance =
|
|
395
447
|
{ amount: Integer, remaining: Integer }
|
|
396
448
|
|
|
@@ -112,6 +112,7 @@ module Lithic
|
|
|
112
112
|
:ACH
|
|
113
113
|
| :WIRE
|
|
114
114
|
| :STABLECOIN
|
|
115
|
+
| :INTRA_BANK
|
|
115
116
|
| :BALANCE_OR_FUNDING
|
|
116
117
|
| :FEE
|
|
117
118
|
| :REWARD
|
|
@@ -141,6 +142,7 @@ module Lithic
|
|
|
141
142
|
ACH: :ACH
|
|
142
143
|
WIRE: :WIRE
|
|
143
144
|
STABLECOIN: :STABLECOIN
|
|
145
|
+
INTRA_BANK: :INTRA_BANK
|
|
144
146
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
145
147
|
FEE: :FEE
|
|
146
148
|
REWARD: :REWARD
|
|
@@ -245,6 +247,9 @@ module Lithic
|
|
|
245
247
|
| :INTEREST
|
|
246
248
|
| :INTEREST_REVERSAL
|
|
247
249
|
| :INTERNAL_ADJUSTMENT
|
|
250
|
+
| :INTRA_BANK_CANCELED
|
|
251
|
+
| :INTRA_BANK_INITIATED
|
|
252
|
+
| :INTRA_BANK_SETTLED
|
|
248
253
|
| :LATE_PAYMENT
|
|
249
254
|
| :LATE_PAYMENT_REVERSAL
|
|
250
255
|
| :LOSS_WRITE_OFF
|
|
@@ -273,6 +278,7 @@ module Lithic
|
|
|
273
278
|
| :STABLECOIN_SENT
|
|
274
279
|
| :STABLECOIN_SETTLED
|
|
275
280
|
| :STABLECOIN_REJECTED
|
|
281
|
+
| :INSTANCE_TO_INSTANCE
|
|
276
282
|
|
|
277
283
|
module EventType
|
|
278
284
|
extend Lithic::Internal::Type::Enum
|
|
@@ -354,6 +360,9 @@ module Lithic
|
|
|
354
360
|
INTEREST: :INTEREST
|
|
355
361
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
356
362
|
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
363
|
+
INTRA_BANK_CANCELED: :INTRA_BANK_CANCELED
|
|
364
|
+
INTRA_BANK_INITIATED: :INTRA_BANK_INITIATED
|
|
365
|
+
INTRA_BANK_SETTLED: :INTRA_BANK_SETTLED
|
|
357
366
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
358
367
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
359
368
|
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
@@ -382,6 +391,7 @@ module Lithic
|
|
|
382
391
|
STABLECOIN_SENT: :STABLECOIN_SENT
|
|
383
392
|
STABLECOIN_SETTLED: :STABLECOIN_SETTLED
|
|
384
393
|
STABLECOIN_REJECTED: :STABLECOIN_REJECTED
|
|
394
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
385
395
|
|
|
386
396
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::event_type]
|
|
387
397
|
end
|
|
@@ -139,6 +139,9 @@ module Lithic
|
|
|
139
139
|
| :INTEREST
|
|
140
140
|
| :INTEREST_REVERSAL
|
|
141
141
|
| :INTERNAL_ADJUSTMENT
|
|
142
|
+
| :INTRA_BANK_CANCELED
|
|
143
|
+
| :INTRA_BANK_INITIATED
|
|
144
|
+
| :INTRA_BANK_SETTLED
|
|
142
145
|
| :LATE_PAYMENT
|
|
143
146
|
| :LATE_PAYMENT_REVERSAL
|
|
144
147
|
| :LOSS_WRITE_OFF
|
|
@@ -167,6 +170,7 @@ module Lithic
|
|
|
167
170
|
| :STABLECOIN_SENT
|
|
168
171
|
| :STABLECOIN_SETTLED
|
|
169
172
|
| :STABLECOIN_REJECTED
|
|
173
|
+
| :INSTANCE_TO_INSTANCE
|
|
170
174
|
|
|
171
175
|
module Type
|
|
172
176
|
extend Lithic::Internal::Type::Enum
|
|
@@ -248,6 +252,9 @@ module Lithic
|
|
|
248
252
|
INTEREST: :INTEREST
|
|
249
253
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
250
254
|
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
255
|
+
INTRA_BANK_CANCELED: :INTRA_BANK_CANCELED
|
|
256
|
+
INTRA_BANK_INITIATED: :INTRA_BANK_INITIATED
|
|
257
|
+
INTRA_BANK_SETTLED: :INTRA_BANK_SETTLED
|
|
251
258
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
252
259
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
253
260
|
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
@@ -276,6 +283,7 @@ module Lithic
|
|
|
276
283
|
STABLECOIN_SENT: :STABLECOIN_SENT
|
|
277
284
|
STABLECOIN_SETTLED: :STABLECOIN_SETTLED
|
|
278
285
|
STABLECOIN_REJECTED: :STABLECOIN_REJECTED
|
|
286
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
279
287
|
|
|
280
288
|
def self?.values: -> ::Array[Lithic::Models::FinancialEvent::type_]
|
|
281
289
|
end
|
|
@@ -1,17 +1,36 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
3
|
type funding_event_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
begin_: Time,
|
|
6
|
+
end_: Time,
|
|
7
|
+
ending_before: String,
|
|
8
|
+
network_settlement_date: Date,
|
|
9
|
+
page_size: Integer,
|
|
10
|
+
starting_after: String
|
|
11
|
+
}
|
|
5
12
|
& Lithic::Internal::Type::request_parameters
|
|
6
13
|
|
|
7
14
|
class FundingEventListParams < Lithic::Internal::Type::BaseModel
|
|
8
15
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
16
|
include Lithic::Internal::Type::RequestParameters
|
|
10
17
|
|
|
18
|
+
attr_reader begin_: Time?
|
|
19
|
+
|
|
20
|
+
def begin_=: (Time) -> Time
|
|
21
|
+
|
|
22
|
+
attr_reader end_: Time?
|
|
23
|
+
|
|
24
|
+
def end_=: (Time) -> Time
|
|
25
|
+
|
|
11
26
|
attr_reader ending_before: String?
|
|
12
27
|
|
|
13
28
|
def ending_before=: (String) -> String
|
|
14
29
|
|
|
30
|
+
attr_reader network_settlement_date: Date?
|
|
31
|
+
|
|
32
|
+
def network_settlement_date=: (Date) -> Date
|
|
33
|
+
|
|
15
34
|
attr_reader page_size: Integer?
|
|
16
35
|
|
|
17
36
|
def page_size=: (Integer) -> Integer
|
|
@@ -21,14 +40,20 @@ module Lithic
|
|
|
21
40
|
def starting_after=: (String) -> String
|
|
22
41
|
|
|
23
42
|
def initialize: (
|
|
43
|
+
?begin_: Time,
|
|
44
|
+
?end_: Time,
|
|
24
45
|
?ending_before: String,
|
|
46
|
+
?network_settlement_date: Date,
|
|
25
47
|
?page_size: Integer,
|
|
26
48
|
?starting_after: String,
|
|
27
49
|
?request_options: Lithic::request_opts
|
|
28
50
|
) -> void
|
|
29
51
|
|
|
30
52
|
def to_hash: -> {
|
|
53
|
+
begin_: Time,
|
|
54
|
+
end_: Time,
|
|
31
55
|
ending_before: String,
|
|
56
|
+
network_settlement_date: Date,
|
|
32
57
|
page_size: Integer,
|
|
33
58
|
starting_after: String,
|
|
34
59
|
request_options: Lithic::RequestOptions
|
data/sig/lithic/models/hold.rbs
CHANGED
|
@@ -4,7 +4,6 @@ module Lithic
|
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
6
|
created: Time,
|
|
7
|
-
status: Lithic::Models::Hold::status,
|
|
8
7
|
updated: Time,
|
|
9
8
|
currency: String,
|
|
10
9
|
events: ::Array[Lithic::HoldEvent],
|
|
@@ -13,6 +12,7 @@ module Lithic
|
|
|
13
12
|
financial_account_token: String,
|
|
14
13
|
pending_amount: Integer,
|
|
15
14
|
result: Lithic::Models::Hold::result,
|
|
15
|
+
status: Lithic::Models::Hold::status,
|
|
16
16
|
user_defined_id: String?
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -21,8 +21,6 @@ module Lithic
|
|
|
21
21
|
|
|
22
22
|
attr_accessor created: Time
|
|
23
23
|
|
|
24
|
-
attr_accessor status: Lithic::Models::Hold::status
|
|
25
|
-
|
|
26
24
|
attr_accessor updated: Time
|
|
27
25
|
|
|
28
26
|
attr_reader currency: String?
|
|
@@ -55,12 +53,17 @@ module Lithic
|
|
|
55
53
|
Lithic::Models::Hold::result
|
|
56
54
|
) -> Lithic::Models::Hold::result
|
|
57
55
|
|
|
56
|
+
attr_reader status: Lithic::Models::Hold::status?
|
|
57
|
+
|
|
58
|
+
def status=: (
|
|
59
|
+
Lithic::Models::Hold::status
|
|
60
|
+
) -> Lithic::Models::Hold::status
|
|
61
|
+
|
|
58
62
|
attr_accessor user_defined_id: String?
|
|
59
63
|
|
|
60
64
|
def initialize: (
|
|
61
65
|
token: String,
|
|
62
66
|
created: Time,
|
|
63
|
-
status: Lithic::Models::Hold::status,
|
|
64
67
|
updated: Time,
|
|
65
68
|
?currency: String,
|
|
66
69
|
?events: ::Array[Lithic::HoldEvent],
|
|
@@ -69,13 +72,13 @@ module Lithic
|
|
|
69
72
|
?financial_account_token: String,
|
|
70
73
|
?pending_amount: Integer,
|
|
71
74
|
?result: Lithic::Models::Hold::result,
|
|
75
|
+
?status: Lithic::Models::Hold::status,
|
|
72
76
|
?user_defined_id: String?
|
|
73
77
|
) -> void
|
|
74
78
|
|
|
75
79
|
def to_hash: -> {
|
|
76
80
|
token: String,
|
|
77
81
|
created: Time,
|
|
78
|
-
status: Lithic::Models::Hold::status,
|
|
79
82
|
updated: Time,
|
|
80
83
|
currency: String,
|
|
81
84
|
events: ::Array[Lithic::HoldEvent],
|
|
@@ -84,34 +87,10 @@ module Lithic
|
|
|
84
87
|
financial_account_token: String,
|
|
85
88
|
pending_amount: Integer,
|
|
86
89
|
result: Lithic::Models::Hold::result,
|
|
90
|
+
status: Lithic::Models::Hold::status,
|
|
87
91
|
user_defined_id: String?
|
|
88
92
|
}
|
|
89
93
|
|
|
90
|
-
type status =
|
|
91
|
-
:PENDING
|
|
92
|
-
| :SETTLED
|
|
93
|
-
| :EXPIRED
|
|
94
|
-
| :VOIDED
|
|
95
|
-
| :DECLINED
|
|
96
|
-
| :REVERSED
|
|
97
|
-
| :CANCELED
|
|
98
|
-
| :RETURNED
|
|
99
|
-
|
|
100
|
-
module Status
|
|
101
|
-
extend Lithic::Internal::Type::Enum
|
|
102
|
-
|
|
103
|
-
PENDING: :PENDING
|
|
104
|
-
SETTLED: :SETTLED
|
|
105
|
-
EXPIRED: :EXPIRED
|
|
106
|
-
VOIDED: :VOIDED
|
|
107
|
-
DECLINED: :DECLINED
|
|
108
|
-
REVERSED: :REVERSED
|
|
109
|
-
CANCELED: :CANCELED
|
|
110
|
-
RETURNED: :RETURNED
|
|
111
|
-
|
|
112
|
-
def self?.values: -> ::Array[Lithic::Models::Hold::status]
|
|
113
|
-
end
|
|
114
|
-
|
|
115
94
|
type family = :HOLD
|
|
116
95
|
|
|
117
96
|
module Family
|
|
@@ -132,6 +111,19 @@ module Lithic
|
|
|
132
111
|
|
|
133
112
|
def self?.values: -> ::Array[Lithic::Models::Hold::result]
|
|
134
113
|
end
|
|
114
|
+
|
|
115
|
+
type status = :PENDING | :SETTLED | :EXPIRED | :VOIDED
|
|
116
|
+
|
|
117
|
+
module Status
|
|
118
|
+
extend Lithic::Internal::Type::Enum
|
|
119
|
+
|
|
120
|
+
PENDING: :PENDING
|
|
121
|
+
SETTLED: :SETTLED
|
|
122
|
+
EXPIRED: :EXPIRED
|
|
123
|
+
VOIDED: :VOIDED
|
|
124
|
+
|
|
125
|
+
def self?.values: -> ::Array[Lithic::Models::Hold::status]
|
|
126
|
+
end
|
|
135
127
|
end
|
|
136
128
|
end
|
|
137
129
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type ip_range_retrieve_params =
|
|
4
|
+
{ } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class IPRangeRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Lithic::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Lithic::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type ip_range_retrieve_response =
|
|
4
|
+
{ responders: ::Array[String], updated: Time }
|
|
5
|
+
|
|
6
|
+
class IPRangeRetrieveResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor responders: ::Array[String]
|
|
8
|
+
|
|
9
|
+
attr_accessor updated: Time
|
|
10
|
+
|
|
11
|
+
def initialize: (responders: ::Array[String], updated: Time) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { responders: ::Array[String], updated: Time }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|