increase 1.365.0 → 1.367.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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +6 -6
  4. data/lib/increase/models/ach_transfer_create_params.rb +12 -10
  5. data/lib/increase/models/card_dispute.rb +131 -2
  6. data/lib/increase/models/card_dispute_create_params.rb +20 -16
  7. data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
  8. data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
  9. data/lib/increase/models/card_payment.rb +352 -12
  10. data/lib/increase/models/declined_transaction.rb +10 -1
  11. data/lib/increase/models/pending_transaction.rb +10 -1
  12. data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
  13. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
  14. data/lib/increase/models/transaction.rb +411 -6
  15. data/lib/increase/models/transaction_list_params.rb +3 -0
  16. data/lib/increase/models.rb +4 -0
  17. data/lib/increase/resources/ach_transfers.rb +6 -5
  18. data/lib/increase/resources/card_disputes.rb +50 -6
  19. data/lib/increase/resources/simulations/card_refunds.rb +3 -3
  20. data/lib/increase/version.rb +1 -1
  21. data/lib/increase.rb +2 -0
  22. data/rbi/increase/models/ach_transfer.rbi +6 -6
  23. data/rbi/increase/models/ach_transfer_create_params.rbi +12 -10
  24. data/rbi/increase/models/card_dispute.rbi +188 -0
  25. data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
  26. data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
  27. data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
  28. data/rbi/increase/models/card_payment.rbi +726 -10
  29. data/rbi/increase/models/declined_transaction.rbi +22 -1
  30. data/rbi/increase/models/pending_transaction.rbi +22 -1
  31. data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
  32. data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
  33. data/rbi/increase/models/transaction.rbi +792 -3
  34. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  35. data/rbi/increase/models.rbi +6 -0
  36. data/rbi/increase/resources/ach_transfers.rbi +6 -5
  37. data/rbi/increase/resources/card_disputes.rbi +38 -6
  38. data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
  39. data/sig/increase/models/ach_transfer.rbs +8 -8
  40. data/sig/increase/models/card_dispute.rbs +79 -0
  41. data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
  42. data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
  43. data/sig/increase/models/card_payment.rbs +378 -10
  44. data/sig/increase/models/declined_transaction.rbs +13 -1
  45. data/sig/increase/models/pending_transaction.rbs +13 -1
  46. data/sig/increase/models/transaction.rbs +363 -3
  47. data/sig/increase/models/transaction_list_params.rbs +4 -0
  48. data/sig/increase/models.rbs +4 -0
  49. data/sig/increase/resources/card_disputes.rbs +10 -0
  50. metadata +8 -2
@@ -3378,7 +3378,7 @@ module Increase
3378
3378
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3379
3379
  )
3380
3380
 
3381
- # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
3381
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions) and ATM transactions.
3382
3382
  VISA_ADVANCED_AUTHORIZATION =
3383
3383
  T.let(
3384
3384
  :visa_advanced_authorization,
@@ -3518,6 +3518,27 @@ module Increase
3518
3518
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3519
3519
  )
3520
3520
 
3521
+ # Activity and fees for the processing of an original cash withdrawal at a domestic ATM.
3522
+ VISA_ATM_CASH_WITHDRAWAL_DOMESTIC =
3523
+ T.let(
3524
+ :visa_atm_cash_withdrawal_domestic,
3525
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3526
+ )
3527
+
3528
+ # Activity and fees for the processing of an original cash withdrawal at an international ATM.
3529
+ VISA_ATM_CASH_WITHDRAWAL_INTERNATIONAL =
3530
+ T.let(
3531
+ :visa_atm_cash_withdrawal_international,
3532
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3533
+ )
3534
+
3535
+ # Activity and fees for the processing of an original deposit at a domestic ATM.
3536
+ VISA_ATM_CASH_DEPOSIT_DOMESTIC =
3537
+ T.let(
3538
+ :visa_atm_cash_deposit_domestic,
3539
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3540
+ )
3541
+
3521
3542
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3522
3543
  PULSE_SWITCH_FEE =
