lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56
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 +39 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +52 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -10,10 +10,7 @@ module Lithic
|
|
|
10
10
|
credit_limit: Integer?,
|
|
11
11
|
credit_product_token: String?,
|
|
12
12
|
external_bank_account_token: String?,
|
|
13
|
-
tier: String
|
|
14
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
15
|
-
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
16
|
-
is_spend_blocked: bool
|
|
13
|
+
tier: String?
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
class FinancialAccountCreditConfig < Lithic::Internal::Type::BaseModel
|
|
@@ -29,28 +26,13 @@ module Lithic
|
|
|
29
26
|
|
|
30
27
|
attr_accessor tier: String?
|
|
31
28
|
|
|
32
|
-
attr_accessor charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?
|
|
33
|
-
|
|
34
|
-
attr_reader financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state?
|
|
35
|
-
|
|
36
|
-
def financial_account_state=: (
|
|
37
|
-
Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
38
|
-
) -> Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
39
|
-
|
|
40
|
-
attr_reader is_spend_blocked: bool?
|
|
41
|
-
|
|
42
|
-
def is_spend_blocked=: (bool) -> bool
|
|
43
|
-
|
|
44
29
|
def initialize: (
|
|
45
30
|
account_token: String,
|
|
46
31
|
auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration,
|
|
47
32
|
credit_limit: Integer?,
|
|
48
33
|
credit_product_token: String?,
|
|
49
34
|
external_bank_account_token: String?,
|
|
50
|
-
tier: String
|
|
51
|
-
?charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
52
|
-
?financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
53
|
-
?is_spend_blocked: bool
|
|
35
|
+
tier: String?
|
|
54
36
|
) -> void
|
|
55
37
|
|
|
56
38
|
def to_hash: -> {
|
|
@@ -59,10 +41,7 @@ module Lithic
|
|
|
59
41
|
credit_limit: Integer?,
|
|
60
42
|
credit_product_token: String?,
|
|
61
43
|
external_bank_account_token: String?,
|
|
62
|
-
tier: String
|
|
63
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
64
|
-
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
65
|
-
is_spend_blocked: bool
|
|
44
|
+
tier: String?
|
|
66
45
|
}
|
|
67
46
|
|
|
68
47
|
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
@@ -74,31 +53,6 @@ module Lithic
|
|
|
74
53
|
|
|
75
54
|
def to_hash: -> { auto_collection_enabled: bool }
|
|
76
55
|
end
|
|
77
|
-
|
|
78
|
-
type charged_off_reason = :DELINQUENT | :FRAUD
|
|
79
|
-
|
|
80
|
-
module ChargedOffReason
|
|
81
|
-
extend Lithic::Internal::Type::Enum
|
|
82
|
-
|
|
83
|
-
DELINQUENT: :DELINQUENT
|
|
84
|
-
FRAUD: :FRAUD
|
|
85
|
-
|
|
86
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason]
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
type financial_account_state =
|
|
90
|
-
:PENDING | :CURRENT | :DELINQUENT | :CHARGED_OFF
|
|
91
|
-
|
|
92
|
-
module FinancialAccountState
|
|
93
|
-
extend Lithic::Internal::Type::Enum
|
|
94
|
-
|
|
95
|
-
PENDING: :PENDING
|
|
96
|
-
CURRENT: :CURRENT
|
|
97
|
-
DELINQUENT: :DELINQUENT
|
|
98
|
-
CHARGED_OFF: :CHARGED_OFF
|
|
99
|
-
|
|
100
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state]
|
|
101
|
-
end
|
|
102
56
|
end
|
|
103
57
|
end
|
|
104
58
|
end
|
|
@@ -11,20 +11,20 @@ module Lithic
|
|
|
11
11
|
credit_limit: Integer,
|
|
12
12
|
credit_product_token: String,
|
|
13
13
|
date: Date,
|
|
14
|
-
day_totals: Lithic::
|
|
14
|
+
day_totals: Lithic::StatementTotals,
|
|
15
15
|
ending_balance: Integer,
|
|
16
16
|
excess_credits: Integer,
|
|
17
17
|
financial_account_token: String,
|
|
18
18
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
19
19
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
20
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
21
|
-
period_totals: Lithic::
|
|
20
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
21
|
+
period_totals: Lithic::StatementTotals,
|
|
22
22
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
23
23
|
starting_balance: Integer,
|
|
24
24
|
updated: Time,
|
|
25
25
|
version: Integer,
|
|
26
|
-
ytd_totals: Lithic::
|
|
27
|
-
tier: String
|
|
26
|
+
ytd_totals: Lithic::StatementTotals,
|
|
27
|
+
tier: String?
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
class LoanTape < Lithic::Internal::Type::BaseModel
|
|
@@ -44,7 +44,7 @@ module Lithic
|
|
|
44
44
|
|
|
45
45
|
attr_accessor date: Date
|
|
46
46
|
|
|
47
|
-
attr_accessor day_totals: Lithic::
|
|
47
|
+
attr_accessor day_totals: Lithic::StatementTotals
|
|
48
48
|
|
|
49
49
|
attr_accessor ending_balance: Integer
|
|
50
50
|
|
|
@@ -56,9 +56,9 @@ module Lithic
|
|
|
56
56
|
|
|
57
57
|
attr_accessor minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance
|
|
58
58
|
|
|
59
|
-
attr_accessor payment_allocation: Lithic::FinancialAccounts::
|
|
59
|
+
attr_accessor payment_allocation: Lithic::FinancialAccounts::CategoryBalances
|
|
60
60
|
|
|
61
|
-
attr_accessor period_totals: Lithic::
|
|
61
|
+
attr_accessor period_totals: Lithic::StatementTotals
|
|
62
62
|
|
|
63
63
|
attr_accessor previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance
|
|
64
64
|
|
|
@@ -68,11 +68,9 @@ module Lithic
|
|
|
68
68
|
|
|
69
69
|
attr_accessor version: Integer
|
|
70
70
|
|
|
71
|
-
attr_accessor ytd_totals: Lithic::
|
|
71
|
+
attr_accessor ytd_totals: Lithic::StatementTotals
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
def tier=: (String) -> String
|
|
73
|
+
attr_accessor tier: String?
|
|
76
74
|
|
|
77
75
|
def initialize: (
|
|
78
76
|
token: String,
|
|
@@ -83,20 +81,20 @@ module Lithic
|
|
|
83
81
|
credit_limit: Integer,
|
|
84
82
|
credit_product_token: String,
|
|
85
83
|
date: Date,
|
|
86
|
-
day_totals: Lithic::
|
|
84
|
+
day_totals: Lithic::StatementTotals,
|
|
87
85
|
ending_balance: Integer,
|
|
88
86
|
excess_credits: Integer,
|
|
89
87
|
financial_account_token: String,
|
|
90
88
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
91
89
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
92
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
93
|
-
period_totals: Lithic::
|
|
90
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
91
|
+
period_totals: Lithic::StatementTotals,
|
|
94
92
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
95
93
|
starting_balance: Integer,
|
|
96
94
|
updated: Time,
|
|
97
95
|
version: Integer,
|
|
98
|
-
ytd_totals: Lithic::
|
|
99
|
-
?tier: String
|
|
96
|
+
ytd_totals: Lithic::StatementTotals,
|
|
97
|
+
?tier: String?
|
|
100
98
|
) -> void
|
|
101
99
|
|
|
102
100
|
def to_hash: -> {
|
|
@@ -108,20 +106,20 @@ module Lithic
|
|
|
108
106
|
credit_limit: Integer,
|
|
109
107
|
credit_product_token: String,
|
|
110
108
|
date: Date,
|
|
111
|
-
day_totals: Lithic::
|
|
109
|
+
day_totals: Lithic::StatementTotals,
|
|
112
110
|
ending_balance: Integer,
|
|
113
111
|
excess_credits: Integer,
|
|
114
112
|
financial_account_token: String,
|
|
115
113
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
116
114
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
117
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
118
|
-
period_totals: Lithic::
|
|
115
|
+
payment_allocation: Lithic::FinancialAccounts::CategoryBalances,
|
|
116
|
+
period_totals: Lithic::StatementTotals,
|
|
119
117
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
120
118
|
starting_balance: Integer,
|
|
121
119
|
updated: Time,
|
|
122
120
|
version: Integer,
|
|
123
|
-
ytd_totals: Lithic::
|
|
124
|
-
tier: String
|
|
121
|
+
ytd_totals: Lithic::StatementTotals,
|
|
122
|
+
tier: String?
|
|
125
123
|
}
|
|
126
124
|
|
|
127
125
|
type account_standing =
|
|
@@ -244,181 +242,43 @@ module Lithic
|
|
|
244
242
|
|
|
245
243
|
type balances =
|
|
246
244
|
{
|
|
247
|
-
due: Lithic::FinancialAccounts::
|
|
248
|
-
next_statement_due: Lithic::FinancialAccounts::
|
|
249
|
-
past_due: Lithic::FinancialAccounts::
|
|
250
|
-
past_statements_due: Lithic::FinancialAccounts::
|
|
245
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
246
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
247
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
248
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
251
249
|
}
|
|
252
250
|
|
|
253
251
|
class Balances < Lithic::Internal::Type::BaseModel
|
|
254
|
-
attr_accessor due: Lithic::FinancialAccounts::
|
|
252
|
+
attr_accessor due: Lithic::FinancialAccounts::CategoryBalances
|
|
255
253
|
|
|
256
|
-
attr_accessor next_statement_due: Lithic::FinancialAccounts::
|
|
254
|
+
attr_accessor next_statement_due: Lithic::FinancialAccounts::CategoryBalances
|
|
257
255
|
|
|
258
|
-
attr_accessor past_due: Lithic::FinancialAccounts::
|
|
256
|
+
attr_accessor past_due: Lithic::FinancialAccounts::CategoryBalances
|
|
259
257
|
|
|
260
|
-
attr_accessor past_statements_due: Lithic::FinancialAccounts::
|
|
258
|
+
attr_accessor past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
261
259
|
|
|
262
260
|
def initialize: (
|
|
263
|
-
due: Lithic::FinancialAccounts::
|
|
264
|
-
next_statement_due: Lithic::FinancialAccounts::
|
|
265
|
-
past_due: Lithic::FinancialAccounts::
|
|
266
|
-
past_statements_due: Lithic::FinancialAccounts::
|
|
261
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
262
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
263
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
264
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
267
265
|
) -> void
|
|
268
266
|
|
|
269
267
|
def to_hash: -> {
|
|
270
|
-
due: Lithic::FinancialAccounts::
|
|
271
|
-
next_statement_due: Lithic::FinancialAccounts::
|
|
272
|
-
past_due: Lithic::FinancialAccounts::
|
|
273
|
-
past_statements_due: Lithic::FinancialAccounts::
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
type due = { fees: Integer, interest: Integer, principal: Integer }
|
|
277
|
-
|
|
278
|
-
class Due < Lithic::Internal::Type::BaseModel
|
|
279
|
-
attr_accessor fees: Integer
|
|
280
|
-
|
|
281
|
-
attr_accessor interest: Integer
|
|
282
|
-
|
|
283
|
-
attr_accessor principal: Integer
|
|
284
|
-
|
|
285
|
-
def initialize: (
|
|
286
|
-
fees: Integer,
|
|
287
|
-
interest: Integer,
|
|
288
|
-
principal: Integer
|
|
289
|
-
) -> void
|
|
290
|
-
|
|
291
|
-
def to_hash: -> {
|
|
292
|
-
fees: Integer,
|
|
293
|
-
interest: Integer,
|
|
294
|
-
principal: Integer
|
|
295
|
-
}
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
type next_statement_due =
|
|
299
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
300
|
-
|
|
301
|
-
class NextStatementDue < Lithic::Internal::Type::BaseModel
|
|
302
|
-
attr_accessor fees: Integer
|
|
303
|
-
|
|
304
|
-
attr_accessor interest: Integer
|
|
305
|
-
|
|
306
|
-
attr_accessor principal: Integer
|
|
307
|
-
|
|
308
|
-
def initialize: (
|
|
309
|
-
fees: Integer,
|
|
310
|
-
interest: Integer,
|
|
311
|
-
principal: Integer
|
|
312
|
-
) -> void
|
|
313
|
-
|
|
314
|
-
def to_hash: -> {
|
|
315
|
-
fees: Integer,
|
|
316
|
-
interest: Integer,
|
|
317
|
-
principal: Integer
|
|
318
|
-
}
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
type past_due =
|
|
322
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
323
|
-
|
|
324
|
-
class PastDue < Lithic::Internal::Type::BaseModel
|
|
325
|
-
attr_accessor fees: Integer
|
|
326
|
-
|
|
327
|
-
attr_accessor interest: Integer
|
|
328
|
-
|
|
329
|
-
attr_accessor principal: Integer
|
|
330
|
-
|
|
331
|
-
def initialize: (
|
|
332
|
-
fees: Integer,
|
|
333
|
-
interest: Integer,
|
|
334
|
-
principal: Integer
|
|
335
|
-
) -> void
|
|
336
|
-
|
|
337
|
-
def to_hash: -> {
|
|
338
|
-
fees: Integer,
|
|
339
|
-
interest: Integer,
|
|
340
|
-
principal: Integer
|
|
341
|
-
}
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
type past_statements_due =
|
|
345
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
346
|
-
|
|
347
|
-
class PastStatementsDue < Lithic::Internal::Type::BaseModel
|
|
348
|
-
attr_accessor fees: Integer
|
|
349
|
-
|
|
350
|
-
attr_accessor interest: Integer
|
|
351
|
-
|
|
352
|
-
attr_accessor principal: Integer
|
|
353
|
-
|
|
354
|
-
def initialize: (
|
|
355
|
-
fees: Integer,
|
|
356
|
-
interest: Integer,
|
|
357
|
-
principal: Integer
|
|
358
|
-
) -> void
|
|
359
|
-
|
|
360
|
-
def to_hash: -> {
|
|
361
|
-
fees: Integer,
|
|
362
|
-
interest: Integer,
|
|
363
|
-
principal: Integer
|
|
364
|
-
}
|
|
365
|
-
end
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
type day_totals =
|
|
369
|
-
{
|
|
370
|
-
balance_transfers: Integer,
|
|
371
|
-
cash_advances: Integer,
|
|
372
|
-
credits: Integer,
|
|
373
|
-
fees: Integer,
|
|
374
|
-
interest: Integer,
|
|
375
|
-
payments: Integer,
|
|
376
|
-
purchases: Integer
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
class DayTotals < Lithic::Internal::Type::BaseModel
|
|
380
|
-
attr_accessor balance_transfers: Integer
|
|
381
|
-
|
|
382
|
-
attr_accessor cash_advances: Integer
|
|
383
|
-
|
|
384
|
-
attr_accessor credits: Integer
|
|
385
|
-
|
|
386
|
-
attr_accessor fees: Integer
|
|
387
|
-
|
|
388
|
-
attr_accessor interest: Integer
|
|
389
|
-
|
|
390
|
-
attr_accessor payments: Integer
|
|
391
|
-
|
|
392
|
-
attr_accessor purchases: Integer
|
|
393
|
-
|
|
394
|
-
def initialize: (
|
|
395
|
-
balance_transfers: Integer,
|
|
396
|
-
cash_advances: Integer,
|
|
397
|
-
credits: Integer,
|
|
398
|
-
fees: Integer,
|
|
399
|
-
interest: Integer,
|
|
400
|
-
payments: Integer,
|
|
401
|
-
purchases: Integer
|
|
402
|
-
) -> void
|
|
403
|
-
|
|
404
|
-
def to_hash: -> {
|
|
405
|
-
balance_transfers: Integer,
|
|
406
|
-
cash_advances: Integer,
|
|
407
|
-
credits: Integer,
|
|
408
|
-
fees: Integer,
|
|
409
|
-
interest: Integer,
|
|
410
|
-
payments: Integer,
|
|
411
|
-
purchases: Integer
|
|
268
|
+
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
269
|
+
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
270
|
+
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
271
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
412
272
|
}
|
|
413
273
|
end
|
|
414
274
|
|
|
415
275
|
type interest_details =
|
|
416
276
|
{
|
|
417
277
|
actual_interest_charged: Integer?,
|
|
418
|
-
daily_balance_amounts: Lithic::
|
|
419
|
-
effective_apr: Lithic::
|
|
278
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
279
|
+
effective_apr: Lithic::CategoryDetails,
|
|
420
280
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
421
|
-
interest_for_period: Lithic::
|
|
281
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
422
282
|
prime_rate: String?,
|
|
423
283
|
minimum_interest_charged: Integer?
|
|
424
284
|
}
|
|
@@ -426,13 +286,13 @@ module Lithic
|
|
|
426
286
|
class InterestDetails < Lithic::Internal::Type::BaseModel
|
|
427
287
|
attr_accessor actual_interest_charged: Integer?
|
|
428
288
|
|
|
429
|
-
attr_accessor daily_balance_amounts: Lithic::
|
|
289
|
+
attr_accessor daily_balance_amounts: Lithic::CategoryDetails
|
|
430
290
|
|
|
431
|
-
attr_accessor effective_apr: Lithic::
|
|
291
|
+
attr_accessor effective_apr: Lithic::CategoryDetails
|
|
432
292
|
|
|
433
293
|
attr_accessor interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method
|
|
434
294
|
|
|
435
|
-
attr_accessor interest_for_period: Lithic::
|
|
295
|
+
attr_accessor interest_for_period: Lithic::CategoryDetails
|
|
436
296
|
|
|
437
297
|
attr_accessor prime_rate: String?
|
|
438
298
|
|
|
@@ -440,78 +300,24 @@ module Lithic
|
|
|
440
300
|
|
|
441
301
|
def initialize: (
|
|
442
302
|
actual_interest_charged: Integer?,
|
|
443
|
-
daily_balance_amounts: Lithic::
|
|
444
|
-
effective_apr: Lithic::
|
|
303
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
304
|
+
effective_apr: Lithic::CategoryDetails,
|
|
445
305
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
446
|
-
interest_for_period: Lithic::
|
|
306
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
447
307
|
prime_rate: String?,
|
|
448
308
|
?minimum_interest_charged: Integer?
|
|
449
309
|
) -> void
|
|
450
310
|
|
|
451
311
|
def to_hash: -> {
|
|
452
312
|
actual_interest_charged: Integer?,
|
|
453
|
-
daily_balance_amounts: Lithic::
|
|
454
|
-
effective_apr: Lithic::
|
|
313
|
+
daily_balance_amounts: Lithic::CategoryDetails,
|
|
314
|
+
effective_apr: Lithic::CategoryDetails,
|
|
455
315
|
interest_calculation_method: Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method,
|
|
456
|
-
interest_for_period: Lithic::
|
|
316
|
+
interest_for_period: Lithic::CategoryDetails,
|
|
457
317
|
prime_rate: String?,
|
|
458
318
|
minimum_interest_charged: Integer?
|
|
459
319
|
}
|
|
460
320
|
|
|
461
|
-
type daily_balance_amounts =
|
|
462
|
-
{
|
|
463
|
-
balance_transfers: String,
|
|
464
|
-
cash_advances: String,
|
|
465
|
-
purchases: String
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
|
|
469
|
-
attr_accessor balance_transfers: String
|
|
470
|
-
|
|
471
|
-
attr_accessor cash_advances: String
|
|
472
|
-
|
|
473
|
-
attr_accessor purchases: String
|
|
474
|
-
|
|
475
|
-
def initialize: (
|
|
476
|
-
balance_transfers: String,
|
|
477
|
-
cash_advances: String,
|
|
478
|
-
purchases: String
|
|
479
|
-
) -> void
|
|
480
|
-
|
|
481
|
-
def to_hash: -> {
|
|
482
|
-
balance_transfers: String,
|
|
483
|
-
cash_advances: String,
|
|
484
|
-
purchases: String
|
|
485
|
-
}
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
type effective_apr =
|
|
489
|
-
{
|
|
490
|
-
balance_transfers: String,
|
|
491
|
-
cash_advances: String,
|
|
492
|
-
purchases: String
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
class EffectiveApr < Lithic::Internal::Type::BaseModel
|
|
496
|
-
attr_accessor balance_transfers: String
|
|
497
|
-
|
|
498
|
-
attr_accessor cash_advances: String
|
|
499
|
-
|
|
500
|
-
attr_accessor purchases: String
|
|
501
|
-
|
|
502
|
-
def initialize: (
|
|
503
|
-
balance_transfers: String,
|
|
504
|
-
cash_advances: String,
|
|
505
|
-
purchases: String
|
|
506
|
-
) -> void
|
|
507
|
-
|
|
508
|
-
def to_hash: -> {
|
|
509
|
-
balance_transfers: String,
|
|
510
|
-
cash_advances: String,
|
|
511
|
-
purchases: String
|
|
512
|
-
}
|
|
513
|
-
end
|
|
514
|
-
|
|
515
321
|
type interest_calculation_method = :DAILY | :AVERAGE_DAILY
|
|
516
322
|
|
|
517
323
|
module InterestCalculationMethod
|
|
@@ -522,33 +328,6 @@ module Lithic
|
|
|
522
328
|
|
|
523
329
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::interest_calculation_method]
|
|
524
330
|
end
|
|
525
|
-
|
|
526
|
-
type interest_for_period =
|
|
527
|
-
{
|
|
528
|
-
balance_transfers: String,
|
|
529
|
-
cash_advances: String,
|
|
530
|
-
purchases: String
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
class InterestForPeriod < Lithic::Internal::Type::BaseModel
|
|
534
|
-
attr_accessor balance_transfers: String
|
|
535
|
-
|
|
536
|
-
attr_accessor cash_advances: String
|
|
537
|
-
|
|
538
|
-
attr_accessor purchases: String
|
|
539
|
-
|
|
540
|
-
def initialize: (
|
|
541
|
-
balance_transfers: String,
|
|
542
|
-
cash_advances: String,
|
|
543
|
-
purchases: String
|
|
544
|
-
) -> void
|
|
545
|
-
|
|
546
|
-
def to_hash: -> {
|
|
547
|
-
balance_transfers: String,
|
|
548
|
-
cash_advances: String,
|
|
549
|
-
purchases: String
|
|
550
|
-
}
|
|
551
|
-
end
|
|
552
331
|
end
|
|
553
332
|
|
|
554
333
|
type minimum_payment_balance = { amount: Integer, remaining: Integer }
|
|
@@ -563,76 +342,6 @@ module Lithic
|
|
|
563
342
|
def to_hash: -> { amount: Integer, remaining: Integer }
|
|
564
343
|
end
|
|
565
344
|
|
|
566
|
-
type payment_allocation =
|
|
567
|
-
{ fees: Integer, interest: Integer, principal: Integer }
|
|
568
|
-
|
|
569
|
-
class PaymentAllocation < Lithic::Internal::Type::BaseModel
|
|
570
|
-
attr_accessor fees: Integer
|
|
571
|
-
|
|
572
|
-
attr_accessor interest: Integer
|
|
573
|
-
|
|
574
|
-
attr_accessor principal: Integer
|
|
575
|
-
|
|
576
|
-
def initialize: (
|
|
577
|
-
fees: Integer,
|
|
578
|
-
interest: Integer,
|
|
579
|
-
principal: Integer
|
|
580
|
-
) -> void
|
|
581
|
-
|
|
582
|
-
def to_hash: -> {
|
|
583
|
-
fees: Integer,
|
|
584
|
-
interest: Integer,
|
|
585
|
-
principal: Integer
|
|
586
|
-
}
|
|
587
|
-
end
|
|
588
|
-
|
|
589
|
-
type period_totals =
|
|
590
|
-
{
|
|
591
|
-
balance_transfers: Integer,
|
|
592
|
-
cash_advances: Integer,
|
|
593
|
-
credits: Integer,
|
|
594
|
-
fees: Integer,
|
|
595
|
-
interest: Integer,
|
|
596
|
-
payments: Integer,
|
|
597
|
-
purchases: Integer
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
class PeriodTotals < Lithic::Internal::Type::BaseModel
|
|
601
|
-
attr_accessor balance_transfers: Integer
|
|
602
|
-
|
|
603
|
-
attr_accessor cash_advances: Integer
|
|
604
|
-
|
|
605
|
-
attr_accessor credits: Integer
|
|
606
|
-
|
|
607
|
-
attr_accessor fees: Integer
|
|
608
|
-
|
|
609
|
-
attr_accessor interest: Integer
|
|
610
|
-
|
|
611
|
-
attr_accessor payments: Integer
|
|
612
|
-
|
|
613
|
-
attr_accessor purchases: Integer
|
|
614
|
-
|
|
615
|
-
def initialize: (
|
|
616
|
-
balance_transfers: Integer,
|
|
617
|
-
cash_advances: Integer,
|
|
618
|
-
credits: Integer,
|
|
619
|
-
fees: Integer,
|
|
620
|
-
interest: Integer,
|
|
621
|
-
payments: Integer,
|
|
622
|
-
purchases: Integer
|
|
623
|
-
) -> void
|
|
624
|
-
|
|
625
|
-
def to_hash: -> {
|
|
626
|
-
balance_transfers: Integer,
|
|
627
|
-
cash_advances: Integer,
|
|
628
|
-
credits: Integer,
|
|
629
|
-
fees: Integer,
|
|
630
|
-
interest: Integer,
|
|
631
|
-
payments: Integer,
|
|
632
|
-
purchases: Integer
|
|
633
|
-
}
|
|
634
|
-
end
|
|
635
|
-
|
|
636
345
|
type previous_statement_balance =
|
|
637
346
|
{ amount: Integer, remaining: Integer }
|
|
638
347
|
|
|
@@ -645,53 +354,6 @@ module Lithic
|
|
|
645
354
|
|
|
646
355
|
def to_hash: -> { amount: Integer, remaining: Integer }
|
|
647
356
|
end
|
|
648
|
-
|
|
649
|
-
type ytd_totals =
|
|
650
|
-
{
|
|
651
|
-
balance_transfers: Integer,
|
|
652
|
-
cash_advances: Integer,
|
|
653
|
-
credits: Integer,
|
|
654
|
-
fees: Integer,
|
|
655
|
-
interest: Integer,
|
|
656
|
-
payments: Integer,
|
|
657
|
-
purchases: Integer
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
class YtdTotals < Lithic::Internal::Type::BaseModel
|
|
661
|
-
attr_accessor balance_transfers: Integer
|
|
662
|
-
|
|
663
|
-
attr_accessor cash_advances: Integer
|
|
664
|
-
|
|
665
|
-
attr_accessor credits: Integer
|
|
666
|
-
|
|
667
|
-
attr_accessor fees: Integer
|
|
668
|
-
|
|
669
|
-
attr_accessor interest: Integer
|
|
670
|
-
|
|
671
|
-
attr_accessor payments: Integer
|
|
672
|
-
|
|
673
|
-
attr_accessor purchases: Integer
|
|
674
|
-
|
|
675
|
-
def initialize: (
|
|
676
|
-
balance_transfers: Integer,
|
|
677
|
-
cash_advances: Integer,
|
|
678
|
-
credits: Integer,
|
|
679
|
-
fees: Integer,
|
|
680
|
-
interest: Integer,
|
|
681
|
-
payments: Integer,
|
|
682
|
-
purchases: Integer
|
|
683
|
-
) -> void
|
|
684
|
-
|
|
685
|
-
def to_hash: -> {
|
|
686
|
-
balance_transfers: Integer,
|
|
687
|
-
cash_advances: Integer,
|
|
688
|
-
credits: Integer,
|
|
689
|
-
fees: Integer,
|
|
690
|
-
interest: Integer,
|
|
691
|
-
payments: Integer,
|
|
692
|
-
purchases: Integer
|
|
693
|
-
}
|
|
694
|
-
end
|
|
695
357
|
end
|
|
696
358
|
end
|
|
697
359
|
end
|