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
|
@@ -618,6 +618,10 @@ module Lithic
|
|
|
618
618
|
sig { returns(Integer) }
|
|
619
619
|
attr_accessor :credits
|
|
620
620
|
|
|
621
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
622
|
+
sig { returns(Integer) }
|
|
623
|
+
attr_accessor :debits
|
|
624
|
+
|
|
621
625
|
# Volume of debit management operation transactions less any interest in cents
|
|
622
626
|
sig { returns(Integer) }
|
|
623
627
|
attr_accessor :fees
|
|
@@ -634,15 +638,40 @@ module Lithic
|
|
|
634
638
|
sig { returns(Integer) }
|
|
635
639
|
attr_accessor :purchases
|
|
636
640
|
|
|
641
|
+
# Breakdown of credits
|
|
642
|
+
sig { returns(T.nilable(T.anything)) }
|
|
643
|
+
attr_reader :credit_details
|
|
644
|
+
|
|
645
|
+
sig { params(credit_details: T.anything).void }
|
|
646
|
+
attr_writer :credit_details
|
|
647
|
+
|
|
648
|
+
# Breakdown of debits
|
|
649
|
+
sig { returns(T.nilable(T.anything)) }
|
|
650
|
+
attr_reader :debit_details
|
|
651
|
+
|
|
652
|
+
sig { params(debit_details: T.anything).void }
|
|
653
|
+
attr_writer :debit_details
|
|
654
|
+
|
|
655
|
+
# Breakdown of payments
|
|
656
|
+
sig { returns(T.nilable(T.anything)) }
|
|
657
|
+
attr_reader :payment_details
|
|
658
|
+
|
|
659
|
+
sig { params(payment_details: T.anything).void }
|
|
660
|
+
attr_writer :payment_details
|
|
661
|
+
|
|
637
662
|
sig do
|
|
638
663
|
params(
|
|
639
664
|
balance_transfers: Integer,
|
|
640
665
|
cash_advances: Integer,
|
|
641
666
|
credits: Integer,
|
|
667
|
+
debits: Integer,
|
|
642
668
|
fees: Integer,
|
|
643
669
|
interest: Integer,
|
|
644
670
|
payments: Integer,
|
|
645
|
-
purchases: Integer
|
|
671
|
+
purchases: Integer,
|
|
672
|
+
credit_details: T.anything,
|
|
673
|
+
debit_details: T.anything,
|
|
674
|
+
payment_details: T.anything
|
|
646
675
|
).returns(T.attached_class)
|
|
647
676
|
end
|
|
648
677
|
def self.new(
|
|
@@ -654,13 +683,21 @@ module Lithic
|
|
|
654
683
|
# cents
|
|
655
684
|
credits:,
|
|
656
685
|
# Volume of debit management operation transactions less any interest in cents
|
|
686
|
+
debits:,
|
|
687
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
657
688
|
fees:,
|
|
658
689
|
# Interest accrued in cents
|
|
659
690
|
interest:,
|
|
660
691
|
# Any funds transfers which affective the balance in cents
|
|
661
692
|
payments:,
|
|
662
693
|
# Net card transaction volume less any cash advances in cents
|
|
663
|
-
purchases
|
|
694
|
+
purchases:,
|
|
695
|
+
# Breakdown of credits
|
|
696
|
+
credit_details: nil,
|
|
697
|
+
# Breakdown of debits
|
|
698
|
+
debit_details: nil,
|
|
699
|
+
# Breakdown of payments
|
|
700
|
+
payment_details: nil
|
|
664
701
|
)
|
|
665
702
|
end
|
|
666
703
|
|
|
@@ -670,10 +707,14 @@ module Lithic
|
|
|
670
707
|
balance_transfers: Integer,
|
|
671
708
|
cash_advances: Integer,
|
|
672
709
|
credits: Integer,
|
|
710
|
+
debits: Integer,
|
|
673
711
|
fees: Integer,
|
|
674
712
|
interest: Integer,
|
|
675
713
|
payments: Integer,
|
|
676
|
-
purchases: Integer
|
|
714
|
+
purchases: Integer,
|
|
715
|
+
credit_details: T.anything,
|
|
716
|
+
debit_details: T.anything,
|
|
717
|
+
payment_details: T.anything
|
|
677
718
|
}
|
|
678
719
|
)
|
|
679
720
|
end
|
|
@@ -739,6 +780,10 @@ module Lithic
|
|
|
739
780
|
sig { returns(Integer) }
|
|
740
781
|
attr_accessor :credits
|
|
741
782
|
|
|
783
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
784
|
+
sig { returns(Integer) }
|
|
785
|
+
attr_accessor :debits
|
|
786
|
+
|
|
742
787
|
# Volume of debit management operation transactions less any interest in cents
|
|
743
788
|
sig { returns(Integer) }
|
|
744
789
|
attr_accessor :fees
|
|
@@ -755,15 +800,40 @@ module Lithic
|
|
|
755
800
|
sig { returns(Integer) }
|
|
756
801
|
attr_accessor :purchases
|
|
757
802
|
|
|
803
|
+
# Breakdown of credits
|
|
804
|
+
sig { returns(T.nilable(T.anything)) }
|
|
805
|
+
attr_reader :credit_details
|
|
806
|
+
|
|
807
|
+
sig { params(credit_details: T.anything).void }
|
|
808
|
+
attr_writer :credit_details
|
|
809
|
+
|
|
810
|
+
# Breakdown of debits
|
|
811
|
+
sig { returns(T.nilable(T.anything)) }
|
|
812
|
+
attr_reader :debit_details
|
|
813
|
+
|
|
814
|
+
sig { params(debit_details: T.anything).void }
|
|
815
|
+
attr_writer :debit_details
|
|
816
|
+
|
|
817
|
+
# Breakdown of payments
|
|
818
|
+
sig { returns(T.nilable(T.anything)) }
|
|
819
|
+
attr_reader :payment_details
|
|
820
|
+
|
|
821
|
+
sig { params(payment_details: T.anything).void }
|
|
822
|
+
attr_writer :payment_details
|
|
823
|
+
|
|
758
824
|
sig do
|
|
759
825
|
params(
|
|
760
826
|
balance_transfers: Integer,
|
|
761
827
|
cash_advances: Integer,
|
|
762
828
|
credits: Integer,
|
|
829
|
+
debits: Integer,
|
|
763
830
|
fees: Integer,
|
|
764
831
|
interest: Integer,
|
|
765
832
|
payments: Integer,
|
|
766
|
-
purchases: Integer
|
|
833
|
+
purchases: Integer,
|
|
834
|
+
credit_details: T.anything,
|
|
835
|
+
debit_details: T.anything,
|
|
836
|
+
payment_details: T.anything
|
|
767
837
|
).returns(T.attached_class)
|
|
768
838
|
end
|
|
769
839
|
def self.new(
|
|
@@ -775,13 +845,21 @@ module Lithic
|
|
|
775
845
|
# cents
|
|
776
846
|
credits:,
|
|
777
847
|
# Volume of debit management operation transactions less any interest in cents
|
|
848
|
+
debits:,
|
|
849
|
+
# Volume of debit management operation transactions less any interest in cents
|
|
778
850
|
fees:,
|
|
779
851
|
# Interest accrued in cents
|
|
780
852
|
interest:,
|
|
781
853
|
# Any funds transfers which affective the balance in cents
|
|
782
854
|
payments:,
|
|
783
855
|
# Net card transaction volume less any cash advances in cents
|
|
784
|
-
purchases
|
|
856
|
+
purchases:,
|
|
857
|
+
# Breakdown of credits
|
|
858
|
+
credit_details: nil,
|
|
859
|
+
# Breakdown of debits
|
|
860
|
+
debit_details: nil,
|
|
861
|
+
# Breakdown of payments
|
|
862
|
+
payment_details: nil
|
|
785
863
|
)
|
|
786
864
|
end
|
|
787
865
|
|
|
@@ -791,10 +869,14 @@ module Lithic
|
|
|
791
869
|
balance_transfers: Integer,
|
|
792
870
|
cash_advances: Integer,
|
|
793
871
|
credits: Integer,
|
|
872
|
+
debits: Integer,
|
|
794
873
|
fees: Integer,
|
|
795
874
|
interest: Integer,
|
|
796
875
|
payments: Integer,
|
|
797
|
-
purchases: Integer
|
|
876
|
+
purchases: Integer,
|
|
877
|
+
credit_details: T.anything,
|
|
878
|
+
debit_details: T.anything,
|
|
879
|
+
payment_details: T.anything
|
|
798
880
|
}
|
|
799
881
|
)
|
|
800
882
|
end
|
|
@@ -355,6 +355,11 @@ module Lithic
|
|
|
355
355
|
:ACH_RECEIPT_PROCESSED,
|
|
356
356
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
357
357
|
)
|
|
358
|
+
ACH_RECEIPT_RELEASED =
|
|
359
|
+
T.let(
|
|
360
|
+
:ACH_RECEIPT_RELEASED,
|
|
361
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
362
|
+
)
|
|
358
363
|
ACH_RECEIPT_SETTLED =
|
|
359
364
|
T.let(
|
|
360
365
|
:ACH_RECEIPT_SETTLED,
|
|
@@ -364,6 +364,11 @@ module Lithic
|
|
|
364
364
|
:ACH_RECEIPT_PROCESSED,
|
|
365
365
|
Lithic::FinancialTransaction::Event::Type::TaggedSymbol
|
|
366
366
|
)
|
|
367
|
+
ACH_RECEIPT_RELEASED =
|
|
368
|
+
T.let(
|
|
369
|
+
:ACH_RECEIPT_RELEASED,
|
|
370
|
+
Lithic::FinancialTransaction::Event::Type::TaggedSymbol
|
|
371
|
+
)
|
|
367
372
|
ACH_RECEIPT_SETTLED =
|
|
368
373
|
T.let(
|
|
369
374
|
:ACH_RECEIPT_SETTLED,
|
|
@@ -316,14 +316,18 @@ module Lithic
|
|
|
316
316
|
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
317
317
|
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
318
318
|
# available balance.
|
|
319
|
-
# - `
|
|
320
|
-
#
|
|
319
|
+
# - `ACH_ORIGINATION_REJECTED` - ACH origination was rejected and not sent to the
|
|
320
|
+
# Federal Reserve.
|
|
321
321
|
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
322
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
323
322
|
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
324
323
|
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
325
324
|
# balance.
|
|
326
|
-
# - `
|
|
325
|
+
# - `ACH_RETURN_INITIATED` - ACH initiated return for an ACH receipt.
|
|
326
|
+
# - `ACH_RETURN_PROCESSED` - ACH receipt returned by the Receiving Depository
|
|
327
|
+
# Financial Institution.
|
|
328
|
+
# - `ACH_RETURN_SETTLED` - ACH return settled by the Receiving Depository
|
|
329
|
+
# Financial Institution.
|
|
330
|
+
# - `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
|
|
327
331
|
# Financial Institution.
|
|
328
332
|
sig { returns(Lithic::Payment::Event::Type::TaggedSymbol) }
|
|
329
333
|
attr_accessor :type
|
|
@@ -380,14 +384,18 @@ module Lithic
|
|
|
380
384
|
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
381
385
|
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
382
386
|
# available balance.
|
|
383
|
-
# - `
|
|
384
|
-
#
|
|
387
|
+
# - `ACH_ORIGINATION_REJECTED` - ACH origination was rejected and not sent to the
|
|
388
|
+
# Federal Reserve.
|
|
385
389
|
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
386
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
387
390
|
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
388
391
|
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
389
392
|
# balance.
|
|
390
|
-
# - `
|
|
393
|
+
# - `ACH_RETURN_INITIATED` - ACH initiated return for an ACH receipt.
|
|
394
|
+
# - `ACH_RETURN_PROCESSED` - ACH receipt returned by the Receiving Depository
|
|
395
|
+
# Financial Institution.
|
|
396
|
+
# - `ACH_RETURN_SETTLED` - ACH return settled by the Receiving Depository
|
|
397
|
+
# Financial Institution.
|
|
398
|
+
# - `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
|
|
391
399
|
# Financial Institution.
|
|
392
400
|
type:,
|
|
393
401
|
# More detailed reasons for the event
|
|
@@ -445,14 +453,18 @@ module Lithic
|
|
|
445
453
|
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
446
454
|
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
447
455
|
# available balance.
|
|
448
|
-
# - `
|
|
449
|
-
#
|
|
456
|
+
# - `ACH_ORIGINATION_REJECTED` - ACH origination was rejected and not sent to the
|
|
457
|
+
# Federal Reserve.
|
|
450
458
|
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
451
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
452
459
|
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
453
460
|
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
454
461
|
# balance.
|
|
455
|
-
# - `
|
|
462
|
+
# - `ACH_RETURN_INITIATED` - ACH initiated return for an ACH receipt.
|
|
463
|
+
# - `ACH_RETURN_PROCESSED` - ACH receipt returned by the Receiving Depository
|
|
464
|
+
# Financial Institution.
|
|
465
|
+
# - `ACH_RETURN_SETTLED` - ACH return settled by the Receiving Depository
|
|
466
|
+
# Financial Institution.
|
|
467
|
+
# - `ACH_RETURN_REJECTED` - ACH return was rejected by the Receiving Depository
|
|
456
468
|
# Financial Institution.
|
|
457
469
|
module Type
|
|
458
470
|
extend Lithic::Internal::Type::Enum
|
|
@@ -476,9 +488,9 @@ module Lithic
|
|
|
476
488
|
:ACH_ORIGINATION_PROCESSED,
|
|
477
489
|
Lithic::Payment::Event::Type::TaggedSymbol
|
|
478
490
|
)
|
|
479
|
-
|
|
491
|
+
ACH_ORIGINATION_REJECTED =
|
|
480
492
|
T.let(
|
|
481
|
-
:
|
|
493
|
+
:ACH_ORIGINATION_REJECTED,
|
|
482
494
|
Lithic::Payment::Event::Type::TaggedSymbol
|
|
483
495
|
)
|
|
484
496
|
ACH_ORIGINATION_RELEASED =
|
|
@@ -491,11 +503,21 @@ module Lithic
|
|
|
491
503
|
:ACH_ORIGINATION_REVIEWED,
|
|
492
504
|
Lithic::Payment::Event::Type::TaggedSymbol
|
|
493
505
|
)
|
|
506
|
+
ACH_ORIGINATION_SETTLED =
|
|
507
|
+
T.let(
|
|
508
|
+
:ACH_ORIGINATION_SETTLED,
|
|
509
|
+
Lithic::Payment::Event::Type::TaggedSymbol
|
|
510
|
+
)
|
|
494
511
|
ACH_RECEIPT_PROCESSED =
|
|
495
512
|
T.let(
|
|
496
513
|
:ACH_RECEIPT_PROCESSED,
|
|
497
514
|
Lithic::Payment::Event::Type::TaggedSymbol
|
|
498
515
|
)
|
|
516
|
+
ACH_RECEIPT_RELEASED =
|
|
517
|
+
T.let(
|
|
518
|
+
:ACH_RECEIPT_RELEASED,
|
|
519
|
+
Lithic::Payment::Event::Type::TaggedSymbol
|
|
520
|
+
)
|
|
499
521
|
ACH_RECEIPT_SETTLED =
|
|
500
522
|
T.let(
|
|
501
523
|
:ACH_RECEIPT_SETTLED,
|
|
@@ -511,6 +533,11 @@ module Lithic
|
|
|
511
533
|
:ACH_RETURN_PROCESSED,
|
|
512
534
|
Lithic::Payment::Event::Type::TaggedSymbol
|
|
513
535
|
)
|
|
536
|
+
ACH_RETURN_REJECTED =
|
|
537
|
+
T.let(
|
|
538
|
+
:ACH_RETURN_REJECTED,
|
|
539
|
+
Lithic::Payment::Event::Type::TaggedSymbol
|
|
540
|
+
)
|
|
514
541
|
ACH_RETURN_SETTLED =
|
|
515
542
|
T.let(
|
|
516
543
|
:ACH_RETURN_SETTLED,
|
|
@@ -764,6 +791,10 @@ module Lithic
|
|
|
764
791
|
)
|
|
765
792
|
end
|
|
766
793
|
|
|
794
|
+
# Type of wire message
|
|
795
|
+
sig { returns(T.nilable(String)) }
|
|
796
|
+
attr_accessor :wire_message_type
|
|
797
|
+
|
|
767
798
|
# Type of wire transfer
|
|
768
799
|
sig do
|
|
769
800
|
returns(
|
|
@@ -793,25 +824,20 @@ module Lithic
|
|
|
793
824
|
sig { returns(T.nilable(String)) }
|
|
794
825
|
attr_accessor :remittance_information
|
|
795
826
|
|
|
796
|
-
# Type of wire message
|
|
797
|
-
sig { returns(T.nilable(String)) }
|
|
798
|
-
attr_reader :wire_message_type
|
|
799
|
-
|
|
800
|
-
sig { params(wire_message_type: String).void }
|
|
801
|
-
attr_writer :wire_message_type
|
|
802
|
-
|
|
803
827
|
sig do
|
|
804
828
|
params(
|
|
829
|
+
wire_message_type: T.nilable(String),
|
|
805
830
|
wire_network:
|
|
806
831
|
Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::OrSymbol,
|
|
807
832
|
creditor: Lithic::WirePartyDetails::OrHash,
|
|
808
833
|
debtor: Lithic::WirePartyDetails::OrHash,
|
|
809
834
|
message_id: T.nilable(String),
|
|
810
|
-
remittance_information: T.nilable(String)
|
|
811
|
-
wire_message_type: String
|
|
835
|
+
remittance_information: T.nilable(String)
|
|
812
836
|
).returns(T.attached_class)
|
|
813
837
|
end
|
|
814
838
|
def self.new(
|
|
839
|
+
# Type of wire message
|
|
840
|
+
wire_message_type:,
|
|
815
841
|
# Type of wire transfer
|
|
816
842
|
wire_network:,
|
|
817
843
|
creditor: nil,
|
|
@@ -820,22 +846,20 @@ module Lithic
|
|
|
820
846
|
# for tracking the message through the Fedwire system
|
|
821
847
|
message_id: nil,
|
|
822
848
|
# Payment details or invoice reference
|
|
823
|
-
remittance_information: nil
|
|
824
|
-
# Type of wire message
|
|
825
|
-
wire_message_type: nil
|
|
849
|
+
remittance_information: nil
|
|
826
850
|
)
|
|
827
851
|
end
|
|
828
852
|
|
|
829
853
|
sig do
|
|
830
854
|
override.returns(
|
|
831
855
|
{
|
|
856
|
+
wire_message_type: T.nilable(String),
|
|
832
857
|
wire_network:
|
|
833
858
|
Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol,
|
|
834
859
|
creditor: Lithic::WirePartyDetails,
|
|
835
860
|
debtor: Lithic::WirePartyDetails,
|
|
836
861
|
message_id: T.nilable(String),
|
|
837
|
-
remittance_information: T.nilable(String)
|
|
838
|
-
wire_message_type: String
|
|
862
|
+
remittance_information: T.nilable(String)
|
|
839
863
|
}
|
|
840
864
|
)
|
|
841
865
|
end
|
|
@@ -15,6 +15,13 @@ module Lithic
|
|
|
15
15
|
sig { returns(Lithic::PaymentSimulateActionParams::EventType::OrSymbol) }
|
|
16
16
|
attr_accessor :event_type
|
|
17
17
|
|
|
18
|
+
# Date of Death for ACH Return
|
|
19
|
+
sig { returns(T.nilable(Date)) }
|
|
20
|
+
attr_reader :date_of_death
|
|
21
|
+
|
|
22
|
+
sig { params(date_of_death: Date).void }
|
|
23
|
+
attr_writer :date_of_death
|
|
24
|
+
|
|
18
25
|
# Decline reason
|
|
19
26
|
sig do
|
|
20
27
|
returns(
|
|
@@ -33,6 +40,13 @@ module Lithic
|
|
|
33
40
|
end
|
|
34
41
|
attr_writer :decline_reason
|
|
35
42
|
|
|
43
|
+
# Return Addenda
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_reader :return_addenda
|
|
46
|
+
|
|
47
|
+
sig { params(return_addenda: String).void }
|
|
48
|
+
attr_writer :return_addenda
|
|
49
|
+
|
|
36
50
|
# Return Reason Code
|
|
37
51
|
sig { returns(T.nilable(String)) }
|
|
38
52
|
attr_reader :return_reason_code
|
|
@@ -43,8 +57,10 @@ module Lithic
|
|
|
43
57
|
sig do
|
|
44
58
|
params(
|
|
45
59
|
event_type: Lithic::PaymentSimulateActionParams::EventType::OrSymbol,
|
|
60
|
+
date_of_death: Date,
|
|
46
61
|
decline_reason:
|
|
47
62
|
Lithic::PaymentSimulateActionParams::DeclineReason::OrSymbol,
|
|
63
|
+
return_addenda: String,
|
|
48
64
|
return_reason_code: String,
|
|
49
65
|
request_options: Lithic::RequestOptions::OrHash
|
|
50
66
|
).returns(T.attached_class)
|
|
@@ -52,8 +68,12 @@ module Lithic
|
|
|
52
68
|
def self.new(
|
|
53
69
|
# Event Type
|
|
54
70
|
event_type:,
|
|
71
|
+
# Date of Death for ACH Return
|
|
72
|
+
date_of_death: nil,
|
|
55
73
|
# Decline reason
|
|
56
74
|
decline_reason: nil,
|
|
75
|
+
# Return Addenda
|
|
76
|
+
return_addenda: nil,
|
|
57
77
|
# Return Reason Code
|
|
58
78
|
return_reason_code: nil,
|
|
59
79
|
request_options: {}
|
|
@@ -65,8 +85,10 @@ module Lithic
|
|
|
65
85
|
{
|
|
66
86
|
event_type:
|
|
67
87
|
Lithic::PaymentSimulateActionParams::EventType::OrSymbol,
|
|
88
|
+
date_of_death: Date,
|
|
68
89
|
decline_reason:
|
|
69
90
|
Lithic::PaymentSimulateActionParams::DeclineReason::OrSymbol,
|
|
91
|
+
return_addenda: String,
|
|
70
92
|
return_reason_code: String,
|
|
71
93
|
request_options: Lithic::RequestOptions
|
|
72
94
|
}
|