lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55
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 +34 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
- 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_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
- data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
- 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 +5 -5
- data/lib/lithic/models/dispute.rb +510 -242
- data/lib/lithic/models/dispute_create_response.rb +326 -0
- data/lib/lithic/models/dispute_delete_response.rb +326 -0
- data/lib/lithic/models/dispute_list_response.rb +326 -0
- data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
- data/lib/lithic/models/dispute_update_response.rb +326 -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/financial_account.rb +1 -65
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
- data/lib/lithic/models/financial_accounts/statement.rb +66 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/payment.rb +29 -18
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +12 -116
- data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
- data/lib/lithic/models/transfer.rb +1 -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.rb +10 -10
- data/lib/lithic/resources/payments.rb +5 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -3
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- 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_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
- 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 +14 -11
- data/rbi/lithic/models/dispute.rbi +942 -395
- data/rbi/lithic/models/dispute_create_response.rbi +599 -0
- data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
- data/rbi/lithic/models/dispute_list_response.rbi +582 -0
- data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
- data/rbi/lithic/models/dispute_update_response.rbi +599 -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/financial_account.rbi +3 -132
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
- data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/payment.rbi +52 -28
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +22 -246
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
- data/rbi/lithic/resources/disputes.rbi +7 -5
- data/rbi/lithic/resources/payments.rbi +6 -0
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- 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 +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
- 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 +7 -7
- data/sig/lithic/models/dispute.rbs +417 -157
- data/sig/lithic/models/dispute_create_response.rbs +210 -0
- data/sig/lithic/models/dispute_delete_response.rbs +210 -0
- data/sig/lithic/models/dispute_list_response.rbs +210 -0
- data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
- data/sig/lithic/models/dispute_update_response.rbs +210 -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/financial_account.rbs +3 -45
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
- data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/payment.rbs +16 -12
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +13 -94
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/payments.rbs +2 -0
- metadata +23 -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
|
@@ -39,32 +39,7 @@ module Lithic
|
|
|
39
39
|
# @return [String, nil]
|
|
40
40
|
required :tier, String, nil?: true
|
|
41
41
|
|
|
42
|
-
# @!
|
|
43
|
-
# @deprecated
|
|
44
|
-
#
|
|
45
|
-
# Reason for the financial account being marked as Charged Off
|
|
46
|
-
#
|
|
47
|
-
# @return [Symbol, Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason, nil]
|
|
48
|
-
optional :charged_off_reason,
|
|
49
|
-
enum: -> { Lithic::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason },
|
|
50
|
-
nil?: true
|
|
51
|
-
|
|
52
|
-
# @!attribute financial_account_state
|
|
53
|
-
# @deprecated
|
|
54
|
-
#
|
|
55
|
-
# State of the financial account
|
|
56
|
-
#
|
|
57
|
-
# @return [Symbol, Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState, nil]
|
|
58
|
-
optional :financial_account_state,
|
|
59
|
-
enum: -> { Lithic::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState }
|
|
60
|
-
|
|
61
|
-
# @!attribute is_spend_blocked
|
|
62
|
-
# @deprecated
|
|
63
|
-
#
|
|
64
|
-
# @return [Boolean, nil]
|
|
65
|
-
optional :is_spend_blocked, Lithic::Internal::Type::Boolean
|
|
66
|
-
|
|
67
|
-
# @!method initialize(account_token:, auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:, charged_off_reason: nil, financial_account_state: nil, is_spend_blocked: nil)
|
|
42
|
+
# @!method initialize(account_token:, auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:)
|
|
68
43
|
# @param account_token [String] Globally unique identifier for the account
|
|
69
44
|
#
|
|
70
45
|
# @param auto_collection_configuration [Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration]
|
|
@@ -76,12 +51,6 @@ module Lithic
|
|
|
76
51
|
# @param external_bank_account_token [String, nil]
|
|
77
52
|
#
|
|
78
53
|
# @param tier [String, nil] Tier assigned to the financial account
|
|
79
|
-
#
|
|
80
|
-
# @param charged_off_reason [Symbol, Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason, nil] Reason for the financial account being marked as Charged Off
|
|
81
|
-
#
|
|
82
|
-
# @param financial_account_state [Symbol, Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::FinancialAccountState] State of the financial account
|
|
83
|
-
#
|
|
84
|
-
# @param is_spend_blocked [Boolean]
|
|
85
54
|
|
|
86
55
|
# @see Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig#auto_collection_configuration
|
|
87
56
|
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
|
@@ -94,38 +63,6 @@ module Lithic
|
|
|
94
63
|
# @!method initialize(auto_collection_enabled:)
|
|
95
64
|
# @param auto_collection_enabled [Boolean] If auto collection is enabled for this account
|
|
96
65
|
end
|
|
97
|
-
|
|
98
|
-
# @deprecated
|
|
99
|
-
#
|
|
100
|
-
# Reason for the financial account being marked as Charged Off
|
|
101
|
-
#
|
|
102
|
-
# @see Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig#charged_off_reason
|
|
103
|
-
module ChargedOffReason
|
|
104
|
-
extend Lithic::Internal::Type::Enum
|
|
105
|
-
|
|
106
|
-
DELINQUENT = :DELINQUENT
|
|
107
|
-
FRAUD = :FRAUD
|
|
108
|
-
|
|
109
|
-
# @!method self.values
|
|
110
|
-
# @return [Array<Symbol>]
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
# @deprecated
|
|
114
|
-
#
|
|
115
|
-
# State of the financial account
|
|
116
|
-
#
|
|
117
|
-
# @see Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig#financial_account_state
|
|
118
|
-
module FinancialAccountState
|
|
119
|
-
extend Lithic::Internal::Type::Enum
|
|
120
|
-
|
|
121
|
-
PENDING = :PENDING
|
|
122
|
-
CURRENT = :CURRENT
|
|
123
|
-
DELINQUENT = :DELINQUENT
|
|
124
|
-
CHARGED_OFF = :CHARGED_OFF
|
|
125
|
-
|
|
126
|
-
# @!method self.values
|
|
127
|
-
# @return [Array<Symbol>]
|
|
128
|
-
end
|
|
129
66
|
end
|
|
130
67
|
end
|
|
131
68
|
|
|
@@ -484,6 +484,12 @@ module Lithic
|
|
|
484
484
|
# @return [Integer]
|
|
485
485
|
required :credits, Integer
|
|
486
486
|
|
|
487
|
+
# @!attribute debits
|
|
488
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
489
|
+
#
|
|
490
|
+
# @return [Integer]
|
|
491
|
+
required :debits, Integer
|
|
492
|
+
|
|
487
493
|
# @!attribute fees
|
|
488
494
|
# Volume of debit management operation transactions less any interest in cents
|
|
489
495
|
#
|
|
@@ -508,7 +514,25 @@ module Lithic
|
|
|
508
514
|
# @return [Integer]
|
|
509
515
|
required :purchases, Integer
|
|
510
516
|
|
|
511
|
-
# @!
|
|
517
|
+
# @!attribute credit_details
|
|
518
|
+
# Breakdown of credits
|
|
519
|
+
#
|
|
520
|
+
# @return [Object, nil]
|
|
521
|
+
optional :credit_details, Lithic::Internal::Type::Unknown
|
|
522
|
+
|
|
523
|
+
# @!attribute debit_details
|
|
524
|
+
# Breakdown of debits
|
|
525
|
+
#
|
|
526
|
+
# @return [Object, nil]
|
|
527
|
+
optional :debit_details, Lithic::Internal::Type::Unknown
|
|
528
|
+
|
|
529
|
+
# @!attribute payment_details
|
|
530
|
+
# Breakdown of payments
|
|
531
|
+
#
|
|
532
|
+
# @return [Object, nil]
|
|
533
|
+
optional :payment_details, Lithic::Internal::Type::Unknown
|
|
534
|
+
|
|
535
|
+
# @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
|
|
512
536
|
# Some parameter documentations has been truncated, see
|
|
513
537
|
# {Lithic::Models::FinancialAccounts::LoanTape::DayTotals} for more details.
|
|
514
538
|
#
|
|
@@ -518,6 +542,8 @@ module Lithic
|
|
|
518
542
|
#
|
|
519
543
|
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
|
520
544
|
#
|
|
545
|
+
# @param debits [Integer] Volume of debit management operation transactions less any interest in cents
|
|
546
|
+
#
|
|
521
547
|
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
|
522
548
|
#
|
|
523
549
|
# @param interest [Integer] Interest accrued in cents
|
|
@@ -525,6 +551,12 @@ module Lithic
|
|
|
525
551
|
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
|
526
552
|
#
|
|
527
553
|
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
|
554
|
+
#
|
|
555
|
+
# @param credit_details [Object] Breakdown of credits
|
|
556
|
+
#
|
|
557
|
+
# @param debit_details [Object] Breakdown of debits
|
|
558
|
+
#
|
|
559
|
+
# @param payment_details [Object] Breakdown of payments
|
|
528
560
|
end
|
|
529
561
|
|
|
530
562
|
# @see Lithic::Models::FinancialAccounts::LoanTape#interest_details
|
|
@@ -718,6 +750,12 @@ module Lithic
|
|
|
718
750
|
# @return [Integer]
|
|
719
751
|
required :credits, Integer
|
|
720
752
|
|
|
753
|
+
# @!attribute debits
|
|
754
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
755
|
+
#
|
|
756
|
+
# @return [Integer]
|
|
757
|
+
required :debits, Integer
|
|
758
|
+
|
|
721
759
|
# @!attribute fees
|
|
722
760
|
# Volume of debit management operation transactions less any interest in cents
|
|
723
761
|
#
|
|
@@ -742,7 +780,25 @@ module Lithic
|
|
|
742
780
|
# @return [Integer]
|
|
743
781
|
required :purchases, Integer
|
|
744
782
|
|
|
745
|
-
# @!
|
|
783
|
+
# @!attribute credit_details
|
|
784
|
+
# Breakdown of credits
|
|
785
|
+
#
|
|
786
|
+
# @return [Object, nil]
|
|
787
|
+
optional :credit_details, Lithic::Internal::Type::Unknown
|
|
788
|
+
|
|
789
|
+
# @!attribute debit_details
|
|
790
|
+
# Breakdown of debits
|
|
791
|
+
#
|
|
792
|
+
# @return [Object, nil]
|
|
793
|
+
optional :debit_details, Lithic::Internal::Type::Unknown
|
|
794
|
+
|
|
795
|
+
# @!attribute payment_details
|
|
796
|
+
# Breakdown of payments
|
|
797
|
+
#
|
|
798
|
+
# @return [Object, nil]
|
|
799
|
+
optional :payment_details, Lithic::Internal::Type::Unknown
|
|
800
|
+
|
|
801
|
+
# @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
|
|
746
802
|
# Some parameter documentations has been truncated, see
|
|
747
803
|
# {Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals} for more details.
|
|
748
804
|
#
|
|
@@ -752,6 +808,8 @@ module Lithic
|
|
|
752
808
|
#
|
|
753
809
|
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
|
754
810
|
#
|
|
811
|
+
# @param debits [Integer] Volume of debit management operation transactions less any interest in cents
|
|
812
|
+
#
|
|
755
813
|
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
|
756
814
|
#
|
|
757
815
|
# @param interest [Integer] Interest accrued in cents
|
|
@@ -759,6 +817,12 @@ module Lithic
|
|
|
759
817
|
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
|
760
818
|
#
|
|
761
819
|
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
|
820
|
+
#
|
|
821
|
+
# @param credit_details [Object] Breakdown of credits
|
|
822
|
+
#
|
|
823
|
+
# @param debit_details [Object] Breakdown of debits
|
|
824
|
+
#
|
|
825
|
+
# @param payment_details [Object] Breakdown of payments
|
|
762
826
|
end
|
|
763
827
|
|
|
764
828
|
# @see Lithic::Models::FinancialAccounts::LoanTape#previous_statement_balance
|
|
@@ -799,6 +863,12 @@ module Lithic
|
|
|
799
863
|
# @return [Integer]
|
|
800
864
|
required :credits, Integer
|
|
801
865
|
|
|
866
|
+
# @!attribute debits
|
|
867
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
868
|
+
#
|
|
869
|
+
# @return [Integer]
|
|
870
|
+
required :debits, Integer
|
|
871
|
+
|
|
802
872
|
# @!attribute fees
|
|
803
873
|
# Volume of debit management operation transactions less any interest in cents
|
|
804
874
|
#
|
|
@@ -823,7 +893,25 @@ module Lithic
|
|
|
823
893
|
# @return [Integer]
|
|
824
894
|
required :purchases, Integer
|
|
825
895
|
|
|
826
|
-
# @!
|
|
896
|
+
# @!attribute credit_details
|
|
897
|
+
# Breakdown of credits
|
|
898
|
+
#
|
|
899
|
+
# @return [Object, nil]
|
|
900
|
+
optional :credit_details, Lithic::Internal::Type::Unknown
|
|
901
|
+
|
|
902
|
+
# @!attribute debit_details
|
|
903
|
+
# Breakdown of debits
|
|
904
|
+
#
|
|
905
|
+
# @return [Object, nil]
|
|
906
|
+
optional :debit_details, Lithic::Internal::Type::Unknown
|
|
907
|
+
|
|
908
|
+
# @!attribute payment_details
|
|
909
|
+
# Breakdown of payments
|
|
910
|
+
#
|
|
911
|
+
# @return [Object, nil]
|
|
912
|
+
optional :payment_details, Lithic::Internal::Type::Unknown
|
|
913
|
+
|
|
914
|
+
# @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
|
|
827
915
|
# Some parameter documentations has been truncated, see
|
|
828
916
|
# {Lithic::Models::FinancialAccounts::LoanTape::YtdTotals} for more details.
|
|
829
917
|
#
|
|
@@ -833,6 +921,8 @@ module Lithic
|
|
|
833
921
|
#
|
|
834
922
|
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
|
835
923
|
#
|
|
924
|
+
# @param debits [Integer] Volume of debit management operation transactions less any interest in cents
|
|
925
|
+
#
|
|
836
926
|
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
|
837
927
|
#
|
|
838
928
|
# @param interest [Integer] Interest accrued in cents
|
|
@@ -840,6 +930,12 @@ module Lithic
|
|
|
840
930
|
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
|
841
931
|
#
|
|
842
932
|
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
|
933
|
+
#
|
|
934
|
+
# @param credit_details [Object] Breakdown of credits
|
|
935
|
+
#
|
|
936
|
+
# @param debit_details [Object] Breakdown of debits
|
|
937
|
+
#
|
|
938
|
+
# @param payment_details [Object] Breakdown of payments
|
|
843
939
|
end
|
|
844
940
|
end
|
|
845
941
|
end
|
|
@@ -357,6 +357,12 @@ module Lithic
|
|
|
357
357
|
# @return [Integer]
|
|
358
358
|
required :credits, Integer
|
|
359
359
|
|
|
360
|
+
# @!attribute debits
|
|
361
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
362
|
+
#
|
|
363
|
+
# @return [Integer]
|
|
364
|
+
required :debits, Integer
|
|
365
|
+
|
|
360
366
|
# @!attribute fees
|
|
361
367
|
# Volume of debit management operation transactions less any interest in cents
|
|
362
368
|
#
|
|
@@ -381,7 +387,25 @@ module Lithic
|
|
|
381
387
|
# @return [Integer]
|
|
382
388
|
required :purchases, Integer
|
|
383
389
|
|
|
384
|
-
# @!
|
|
390
|
+
# @!attribute credit_details
|
|
391
|
+
# Breakdown of credits
|
|
392
|
+
#
|
|
393
|
+
# @return [Object, nil]
|
|
394
|
+
optional :credit_details, Lithic::Internal::Type::Unknown
|
|
395
|
+
|
|
396
|
+
# @!attribute debit_details
|
|
397
|
+
# Breakdown of debits
|
|
398
|
+
#
|
|
399
|
+
# @return [Object, nil]
|
|
400
|
+
optional :debit_details, Lithic::Internal::Type::Unknown
|
|
401
|
+
|
|
402
|
+
# @!attribute payment_details
|
|
403
|
+
# Breakdown of payments
|
|
404
|
+
#
|
|
405
|
+
# @return [Object, nil]
|
|
406
|
+
optional :payment_details, Lithic::Internal::Type::Unknown
|
|
407
|
+
|
|
408
|
+
# @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
|
|
385
409
|
# Some parameter documentations has been truncated, see
|
|
386
410
|
# {Lithic::Models::FinancialAccounts::Statement::PeriodTotals} for more details.
|
|
387
411
|
#
|
|
@@ -391,6 +415,8 @@ module Lithic
|
|
|
391
415
|
#
|
|
392
416
|
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
|
393
417
|
#
|
|
418
|
+
# @param debits [Integer] Volume of debit management operation transactions less any interest in cents
|
|
419
|
+
#
|
|
394
420
|
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
|
395
421
|
#
|
|
396
422
|
# @param interest [Integer] Interest accrued in cents
|
|
@@ -398,6 +424,12 @@ module Lithic
|
|
|
398
424
|
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
|
399
425
|
#
|
|
400
426
|
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
|
427
|
+
#
|
|
428
|
+
# @param credit_details [Object] Breakdown of credits
|
|
429
|
+
#
|
|
430
|
+
# @param debit_details [Object] Breakdown of debits
|
|
431
|
+
#
|
|
432
|
+
# @param payment_details [Object] Breakdown of payments
|
|
401
433
|
end
|
|
402
434
|
|
|
403
435
|
# @see Lithic::Models::FinancialAccounts::Statement#statement_type
|
|
@@ -433,6 +465,12 @@ module Lithic
|
|
|
433
465
|
# @return [Integer]
|
|
434
466
|
required :credits, Integer
|
|
435
467
|
|
|
468
|
+
# @!attribute debits
|
|
469
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
470
|
+
#
|
|
471
|
+
# @return [Integer]
|
|
472
|
+
required :debits, Integer
|
|
473
|
+
|
|
436
474
|
# @!attribute fees
|
|
437
475
|
# Volume of debit management operation transactions less any interest in cents
|
|
438
476
|
#
|
|
@@ -457,7 +495,25 @@ module Lithic
|
|
|
457
495
|
# @return [Integer]
|
|
458
496
|
required :purchases, Integer
|
|
459
497
|
|
|
460
|
-
# @!
|
|
498
|
+
# @!attribute credit_details
|
|
499
|
+
# Breakdown of credits
|
|
500
|
+
#
|
|
501
|
+
# @return [Object, nil]
|
|
502
|
+
optional :credit_details, Lithic::Internal::Type::Unknown
|
|
503
|
+
|
|
504
|
+
# @!attribute debit_details
|
|
505
|
+
# Breakdown of debits
|
|
506
|
+
#
|
|
507
|
+
# @return [Object, nil]
|
|
508
|
+
optional :debit_details, Lithic::Internal::Type::Unknown
|
|
509
|
+
|
|
510
|
+
# @!attribute payment_details
|
|
511
|
+
# Breakdown of payments
|
|
512
|
+
#
|
|
513
|
+
# @return [Object, nil]
|
|
514
|
+
optional :payment_details, Lithic::Internal::Type::Unknown
|
|
515
|
+
|
|
516
|
+
# @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
|
|
461
517
|
# Some parameter documentations has been truncated, see
|
|
462
518
|
# {Lithic::Models::FinancialAccounts::Statement::YtdTotals} for more details.
|
|
463
519
|
#
|
|
@@ -467,6 +523,8 @@ module Lithic
|
|
|
467
523
|
#
|
|
468
524
|
# @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
|
|
469
525
|
#
|
|
526
|
+
# @param debits [Integer] Volume of debit management operation transactions less any interest in cents
|
|
527
|
+
#
|
|
470
528
|
# @param fees [Integer] Volume of debit management operation transactions less any interest in cents
|
|
471
529
|
#
|
|
472
530
|
# @param interest [Integer] Interest accrued in cents
|
|
@@ -474,6 +532,12 @@ module Lithic
|
|
|
474
532
|
# @param payments [Integer] Any funds transfers which affective the balance in cents
|
|
475
533
|
#
|
|
476
534
|
# @param purchases [Integer] Net card transaction volume less any cash advances in cents
|
|
535
|
+
#
|
|
536
|
+
# @param credit_details [Object] Breakdown of credits
|
|
537
|
+
#
|
|
538
|
+
# @param debit_details [Object] Breakdown of debits
|
|
539
|
+
#
|
|
540
|
+
# @param payment_details [Object] Breakdown of payments
|
|
477
541
|
end
|
|
478
542
|
|
|
479
543
|
# @see Lithic::Models::FinancialAccounts::Statement#interest_details
|
|
@@ -160,6 +160,7 @@ module Lithic
|
|
|
160
160
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
161
161
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
162
162
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
163
|
+
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
163
164
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
164
165
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
165
166
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
@@ -210,6 +210,7 @@ module Lithic
|
|
|
210
210
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
211
211
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
212
212
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
213
|
+
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
213
214
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
214
215
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
215
216
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
@@ -263,14 +263,18 @@ module Lithic
|
|
|
263
263
|
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
264
264
|
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
265
265
|
# available balance.
|
|
266
|
-
# - `
|
|
267
|
-
#
|
|
266
|
+
# - `ACH_ORIGINATION_REJECTED` - ACH origination was rejected and not sent to the
|
|
267
|
+
# Federal Reserve.
|
|
268
268
|
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
269
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
270
269
|
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
271
270
|
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
272
271
|
# balance.
|
|
273
|
-
# - `
|
|
272
|
+
# - `ACH_RETURN_INITIATED` - ACH initiated return for an ACH receipt.
|
|
273
|
+
# - `ACH_RETURN_PROCESSED` - ACH receipt returned by the Receiving Depository
|
|
274
|
+
# Financial Institution.
|
|
275
|
+
# - `ACH_RETURN_SETTLED` - ACH return settled by the Receiving Depository
|
|
276
|
+
# Financial Institution.
|
|
277
|
+
# - `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
|
|
274
278
|
# Financial Institution.
|
|
275
279
|
#
|
|
276
280
|
# @return [Symbol, Lithic::Models::Payment::Event::Type]
|
|
@@ -326,14 +330,18 @@ module Lithic
|
|
|
326
330
|
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
327
331
|
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
328
332
|
# available balance.
|
|
329
|
-
# - `
|
|
330
|
-
#
|
|
333
|
+
# - `ACH_ORIGINATION_REJECTED` - ACH origination was rejected and not sent to the
|
|
334
|
+
# Federal Reserve.
|
|
331
335
|
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
332
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
333
336
|
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
334
337
|
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
335
338
|
# balance.
|
|
336
|
-
# - `
|
|
339
|
+
# - `ACH_RETURN_INITIATED` - ACH initiated return for an ACH receipt.
|
|
340
|
+
# - `ACH_RETURN_PROCESSED` - ACH receipt returned by the Receiving Depository
|
|
341
|
+
# Financial Institution.
|
|
342
|
+
# - `ACH_RETURN_SETTLED` - ACH return settled by the Receiving Depository
|
|
343
|
+
# Financial Institution.
|
|
344
|
+
# - `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
|
|
337
345
|
# Financial Institution.
|
|
338
346
|
#
|
|
339
347
|
# @see Lithic::Models::Payment::Event#type
|
|
@@ -343,13 +351,16 @@ module Lithic
|
|
|
343
351
|
ACH_ORIGINATION_CANCELLED = :ACH_ORIGINATION_CANCELLED
|
|
344
352
|
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
|
345
353
|
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
|
346
|
-
|
|
354
|
+
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
|
347
355
|
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
|
348
356
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
357
|
+
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
349
358
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
359
|
+
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
350
360
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
351
361
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
352
362
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
363
|
+
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
|
353
364
|
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
|
354
365
|
|
|
355
366
|
# @!method self.values
|
|
@@ -472,6 +483,12 @@ module Lithic
|
|
|
472
483
|
end
|
|
473
484
|
|
|
474
485
|
class WireMethodAttributes < Lithic::Internal::Type::BaseModel
|
|
486
|
+
# @!attribute wire_message_type
|
|
487
|
+
# Type of wire message
|
|
488
|
+
#
|
|
489
|
+
# @return [String, nil]
|
|
490
|
+
required :wire_message_type, String, nil?: true
|
|
491
|
+
|
|
475
492
|
# @!attribute wire_network
|
|
476
493
|
# Type of wire transfer
|
|
477
494
|
#
|
|
@@ -501,17 +518,13 @@ module Lithic
|
|
|
501
518
|
# @return [String, nil]
|
|
502
519
|
optional :remittance_information, String, nil?: true
|
|
503
520
|
|
|
504
|
-
# @!
|
|
505
|
-
# Type of wire message
|
|
506
|
-
#
|
|
507
|
-
# @return [String, nil]
|
|
508
|
-
optional :wire_message_type, String
|
|
509
|
-
|
|
510
|
-
# @!method initialize(wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil, wire_message_type: nil)
|
|
521
|
+
# @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil)
|
|
511
522
|
# Some parameter documentations has been truncated, see
|
|
512
523
|
# {Lithic::Models::Payment::MethodAttributes::WireMethodAttributes} for more
|
|
513
524
|
# details.
|
|
514
525
|
#
|
|
526
|
+
# @param wire_message_type [String, nil] Type of wire message
|
|
527
|
+
#
|
|
515
528
|
# @param wire_network [Symbol, Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::WireNetwork] Type of wire transfer
|
|
516
529
|
#
|
|
517
530
|
# @param creditor [Lithic::Models::WirePartyDetails]
|
|
@@ -521,8 +534,6 @@ module Lithic
|
|
|
521
534
|
# @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used
|
|
522
535
|
#
|
|
523
536
|
# @param remittance_information [String, nil] Payment details or invoice reference
|
|
524
|
-
#
|
|
525
|
-
# @param wire_message_type [String] Type of wire message
|
|
526
537
|
|
|
527
538
|
# Type of wire transfer
|
|
528
539
|
#
|
|
@@ -13,23 +13,39 @@ module Lithic
|
|
|
13
13
|
# @return [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType]
|
|
14
14
|
required :event_type, enum: -> { Lithic::PaymentSimulateActionParams::EventType }
|
|
15
15
|
|
|
16
|
+
# @!attribute date_of_death
|
|
17
|
+
# Date of Death for ACH Return
|
|
18
|
+
#
|
|
19
|
+
# @return [Date, nil]
|
|
20
|
+
optional :date_of_death, Date
|
|
21
|
+
|
|
16
22
|
# @!attribute decline_reason
|
|
17
23
|
# Decline reason
|
|
18
24
|
#
|
|
19
25
|
# @return [Symbol, Lithic::Models::PaymentSimulateActionParams::DeclineReason, nil]
|
|
20
26
|
optional :decline_reason, enum: -> { Lithic::PaymentSimulateActionParams::DeclineReason }
|
|
21
27
|
|
|
28
|
+
# @!attribute return_addenda
|
|
29
|
+
# Return Addenda
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :return_addenda, String
|
|
33
|
+
|
|
22
34
|
# @!attribute return_reason_code
|
|
23
35
|
# Return Reason Code
|
|
24
36
|
#
|
|
25
37
|
# @return [String, nil]
|
|
26
38
|
optional :return_reason_code, String
|
|
27
39
|
|
|
28
|
-
# @!method initialize(event_type:, decline_reason: nil, return_reason_code: nil, request_options: {})
|
|
40
|
+
# @!method initialize(event_type:, date_of_death: nil, decline_reason: nil, return_addenda: nil, return_reason_code: nil, request_options: {})
|
|
29
41
|
# @param event_type [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType] Event Type
|
|
30
42
|
#
|
|
43
|
+
# @param date_of_death [Date] Date of Death for ACH Return
|
|
44
|
+
#
|
|
31
45
|
# @param decline_reason [Symbol, Lithic::Models::PaymentSimulateActionParams::DeclineReason] Decline reason
|
|
32
46
|
#
|
|
47
|
+
# @param return_addenda [String] Return Addenda
|
|
48
|
+
#
|
|
33
49
|
# @param return_reason_code [String] Return Reason Code
|
|
34
50
|
#
|
|
35
51
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|