lithic 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +1 -1
- data/lib/lithic/models/account_activity_list_params.rb +3 -3
- data/lib/lithic/models/account_holder_list_params.rb +3 -3
- data/lib/lithic/models/account_list_params.rb +3 -3
- data/lib/lithic/models/account_update_params.rb +10 -7
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -10
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +91 -8
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +9 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +12 -20
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -5
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +3 -3
- data/lib/lithic/models/book_transfer_list_params.rb +3 -3
- data/lib/lithic/models/card_bulk_order_list_params.rb +3 -3
- data/lib/lithic/models/card_list_params.rb +3 -3
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +3 -3
- data/lib/lithic/models/dispute_list_evidences_params.rb +3 -3
- data/lib/lithic/models/dispute_list_params.rb +3 -3
- data/lib/lithic/models/event_list_attempts_params.rb +3 -3
- data/lib/lithic/models/event_list_params.rb +3 -3
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +3 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +3 -3
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +3 -3
- data/lib/lithic/models/external_payment_list_params.rb +3 -3
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +3 -3
- data/lib/lithic/models/financial_accounts/installment_plan.rb +33 -3
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +95 -15
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +3 -3
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +3 -3
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +3 -3
- data/lib/lithic/models/funding_event_list_params.rb +3 -3
- data/lib/lithic/models/hold_list_params.rb +3 -3
- data/lib/lithic/models/kyb.rb +2 -0
- data/lib/lithic/models/management_operation_create_params.rb +7 -19
- data/lib/lithic/models/management_operation_list_params.rb +3 -3
- data/lib/lithic/models/network_program_list_params.rb +3 -3
- data/lib/lithic/models/payment_list_params.rb +3 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +3 -3
- data/lib/lithic/models/three_ds_authentication.rb +12 -1
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +13 -1
- data/lib/lithic/models/tokenization.rb +44 -1
- data/lib/lithic/models/tokenization_list_params.rb +3 -2
- data/lib/lithic/models/transaction_list_params.rb +3 -3
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +3 -3
- data/lib/lithic/resources/account_activity.rb +1 -1
- data/lib/lithic/resources/account_holders.rb +1 -1
- data/lib/lithic/resources/accounts.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/book_transfers.rb +1 -1
- data/lib/lithic/resources/card_bulk_orders.rb +1 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +1 -1
- data/lib/lithic/resources/disputes.rb +2 -2
- data/lib/lithic/resources/events/subscriptions.rb +7 -7
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/funding_events.rb +1 -1
- data/lib/lithic/resources/holds.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +3 -3
- data/lib/lithic/resources/network_programs.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +1 -1
- data/lib/lithic/resources/transactions.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +0 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +4 -4
- data/rbi/lithic/models/account_holder_list_params.rbi +4 -4
- data/rbi/lithic/models/account_list_params.rbi +4 -4
- data/rbi/lithic/models/account_update_params.rbi +20 -14
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +4 -8
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -4
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +200 -20
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +16 -32
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -8
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +4 -4
- data/rbi/lithic/models/book_transfer_list_params.rbi +4 -4
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +4 -4
- data/rbi/lithic/models/card_list_params.rbi +4 -4
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +4 -4
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +4 -4
- data/rbi/lithic/models/dispute_list_params.rbi +4 -4
- data/rbi/lithic/models/event_list_attempts_params.rbi +4 -4
- data/rbi/lithic/models/event_list_params.rbi +4 -4
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +4 -4
- data/rbi/lithic/models/events/subscription_recover_params.rbi +4 -4
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +4 -4
- data/rbi/lithic/models/external_payment_list_params.rbi +4 -4
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +4 -4
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +40 -6
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +160 -24
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +4 -4
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +4 -4
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +4 -4
- data/rbi/lithic/models/funding_event_list_params.rbi +4 -4
- data/rbi/lithic/models/hold_list_params.rbi +4 -4
- data/rbi/lithic/models/kyb.rbi +4 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +8 -82
- data/rbi/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lithic/models/network_program_list_params.rbi +4 -4
- data/rbi/lithic/models/payment_list_params.rbi +4 -4
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +4 -4
- data/rbi/lithic/models/three_ds_authentication.rbi +14 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +10 -0
- data/rbi/lithic/models/tokenization.rbi +91 -3
- data/rbi/lithic/models/tokenization_list_params.rbi +7 -2
- data/rbi/lithic/models/transaction_list_params.rbi +4 -4
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +4 -4
- data/rbi/lithic/resources/account_activity.rbi +2 -2
- data/rbi/lithic/resources/account_holders.rbi +2 -2
- data/rbi/lithic/resources/accounts.rbi +12 -9
- data/rbi/lithic/resources/auth_rules/v2.rbi +3 -4
- data/rbi/lithic/resources/book_transfers.rbi +2 -2
- data/rbi/lithic/resources/card_bulk_orders.rbi +2 -2
- data/rbi/lithic/resources/cards/financial_transactions.rbi +2 -2
- data/rbi/lithic/resources/cards.rbi +2 -2
- data/rbi/lithic/resources/disputes.rbi +4 -4
- data/rbi/lithic/resources/events/subscriptions.rbi +10 -10
- data/rbi/lithic/resources/events.rbi +4 -4
- data/rbi/lithic/resources/external_payments.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/loan_tapes.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/statements.rbi +2 -2
- data/rbi/lithic/resources/funding_events.rbi +2 -2
- data/rbi/lithic/resources/holds.rbi +2 -2
- data/rbi/lithic/resources/management_operations.rbi +5 -3
- data/rbi/lithic/resources/network_programs.rbi +2 -2
- data/rbi/lithic/resources/payments.rbi +2 -2
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -2
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +2 -2
- data/rbi/lithic/resources/transactions.rbi +2 -2
- data/sig/lithic/models/auth_rules/auth_rule.rbs +0 -2
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +0 -1
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +64 -5
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +5 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +0 -4
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +0 -1
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +25 -6
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +80 -21
- data/sig/lithic/models/management_operation_create_params.rbs +1 -33
- data/sig/lithic/models/three_ds_authentication.rbs +5 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +5 -0
- data/sig/lithic/models/tokenization.rbs +47 -4
- data/sig/lithic/models/tokenization_list_params.rbs +3 -1
- metadata +1 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +0 -538
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +0 -1161
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +0 -278
|
@@ -119,8 +119,7 @@ module Lithic
|
|
|
119
119
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
120
120
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
121
121
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
122
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
123
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
122
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
124
123
|
)
|
|
125
124
|
)
|
|
126
125
|
end
|
|
@@ -176,8 +175,7 @@ module Lithic
|
|
|
176
175
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
177
176
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
178
177
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::OrHash,
|
|
179
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
180
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
178
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
181
179
|
),
|
|
182
180
|
type:
|
|
183
181
|
Lithic::AuthRules::V2CreateParams::Body::Rule::Type::OrSymbol,
|
|
@@ -241,8 +239,7 @@ module Lithic
|
|
|
241
239
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
242
240
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
243
241
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
244
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
245
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
242
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
246
243
|
),
|
|
247
244
|
type:
|
|
248
245
|
Lithic::AuthRules::V2CreateParams::Body::Rule::Type::OrSymbol,
|
|
@@ -269,8 +266,7 @@ module Lithic
|
|
|
269
266
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
270
267
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
271
268
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
272
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
273
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
269
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
274
270
|
)
|
|
275
271
|
end
|
|
276
272
|
|
|
@@ -371,8 +367,7 @@ module Lithic
|
|
|
371
367
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
372
368
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
373
369
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
374
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
375
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
370
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
376
371
|
)
|
|
377
372
|
)
|
|
378
373
|
end
|
|
@@ -446,8 +441,7 @@ module Lithic
|
|
|
446
441
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
447
442
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
448
443
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::OrHash,
|
|
449
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
450
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
444
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
451
445
|
),
|
|
452
446
|
type:
|
|
453
447
|
Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type::OrSymbol,
|
|
@@ -504,8 +498,7 @@ module Lithic
|
|
|
504
498
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
505
499
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
506
500
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
507
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
508
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
501
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
509
502
|
),
|
|
510
503
|
type:
|
|
511
504
|
Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type::OrSymbol,
|
|
@@ -534,8 +527,7 @@ module Lithic
|
|
|
534
527
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
535
528
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
536
529
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
537
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
538
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
530
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
539
531
|
)
|
|
540
532
|
end
|
|
541
533
|
|
|
@@ -643,8 +635,7 @@ module Lithic
|
|
|
643
635
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
644
636
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
645
637
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
646
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
647
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
638
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
648
639
|
)
|
|
649
640
|
)
|
|
650
641
|
end
|
|
@@ -701,8 +692,7 @@ module Lithic
|
|
|
701
692
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
702
693
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
703
694
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::OrHash,
|
|
704
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
705
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
695
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
706
696
|
),
|
|
707
697
|
type:
|
|
708
698
|
Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type::OrSymbol,
|
|
@@ -755,8 +745,7 @@ module Lithic
|
|
|
755
745
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
756
746
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
757
747
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
758
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
759
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
748
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
760
749
|
),
|
|
761
750
|
type:
|
|
762
751
|
Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type::OrSymbol,
|
|
@@ -783,8 +772,7 @@ module Lithic
|
|
|
783
772
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
784
773
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
785
774
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
786
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
787
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
775
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
788
776
|
)
|
|
789
777
|
end
|
|
790
778
|
|
|
@@ -885,8 +873,7 @@ module Lithic
|
|
|
885
873
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
886
874
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
887
875
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
888
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
889
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
876
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
890
877
|
)
|
|
891
878
|
)
|
|
892
879
|
end
|
|
@@ -978,8 +965,7 @@ module Lithic
|
|
|
978
965
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
979
966
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
980
967
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::OrHash,
|
|
981
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
982
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
968
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
983
969
|
),
|
|
984
970
|
program_level: T::Boolean,
|
|
985
971
|
type:
|
|
@@ -1047,8 +1033,7 @@ module Lithic
|
|
|
1047
1033
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
1048
1034
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
1049
1035
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
1050
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
1051
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
1036
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
1052
1037
|
),
|
|
1053
1038
|
program_level: T::Boolean,
|
|
1054
1039
|
type:
|
|
@@ -1079,8 +1064,7 @@ module Lithic
|
|
|
1079
1064
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
1080
1065
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
1081
1066
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
1082
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
1083
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
1067
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
1084
1068
|
)
|
|
1085
1069
|
end
|
|
1086
1070
|
|
|
@@ -28,8 +28,7 @@ module Lithic
|
|
|
28
28
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
29
29
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
30
30
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
31
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
32
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
31
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
33
32
|
)
|
|
34
33
|
)
|
|
35
34
|
)
|
|
@@ -50,8 +49,7 @@ module Lithic
|
|
|
50
49
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
51
50
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
52
51
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::OrHash,
|
|
53
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
54
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
52
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
55
53
|
)
|
|
56
54
|
),
|
|
57
55
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -80,8 +78,7 @@ module Lithic
|
|
|
80
78
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
81
79
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
82
80
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
83
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
84
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
81
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
85
82
|
)
|
|
86
83
|
),
|
|
87
84
|
request_options: Lithic::RequestOptions
|
|
@@ -106,8 +103,7 @@ module Lithic
|
|
|
106
103
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
107
104
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
108
105
|
Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters,
|
|
109
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
110
|
-
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
106
|
+
Lithic::AuthRules::TypescriptCodeParameters
|
|
111
107
|
)
|
|
112
108
|
end
|
|
113
109
|
|
|
@@ -22,8 +22,8 @@ module Lithic
|
|
|
22
22
|
sig { params(auth_rule_token: String).void }
|
|
23
23
|
attr_writer :auth_rule_token
|
|
24
24
|
|
|
25
|
-
# Date string in RFC 3339 format. Only events evaluated after the specified
|
|
26
|
-
# will be included. UTC time zone.
|
|
25
|
+
# Date string in RFC 3339 format. Only events evaluated on or after the specified
|
|
26
|
+
# time will be included. UTC time zone.
|
|
27
27
|
sig { returns(T.nilable(Time)) }
|
|
28
28
|
attr_reader :begin_
|
|
29
29
|
|
|
@@ -92,8 +92,8 @@ module Lithic
|
|
|
92
92
|
def self.new(
|
|
93
93
|
# Filter by Auth Rule token
|
|
94
94
|
auth_rule_token: nil,
|
|
95
|
-
# Date string in RFC 3339 format. Only events evaluated after the specified
|
|
96
|
-
# will be included. UTC time zone.
|
|
95
|
+
# Date string in RFC 3339 format. Only events evaluated on or after the specified
|
|
96
|
+
# time will be included. UTC time zone.
|
|
97
97
|
begin_: nil,
|
|
98
98
|
# Date string in RFC 3339 format. Only events evaluated before the specified time
|
|
99
99
|
# will be included. UTC time zone.
|
|
@@ -17,8 +17,8 @@ module Lithic
|
|
|
17
17
|
sig { params(account_token: String).void }
|
|
18
18
|
attr_writer :account_token
|
|
19
19
|
|
|
20
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
21
|
-
# will be included. UTC time zone.
|
|
20
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
21
|
+
# time will be included. UTC time zone.
|
|
22
22
|
sig { returns(T.nilable(Time)) }
|
|
23
23
|
attr_reader :begin_
|
|
24
24
|
|
|
@@ -123,8 +123,8 @@ module Lithic
|
|
|
123
123
|
end
|
|
124
124
|
def self.new(
|
|
125
125
|
account_token: nil,
|
|
126
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
127
|
-
# will be included. UTC time zone.
|
|
126
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
127
|
+
# time will be included. UTC time zone.
|
|
128
128
|
begin_: nil,
|
|
129
129
|
business_account_token: nil,
|
|
130
130
|
# Book Transfer category to be returned.
|
|
@@ -11,8 +11,8 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::CardBulkOrderListParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
15
|
-
# will be included. UTC time zone.
|
|
14
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
15
|
+
# time will be included. UTC time zone.
|
|
16
16
|
sig { returns(T.nilable(Time)) }
|
|
17
17
|
attr_reader :begin_
|
|
18
18
|
|
|
@@ -61,8 +61,8 @@ module Lithic
|
|
|
61
61
|
).returns(T.attached_class)
|
|
62
62
|
end
|
|
63
63
|
def self.new(
|
|
64
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
65
|
-
# will be included. UTC time zone.
|
|
64
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
65
|
+
# time will be included. UTC time zone.
|
|
66
66
|
begin_: nil,
|
|
67
67
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
68
68
|
# will be included. UTC time zone.
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { params(account_token: String).void }
|
|
19
19
|
attr_writer :account_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -87,8 +87,8 @@ module Lithic
|
|
|
87
87
|
def self.new(
|
|
88
88
|
# Returns cards associated with the specified account.
|
|
89
89
|
account_token: nil,
|
|
90
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
91
|
-
# will be included. UTC time zone.
|
|
90
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
91
|
+
# time will be included. UTC time zone.
|
|
92
92
|
begin_: nil,
|
|
93
93
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
94
94
|
# will be included. UTC time zone.
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :card_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -130,8 +130,8 @@ module Lithic
|
|
|
130
130
|
end
|
|
131
131
|
def self.new(
|
|
132
132
|
card_token:,
|
|
133
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
134
|
-
# will be included. UTC time zone.
|
|
133
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
134
|
+
# time will be included. UTC time zone.
|
|
135
135
|
begin_: nil,
|
|
136
136
|
# Financial Transaction category to be returned.
|
|
137
137
|
category: nil,
|
|
@@ -14,8 +14,8 @@ module Lithic
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :dispute_token
|
|
16
16
|
|
|
17
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
18
|
-
# will be included. UTC time zone.
|
|
17
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
18
|
+
# time will be included. UTC time zone.
|
|
19
19
|
sig { returns(T.nilable(Time)) }
|
|
20
20
|
attr_reader :begin_
|
|
21
21
|
|
|
@@ -66,8 +66,8 @@ module Lithic
|
|
|
66
66
|
end
|
|
67
67
|
def self.new(
|
|
68
68
|
dispute_token:,
|
|
69
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
70
|
-
# will be included. UTC time zone.
|
|
69
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
70
|
+
# time will be included. UTC time zone.
|
|
71
71
|
begin_: nil,
|
|
72
72
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
73
73
|
# will be included. UTC time zone.
|
|
@@ -11,8 +11,8 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::DisputeListParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
15
|
-
# will be included. UTC time zone.
|
|
14
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
15
|
+
# time will be included. UTC time zone.
|
|
16
16
|
sig { returns(T.nilable(Time)) }
|
|
17
17
|
attr_reader :begin_
|
|
18
18
|
|
|
@@ -77,8 +77,8 @@ module Lithic
|
|
|
77
77
|
).returns(T.attached_class)
|
|
78
78
|
end
|
|
79
79
|
def self.new(
|
|
80
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
81
|
-
# will be included. UTC time zone.
|
|
80
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
81
|
+
# time will be included. UTC time zone.
|
|
82
82
|
begin_: nil,
|
|
83
83
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
84
84
|
# will be included. UTC time zone.
|
|
@@ -14,8 +14,8 @@ module Lithic
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :event_token
|
|
16
16
|
|
|
17
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
18
|
-
# will be included. UTC time zone.
|
|
17
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
18
|
+
# time will be included. UTC time zone.
|
|
19
19
|
sig { returns(T.nilable(Time)) }
|
|
20
20
|
attr_reader :begin_
|
|
21
21
|
|
|
@@ -77,8 +77,8 @@ module Lithic
|
|
|
77
77
|
end
|
|
78
78
|
def self.new(
|
|
79
79
|
event_token:,
|
|
80
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
81
|
-
# will be included. UTC time zone.
|
|
80
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
81
|
+
# time will be included. UTC time zone.
|
|
82
82
|
begin_: nil,
|
|
83
83
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
84
84
|
# will be included. UTC time zone.
|
|
@@ -11,8 +11,8 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::EventListParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
15
|
-
# will be included. UTC time zone.
|
|
14
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
15
|
+
# time will be included. UTC time zone.
|
|
16
16
|
sig { returns(T.nilable(Time)) }
|
|
17
17
|
attr_reader :begin_
|
|
18
18
|
|
|
@@ -85,8 +85,8 @@ module Lithic
|
|
|
85
85
|
).returns(T.attached_class)
|
|
86
86
|
end
|
|
87
87
|
def self.new(
|
|
88
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
89
|
-
# will be included. UTC time zone.
|
|
88
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
89
|
+
# time will be included. UTC time zone.
|
|
90
90
|
begin_: nil,
|
|
91
91
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
92
92
|
# will be included. UTC time zone.
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :event_subscription_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -89,8 +89,8 @@ module Lithic
|
|
|
89
89
|
end
|
|
90
90
|
def self.new(
|
|
91
91
|
event_subscription_token:,
|
|
92
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
93
|
-
# will be included. UTC time zone.
|
|
92
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
93
|
+
# time will be included. UTC time zone.
|
|
94
94
|
begin_: nil,
|
|
95
95
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
96
96
|
# will be included. UTC time zone.
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :event_subscription_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -44,8 +44,8 @@ module Lithic
|
|
|
44
44
|
end
|
|
45
45
|
def self.new(
|
|
46
46
|
event_subscription_token:,
|
|
47
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
48
|
-
# will be included. UTC time zone.
|
|
47
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
48
|
+
# time will be included. UTC time zone.
|
|
49
49
|
begin_: nil,
|
|
50
50
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
51
51
|
# will be included. UTC time zone.
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :event_subscription_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -44,8 +44,8 @@ module Lithic
|
|
|
44
44
|
end
|
|
45
45
|
def self.new(
|
|
46
46
|
event_subscription_token:,
|
|
47
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
48
|
-
# will be included. UTC time zone.
|
|
47
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
48
|
+
# time will be included. UTC time zone.
|
|
49
49
|
begin_: nil,
|
|
50
50
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
51
51
|
# will be included. UTC time zone.
|
|
@@ -11,8 +11,8 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::ExternalPaymentListParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
15
|
-
# will be included. UTC time zone.
|
|
14
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
15
|
+
# time will be included. UTC time zone.
|
|
16
16
|
sig { returns(T.nilable(Time)) }
|
|
17
17
|
attr_reader :begin_
|
|
18
18
|
|
|
@@ -117,8 +117,8 @@ module Lithic
|
|
|
117
117
|
).returns(T.attached_class)
|
|
118
118
|
end
|
|
119
119
|
def self.new(
|
|
120
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
121
|
-
# will be included. UTC time zone.
|
|
120
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
121
|
+
# time will be included. UTC time zone.
|
|
122
122
|
begin_: nil,
|
|
123
123
|
business_account_token: nil,
|
|
124
124
|
# The external rail the funds moved on
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :financial_account_token
|
|
20
20
|
|
|
21
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
22
|
-
# will be included. UTC time zone.
|
|
21
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
22
|
+
# time will be included. UTC time zone.
|
|
23
23
|
sig { returns(T.nilable(Time)) }
|
|
24
24
|
attr_reader :begin_
|
|
25
25
|
|
|
@@ -130,8 +130,8 @@ module Lithic
|
|
|
130
130
|
end
|
|
131
131
|
def self.new(
|
|
132
132
|
financial_account_token:,
|
|
133
|
-
# Date string in RFC 3339 format. Only entries created after the specified
|
|
134
|
-
# will be included. UTC time zone.
|
|
133
|
+
# Date string in RFC 3339 format. Only entries created on or after the specified
|
|
134
|
+
# time will be included. UTC time zone.
|
|
135
135
|
begin_: nil,
|
|
136
136
|
# Financial Transaction category to be returned.
|
|
137
137
|
category: nil,
|
|
@@ -32,6 +32,11 @@ module Lithic
|
|
|
32
32
|
sig { returns(String) }
|
|
33
33
|
attr_accessor :financial_account_token
|
|
34
34
|
|
|
35
|
+
# Amount credited to this plan after the plan was recalculated. The plan amount is
|
|
36
|
+
# not changed, and this credit reduces the amount owed
|
|
37
|
+
sig { returns(Integer) }
|
|
38
|
+
attr_accessor :installment_plan_adjustment
|
|
39
|
+
|
|
35
40
|
# Total owed on the plan in cents, the principal amount plus the enrollment fee
|
|
36
41
|
sig { returns(Integer) }
|
|
37
42
|
attr_accessor :installment_plan_total
|
|
@@ -120,6 +125,7 @@ module Lithic
|
|
|
120
125
|
created: Time,
|
|
121
126
|
fee_amount: Integer,
|
|
122
127
|
financial_account_token: String,
|
|
128
|
+
installment_plan_adjustment: Integer,
|
|
123
129
|
installment_plan_total: Integer,
|
|
124
130
|
installments:
|
|
125
131
|
T::Array[
|
|
@@ -153,6 +159,9 @@ module Lithic
|
|
|
153
159
|
fee_amount:,
|
|
154
160
|
# Globally unique identifier for a financial account
|
|
155
161
|
financial_account_token:,
|
|
162
|
+
# Amount credited to this plan after the plan was recalculated. The plan amount is
|
|
163
|
+
# not changed, and this credit reduces the amount owed
|
|
164
|
+
installment_plan_adjustment:,
|
|
156
165
|
# Total owed on the plan in cents, the principal amount plus the enrollment fee
|
|
157
166
|
installment_plan_total:,
|
|
158
167
|
# Installments that make up the plan, oldest first
|
|
@@ -193,6 +202,7 @@ module Lithic
|
|
|
193
202
|
created: Time,
|
|
194
203
|
fee_amount: Integer,
|
|
195
204
|
financial_account_token: String,
|
|
205
|
+
installment_plan_adjustment: Integer,
|
|
196
206
|
installment_plan_total: Integer,
|
|
197
207
|
installments:
|
|
198
208
|
T::Array[
|
|
@@ -307,6 +317,13 @@ module Lithic
|
|
|
307
317
|
end
|
|
308
318
|
attr_accessor :payments
|
|
309
319
|
|
|
320
|
+
# Amount from installment_plan_adjustment credited to this installment
|
|
321
|
+
sig { returns(T.nilable(Integer)) }
|
|
322
|
+
attr_reader :installment_adjustment
|
|
323
|
+
|
|
324
|
+
sig { params(installment_adjustment: Integer).void }
|
|
325
|
+
attr_writer :installment_adjustment
|
|
326
|
+
|
|
310
327
|
sig do
|
|
311
328
|
params(
|
|
312
329
|
amount_due: Integer,
|
|
@@ -325,7 +342,8 @@ module Lithic
|
|
|
325
342
|
payments:
|
|
326
343
|
T::Array[
|
|
327
344
|
Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment::OrHash
|
|
328
|
-
]
|
|
345
|
+
],
|
|
346
|
+
installment_adjustment: Integer
|
|
329
347
|
).returns(T.attached_class)
|
|
330
348
|
end
|
|
331
349
|
def self.new(
|
|
@@ -348,7 +366,9 @@ module Lithic
|
|
|
348
366
|
# Date the installment must be paid by before it is considered past due
|
|
349
367
|
payment_due_date:,
|
|
350
368
|
# Payments applied to this installment, oldest first
|
|
351
|
-
payments
|
|
369
|
+
payments:,
|
|
370
|
+
# Amount from installment_plan_adjustment credited to this installment
|
|
371
|
+
installment_adjustment: nil
|
|
352
372
|
)
|
|
353
373
|
end
|
|
354
374
|
|
|
@@ -371,7 +391,8 @@ module Lithic
|
|
|
371
391
|
payments:
|
|
372
392
|
T::Array[
|
|
373
393
|
Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment
|
|
374
|
-
]
|
|
394
|
+
],
|
|
395
|
+
installment_adjustment: Integer
|
|
375
396
|
}
|
|
376
397
|
)
|
|
377
398
|
end
|
|
@@ -408,12 +429,21 @@ module Lithic
|
|
|
408
429
|
sig { returns(Date) }
|
|
409
430
|
attr_accessor :date
|
|
410
431
|
|
|
432
|
+
# True when the source of the payment is an adjustment of an underlying account or
|
|
433
|
+
# transaction
|
|
434
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
435
|
+
attr_reader :is_adjustment
|
|
436
|
+
|
|
437
|
+
sig { params(is_adjustment: T::Boolean).void }
|
|
438
|
+
attr_writer :is_adjustment
|
|
439
|
+
|
|
411
440
|
sig do
|
|
412
441
|
params(
|
|
413
442
|
amount: Integer,
|
|
414
443
|
amount_details:
|
|
415
444
|
Lithic::FinancialAccounts::TransactionCategoryBalances::OrHash,
|
|
416
|
-
date: Date
|
|
445
|
+
date: Date,
|
|
446
|
+
is_adjustment: T::Boolean
|
|
417
447
|
).returns(T.attached_class)
|
|
418
448
|
end
|
|
419
449
|
def self.new(
|
|
@@ -421,7 +451,10 @@ module Lithic
|
|
|
421
451
|
amount:,
|
|
422
452
|
amount_details:,
|
|
423
453
|
# Date the payment was applied to the installment
|
|
424
|
-
date
|
|
454
|
+
date:,
|
|
455
|
+
# True when the source of the payment is an adjustment of an underlying account or
|
|
456
|
+
# transaction
|
|
457
|
+
is_adjustment: nil
|
|
425
458
|
)
|
|
426
459
|
end
|
|
427
460
|
|
|
@@ -431,7 +464,8 @@ module Lithic
|
|
|
431
464
|
amount: Integer,
|
|
432
465
|
amount_details:
|
|
433
466
|
Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
434
|
-
date: Date
|
|
467
|
+
date: Date,
|
|
468
|
+
is_adjustment: T::Boolean
|
|
435
469
|
}
|
|
436
470
|
)
|
|
437
471
|
end
|