lithic 0.1.0.pre.alpha.54 → 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.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. 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
- # @!attribute charged_off_reason
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
- # @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
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
- # @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
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
- # @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
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
- # @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
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
- # @!method initialize(balance_transfers:, cash_advances:, credits:, fees:, interest:, payments:, purchases:)
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
@@ -483,6 +483,12 @@ module Lithic
483
483
  end
484
484
 
485
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
+
486
492
  # @!attribute wire_network
487
493
  # Type of wire transfer
488
494
  #
@@ -512,17 +518,13 @@ module Lithic
512
518
  # @return [String, nil]
513
519
  optional :remittance_information, String, nil?: true
514
520
 
515
- # @!attribute wire_message_type
516
- # Type of wire message
517
- #
518
- # @return [String, nil]
519
- optional :wire_message_type, String
520
-
521
- # @!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)
522
522
  # Some parameter documentations has been truncated, see
523
523
  # {Lithic::Models::Payment::MethodAttributes::WireMethodAttributes} for more
524
524
  # details.
525
525
  #
526
+ # @param wire_message_type [String, nil] Type of wire message
527
+ #
526
528
  # @param wire_network [Symbol, Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::WireNetwork] Type of wire transfer
527
529
  #
528
530
  # @param creditor [Lithic::Models::WirePartyDetails]
@@ -532,8 +534,6 @@ module Lithic
532
534
  # @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used
533
535
  #
534
536
  # @param remittance_information [String, nil] Payment details or invoice reference
535
- #
536
- # @param wire_message_type [String] Type of wire message
537
537
 
538
538
  # Type of wire transfer
539
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}]