3523
3544
  T.let(
@@ -3801,7 +3801,7 @@ module Increase
3801
3801
  Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3802
3802
  )
3803
3803
 
3804
- # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
3804
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions) and ATM transactions.
3805
3805
  VISA_ADVANCED_AUTHORIZATION =
3806
3806
  T.let(
3807
3807
  :visa_advanced_authorization,
@@ -3941,6 +3941,27 @@ module Increase
3941
3941
  Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3942
3942
  )
3943
3943
 
3944
+ # Activity and fees for the processing of an original cash withdrawal at a domestic ATM.
3945
+ VISA_ATM_CASH_WITHDRAWAL_DOMESTIC =
3946
+ T.let(
3947
+ :visa_atm_cash_withdrawal_domestic,
3948
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3949
+ )
3950
+
3951
+ # Activity and fees for the processing of an original cash withdrawal at an international ATM.
3952
+ VISA_ATM_CASH_WITHDRAWAL_INTERNATIONAL =
3953
+ T.let(
3954
+ :visa_atm_cash_withdrawal_international,
3955
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3956
+ )
3957
+
3958
+ # Activity and fees for the processing of an original deposit at a domestic ATM.
3959
+ VISA_ATM_CASH_DEPOSIT_DOMESTIC =
3960
+ T.let(
3961
+ :visa_atm_cash_deposit_domestic,
3962
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3963
+ )
3964
+
3944
3965
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3945
3966
  PULSE_SWITCH_FEE =
3946
3967
  T.let(
@@ -23,9 +23,9 @@ module Increase
23
23
  sig { params(amount: Integer).void }
24
24
  attr_writer :amount
25
25
 
26
- # The identifier of the Pending Transaction for the refund authorization. If this
27
- # is provided, `transaction` must not be provided as a refund with a refund
28
- # authorized can not be linked to a regular transaction.
26
+ # The identifier of the Pending Transaction for the refund or original credit
27
+ # authorization. If this is provided, `transaction` must not be provided as a
28
+ # refund with a refund authorized can not be linked to a regular transaction.
29
29
  sig { returns(T.nilable(String)) }
30
30
  attr_reader :pending_transaction_id
31
31
 
@@ -52,9 +52,9 @@ module Increase
52
52
  # The refund amount in cents. Pulled off the `pending_transaction` or the
53
53
  # `transaction` if not provided.
54
54
  amount: nil,
55
- # The identifier of the Pending Transaction for the refund authorization. If this
56
- # is provided, `transaction` must not be provided as a refund with a refund
57
- # authorized can not be linked to a regular transaction.
55
+ # The identifier of the Pending Transaction for the refund or original credit
56
+ # authorization. If this is provided, `transaction` must not be provided as a
57
+ # refund with a refund authorized can not be linked to a regular transaction.
58
58
  pending_transaction_id: nil,
59
59
  # The identifier for the Transaction to refund. The Transaction's source must have
60
60
  # a category of card_settlement.
@@ -213,6 +213,7 @@ module Increase
213
213
  attr_accessor :category
214
214
 
215
215
  # Unstructured `payment_related_information` passed through with the transfer.
216
+ # Required if and only if `category` is `freeform`.
216
217
  sig do
217
218
  returns(
218
219
  T.nilable(
@@ -243,6 +244,7 @@ module Increase
243
244
  # The type of addenda to simulate being sent with the transfer.
244
245
  category:,
245
246
  # Unstructured `payment_related_information` passed through with the transfer.
247
+ # Required if and only if `category` is `freeform`.
246
248
  freeform: nil
247
249
  )
248
250
  end
@@ -311,6 +313,7 @@ module Increase
311
313
  attr_accessor :entries
312
314
 
313
315
  # Unstructured `payment_related_information` passed through with the transfer.
316
+ # Required if and only if `category` is `freeform`.
314
317
  sig do
315
318
  params(
316
319
  entries: