increase 1.367.0 → 1.369.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/card_payment.rb +30 -0
  4. data/lib/increase/models/declined_transaction.rb +3 -0
  5. data/lib/increase/models/digital_wallet_token.rb +63 -1
  6. data/lib/increase/models/digital_wallet_token_request.rb +327 -1
  7. data/lib/increase/models/export.rb +19 -5
  8. data/lib/increase/models/export_create_params.rb +36 -13
  9. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  10. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  11. data/lib/increase/models/pending_transaction.rb +76 -1
  12. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  13. data/lib/increase/models/real_time_decision.rb +330 -1
  14. data/lib/increase/models/simulations/card_refund_create_params.rb +2 -2
  15. data/lib/increase/models/transaction.rb +86 -1
  16. data/lib/increase/models/transaction_list_params.rb +3 -0
  17. data/lib/increase/resources/exports.rb +5 -1
  18. data/lib/increase/resources/simulations/card_refunds.rb +1 -1
  19. data/lib/increase/version.rb +1 -1
  20. data/rbi/increase/models/card_payment.rbi +70 -0
  21. data/rbi/increase/models/declined_transaction.rbi +7 -0
  22. data/rbi/increase/models/digital_wallet_token.rbi +114 -3
  23. data/rbi/increase/models/digital_wallet_token_request.rbi +589 -3
  24. data/rbi/increase/models/export.rbi +18 -6
  25. data/rbi/increase/models/export_create_params.rbi +44 -15
  26. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  27. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  28. data/rbi/increase/models/pending_transaction.rbi +162 -0
  29. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  30. data/rbi/increase/models/real_time_decision.rbi +623 -3
  31. data/rbi/increase/models/simulations/card_refund_create_params.rbi +2 -2
  32. data/rbi/increase/models/transaction.rbi +179 -0
  33. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  34. data/rbi/increase/resources/exports.rbi +5 -1
  35. data/rbi/increase/resources/simulations/card_refunds.rbi +1 -1
  36. data/sig/increase/models/card_payment.rbs +40 -0
  37. data/sig/increase/models/declined_transaction.rbs +4 -0
  38. data/sig/increase/models/digital_wallet_token.rbs +40 -3
  39. data/sig/increase/models/digital_wallet_token_request.rbs +245 -3
  40. data/sig/increase/models/export.rbs +13 -4
  41. data/sig/increase/models/export_create_params.rbs +16 -5
  42. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  43. data/sig/increase/models/pending_transaction.rbs +63 -0
  44. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  45. data/sig/increase/models/real_time_decision.rbs +245 -3
  46. data/sig/increase/models/transaction.rbs +71 -0
  47. data/sig/increase/models/transaction_list_params.rbs +4 -0
  48. metadata +2 -2
@@ -18,7 +18,7 @@ module Increase
18
18
  # @!attribute pending_transaction_id
19
19
  # The identifier of the Pending Transaction for the refund or original credit
20
20
  # authorization. If this is provided, `transaction` must not be provided as a
21
- # refund with a refund authorized can not be linked to a regular transaction.
21
+ # refund with a refund authorization can not be linked to a regular transaction.
22
22
  #
23
23
  # @return [String, nil]
24
24
  optional :pending_transaction_id, String
@@ -38,7 +38,7 @@ module Increase
38
38
  # @param pending_transaction_id [String]
39
39
  # The identifier of the Pending Transaction for the refund or original credit
40
40
  # authorization. If this is provided, `transaction` must not be provided as a
41
- # refund with a refund authorized can not be linked to a regular transaction.
41
+ # refund with a refund authorization can not be linked to a regular transaction.
42
42
  #
43
43
  # @param transaction_id [String]
44
44
  # The identifier for the Transaction to refund. The Transaction's source must have
@@ -471,6 +471,18 @@ module Increase
471
471
  -> { Increase::Transaction::Source::InboundFednowTransferConfirmation },
472
472
  nil?: true
473
473
 
474
+ # @!attribute inbound_fednow_transfer_return_acknowledgement
475
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
476
+ # present in the JSON response if and only if `category` is equal to
477
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
478
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
479
+ # has been accepted and settled by the FedNow Service.
480
+ #
481
+ # @return [Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement, nil]
482
+ optional :inbound_fednow_transfer_return_acknowledgement,
483
+ -> { Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement },
484
+ nil?: true
485
+
474
486
  # @!attribute inbound_real_time_payments_transfer_confirmation
475
487
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
476
488
  # present in the JSON response if and only if `category` is equal to
@@ -612,7 +624,7 @@ module Increase
612
624
  },
613
625
  nil?: true
614
626
 
615
- # @!method initialize(category:, account_revenue_payment: nil, account_transfer_intention: nil, ach_transfer_intention: nil, ach_transfer_rejection: nil, ach_transfer_return: nil, blockchain_offramp_transfer_settlement: nil, blockchain_onramp_transfer_intention: nil, card_dispute_acceptance: nil, card_dispute_financial: nil, card_dispute_loss: nil, card_dispute_provisional_credit: nil, card_financial: nil, card_push_transfer_acceptance: nil, card_refund: nil, card_revenue_payment: nil, card_settlement: nil, cashback_payment: nil, check_deposit_acceptance: nil, check_deposit_return: nil, check_transfer_deposit: nil, fednow_transfer_acknowledgement: nil, fednow_transfer_return: nil, fee_payment: nil, inbound_ach_transfer: nil, inbound_ach_transfer_return_intention: nil, inbound_check_adjustment: nil, inbound_check_deposit_return_intention: nil, inbound_fednow_transfer_confirmation: nil, inbound_real_time_payments_transfer_confirmation: nil, inbound_wire_reversal: nil, inbound_wire_transfer: nil, inbound_wire_transfer_reversal: nil, interest_payment: nil, internal_source: nil, other: nil, real_time_payments_transfer_acknowledgement: nil, sample_funds: nil, sepa_instant_transfer_acceptance: nil, swift_transfer_intention: nil, swift_transfer_return: nil, uk_faster_payment_system_transfer_acceptance: nil, wire_transfer_intention: nil)
627
+ # @!method initialize(category:, account_revenue_payment: nil, account_transfer_intention: nil, ach_transfer_intention: nil, ach_transfer_rejection: nil, ach_transfer_return: nil, blockchain_offramp_transfer_settlement: nil, blockchain_onramp_transfer_intention: nil, card_dispute_acceptance: nil, card_dispute_financial: nil, card_dispute_loss: nil, card_dispute_provisional_credit: nil, card_financial: nil, card_push_transfer_acceptance: nil, card_refund: nil, card_revenue_payment: nil, card_settlement: nil, cashback_payment: nil, check_deposit_acceptance: nil, check_deposit_return: nil, check_transfer_deposit: nil, fednow_transfer_acknowledgement: nil, fednow_transfer_return: nil, fee_payment: nil, inbound_ach_transfer: nil, inbound_ach_transfer_return_intention: nil, inbound_check_adjustment: nil, inbound_check_deposit_return_intention: nil, inbound_fednow_transfer_confirmation: nil, inbound_fednow_transfer_return_acknowledgement: nil, inbound_real_time_payments_transfer_confirmation: nil, inbound_wire_reversal: nil, inbound_wire_transfer: nil, inbound_wire_transfer_reversal: nil, interest_payment: nil, internal_source: nil, other: nil, real_time_payments_transfer_acknowledgement: nil, sample_funds: nil, sepa_instant_transfer_acceptance: nil, swift_transfer_intention: nil, swift_transfer_return: nil, uk_faster_payment_system_transfer_acceptance: nil, wire_transfer_intention: nil)
616
628
  # This is an object giving more details on the network-level event that caused the
617
629
  # Transaction. Note that for backwards compatibility reasons, additional
618
630
  # undocumented keys may appear in this object. These should be treated as
@@ -797,6 +809,13 @@ module Increase
797
809
  # is created when a FedNow transfer is initiated at another bank and received by
798
810
  # Increase.
799
811
  #
812
+ # @param inbound_fednow_transfer_return_acknowledgement [Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement, nil]
813
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
814
+ # present in the JSON response if and only if `category` is equal to
815
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
816
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
817
+ # has been accepted and settled by the FedNow Service.
818
+ #
800
819
  # @param inbound_real_time_payments_transfer_confirmation [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil]
801
820
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
802
821
  # present in the JSON response if and only if `category` is equal to
@@ -959,6 +978,9 @@ module Increase
959
978
  # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
960
979
  INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
961
980
 
981
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
982
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT = :inbound_fednow_transfer_return_acknowledgement
983
+
962
984
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
963
985
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
964
986
 
@@ -3191,6 +3213,9 @@ module Increase
3191
3213
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3192
3214
  PULSE_SWITCH_FEE = :pulse_switch_fee
3193
3215
 
3216
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
3217
+ PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
3218
+
3194
3219
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3195
3220
  PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
3196
3221
 
@@ -5729,6 +5754,9 @@ module Increase
5729
5754
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5730
5755
  PULSE_SWITCH_FEE = :pulse_switch_fee
5731
5756
 
5757
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5758
+ PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
5759
+
5732
5760
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5733
5761
  PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
5734
5762
 
@@ -8148,6 +8176,9 @@ module Increase
8148
8176
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8149
8177
  PULSE_SWITCH_FEE = :pulse_switch_fee
8150
8178
 
8179
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
8180
+ PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
8181
+
8151
8182
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8152
8183
  PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
8153
8184
 
@@ -9144,6 +9175,60 @@ module Increase
9144
9175
  # @param transfer_id [String] The identifier of the FedNow Transfer that led to this Transaction.
9145
9176
  end
9146
9177
 
9178
+ # @see Increase::Models::Transaction::Source#inbound_fednow_transfer_return_acknowledgement
9179
+ class InboundFednowTransferReturnAcknowledgement < Increase::Internal::Type::BaseModel
9180
+ # @!attribute inbound_fednow_transfer_id
9181
+ # The identifier of the Inbound FedNow Transfer that was returned.
9182
+ #
9183
+ # @return [String]
9184
+ required :inbound_fednow_transfer_id, String
9185
+
9186
+ # @!attribute reason
9187
+ # The reason for the return.
9188
+ #
9189
+ # @return [Symbol, Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason]
9190
+ required :reason,
9191
+ enum: -> { Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason }
9192
+
9193
+ # @!method initialize(inbound_fednow_transfer_id:, reason:)
9194
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
9195
+ # present in the JSON response if and only if `category` is equal to
9196
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
9197
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
9198
+ # has been accepted and settled by the FedNow Service.
9199
+ #
9200
+ # @param inbound_fednow_transfer_id [String]
9201
+ # The identifier of the Inbound FedNow Transfer that was returned.
9202
+ #
9203
+ # @param reason [Symbol, Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason]
9204
+ # The reason for the return.
9205
+
9206
+ # The reason for the return.
9207
+ #
9208
+ # @see Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement#reason
9209
+ module Reason
9210
+ extend Increase::Internal::Type::Enum
9211
+
9212
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
9213
+ DUPLICATE = :duplicate
9214
+
9215
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
9216
+ CREDITOR_REQUEST = :creditor_request
9217
+
9218
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
9219
+ WRONG_AMOUNT = :wrong_amount
9220
+
9221
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
9222
+ UNDUE_PAYMENT = :undue_payment
9223
+
9224
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
9225
+ FRAUD = :fraud
9226
+
9227
+ # @!method self.values
9228
+ # @return [Array<Symbol>]
9229
+ end
9230
+ end
9231
+
9147
9232
  # @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_confirmation
9148
9233
  class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel
9149
9234
  # @!attribute amount
@@ -158,6 +158,9 @@ module Increase
158
158
  # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
159
159
  INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
160
160
 
161
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
162
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT = :inbound_fednow_transfer_return_acknowledgement
163
+
161
164
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
162
165
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
163
166
 
@@ -11,7 +11,11 @@ module Increase
11
11
  #
12
12
  # @param account_statement_bai2 [Increase::Models::ExportCreateParams::AccountStatementBai2]
13
13
  # Options for the created export. Required if `category` is equal to
14
- # `account_statement_bai2`.
14
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
15
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
16
+ # group's as-of date is before the UTC date the Export was created, it has
17
+ # end-of-day balances. If it's the UTC date the Export was created, it has
18
+ # intraday balances as of the time the Export was created.
15
19
  #
16
20
  # @param account_statement_ofx [Increase::Models::ExportCreateParams::AccountStatementOfx]
17
21
  # Options for the created export. Required if `category` is equal to
@@ -16,7 +16,7 @@ module Increase
16
16
  # @param pending_transaction_id [String]
17
17
  # The identifier of the Pending Transaction for the refund or original credit
18
18
  # authorization. If this is provided, `transaction` must not be provided as a
19
- # refund with a refund authorized can not be linked to a regular transaction.
19
+ # refund with a refund authorization can not be linked to a regular transaction.
20
20
  #
21
21
  # @param transaction_id [String]
22
22
  # The identifier for the Transaction to refund. The Transaction's source must have
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.367.0"
4
+ VERSION = "1.369.0"
5
5
  end
@@ -4983,6 +4983,13 @@ module Increase
4983
4983
  Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4984
4984
  )
4985
4985
 
4986
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4987
+ PULSE_SWITCH_FEE_CREDIT =
4988
+ T.let(
4989
+ :pulse_switch_fee_credit,
4990
+ Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4991
+ )
4992
+
4986
4993
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4987
4994
  PULSE_TOKENIZATION_FEE =
4988
4995
  T.let(
@@ -7782,6 +7789,13 @@ module Increase
7782
7789
  Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7783
7790
  )
7784
7791
 
7792
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
7793
+ PULSE_SWITCH_FEE_CREDIT =
7794
+ T.let(
7795
+ :pulse_switch_fee_credit,
7796
+ Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7797
+ )
7798
+
7785
7799
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
7786
7800
  PULSE_TOKENIZATION_FEE =
7787
7801
  T.let(
@@ -10904,6 +10918,13 @@ module Increase
10904
10918
  Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10905
10919
  )
10906
10920
 
10921
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10922
+ PULSE_SWITCH_FEE_CREDIT =
10923
+ T.let(
10924
+ :pulse_switch_fee_credit,
10925
+ Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10926
+ )
10927
+
10907
10928
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10908
10929
  PULSE_TOKENIZATION_FEE =
10909
10930
  T.let(
@@ -13725,6 +13746,13 @@ module Increase
13725
13746
  Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13726
13747
  )
13727
13748
 
13749
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
13750
+ PULSE_SWITCH_FEE_CREDIT =
13751
+ T.let(
13752
+ :pulse_switch_fee_credit,
13753
+ Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13754
+ )
13755
+
13728
13756
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
13729
13757
  PULSE_TOKENIZATION_FEE =
13730
13758
  T.let(
@@ -14822,6 +14850,13 @@ module Increase
14822
14850
  Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14823
14851
  )
14824
14852
 
14853
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
14854
+ PULSE_SWITCH_FEE_CREDIT =
14855
+ T.let(
14856
+ :pulse_switch_fee_credit,
14857
+ Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14858
+ )
14859
+
14825
14860
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
14826
14861
  PULSE_TOKENIZATION_FEE =
14827
14862
  T.let(
@@ -16413,6 +16448,13 @@ module Increase
16413
16448
  Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16414
16449
  )
16415
16450
 
16451
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
16452
+ PULSE_SWITCH_FEE_CREDIT =
16453
+ T.let(
16454
+ :pulse_switch_fee_credit,
16455
+ Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16456
+ )
16457
+
16416
16458
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
16417
16459
  PULSE_TOKENIZATION_FEE =
16418
16460
  T.let(
@@ -20619,6 +20661,13 @@ module Increase
20619
20661
  Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20620
20662
  )
20621
20663
 
20664
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
20665
+ PULSE_SWITCH_FEE_CREDIT =
20666
+ T.let(
20667
+ :pulse_switch_fee_credit,
20668
+ Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20669
+ )
20670
+
20622
20671
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
20623
20672
  PULSE_TOKENIZATION_FEE =
20624
20673
  T.let(
@@ -21503,6 +21552,13 @@ module Increase
21503
21552
  Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21504
21553
  )
21505
21554
 
21555
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
21556
+ PULSE_SWITCH_FEE_CREDIT =
21557
+ T.let(
21558
+ :pulse_switch_fee_credit,
21559
+ Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21560
+ )
21561
+
21506
21562
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
21507
21563
  PULSE_TOKENIZATION_FEE =
21508
21564
  T.let(
@@ -25768,6 +25824,13 @@ module Increase
25768
25824
  Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
25769
25825
  )
25770
25826
 
25827
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
25828
+ PULSE_SWITCH_FEE_CREDIT =
25829
+ T.let(
25830
+ :pulse_switch_fee_credit,
25831
+ Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
25832
+ )
25833
+
25771
25834
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
25772
25835
  PULSE_TOKENIZATION_FEE =
25773
25836
  T.let(
@@ -28067,6 +28130,13 @@ module Increase
28067
28130
  Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
28068
28131
  )
28069
28132
 
28133
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
28134
+ PULSE_SWITCH_FEE_CREDIT =
28135
+ T.let(
28136
+ :pulse_switch_fee_credit,
28137
+ Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
28138
+ )
28139
+
28070
28140
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
28071
28141
  PULSE_TOKENIZATION_FEE =
28072
28142
  T.let(
@@ -3546,6 +3546,13 @@ module Increase
3546
3546
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3547
3547
  )
3548
3548
 
3549
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
3550
+ PULSE_SWITCH_FEE_CREDIT =
3551
+ T.let(
3552
+ :pulse_switch_fee_credit,
3553
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3554
+ )
3555
+
3549
3556
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3550
3557
  PULSE_TOKENIZATION_FEE =
3551
3558
  T.let(
@@ -79,6 +79,18 @@ module Increase
79
79
  end
80
80
  attr_accessor :token_requestor
81
81
 
82
+ # The digital wallet or merchant that requested the token.
83
+ sig { returns(Increase::DigitalWalletToken::TokenRequestorDetails) }
84
+ attr_reader :token_requestor_details
85
+
86
+ sig do
87
+ params(
88
+ token_requestor_details:
89
+ Increase::DigitalWalletToken::TokenRequestorDetails::OrHash
90
+ ).void
91
+ end
92
+ attr_writer :token_requestor_details
93
+
82
94
  # A constant representing the object's type. For this resource it will always be
83
95
  # `digital_wallet_token`.
84
96
  sig { returns(Increase::DigitalWalletToken::Type::TaggedSymbol) }
@@ -88,6 +100,13 @@ module Increase
88
100
  sig { returns(T::Array[Increase::DigitalWalletToken::Update]) }
89
101
  attr_accessor :updates
90
102
 
103
+ # Details about the digital wallet.
104
+ sig { returns(Increase::DigitalWalletToken::Wallet) }
105
+ attr_reader :wallet
106
+
107
+ sig { params(wallet: Increase::DigitalWalletToken::Wallet::OrHash).void }
108
+ attr_writer :wallet
109
+
91
110
  # A Digital Wallet Token is created when a user adds a Card to their Apple Pay or
92
111
  # Google Pay app. The Digital Wallet Token can be used for purchases just like a
93
112
  # Card.
@@ -108,8 +127,11 @@ module Increase
108
127
  token_reference_identifier: String,
109
128
  token_requestor:
110
129
  Increase::DigitalWalletToken::TokenRequestor::OrSymbol,
130
+ token_requestor_details:
131
+ Increase::DigitalWalletToken::TokenRequestorDetails::OrHash,
111
132
  type: Increase::DigitalWalletToken::Type::OrSymbol,
112
- updates: T::Array[Increase::DigitalWalletToken::Update::OrHash]
133
+ updates: T::Array[Increase::DigitalWalletToken::Update::OrHash],
134
+ wallet: Increase::DigitalWalletToken::Wallet::OrHash
113
135
  ).returns(T.attached_class)
114
136
  end
115
137
  def self.new(
@@ -136,11 +158,15 @@ module Increase
136
158
  token_reference_identifier:,
137
159
  # The digital wallet app being used.
138
160
  token_requestor:,
161
+ # The digital wallet or merchant that requested the token.
162
+ token_requestor_details:,
139
163
  # A constant representing the object's type. For this resource it will always be
140
164
  # `digital_wallet_token`.
141
165
  type:,
142
166
  # Updates to the Digital Wallet Token.
143
- updates:
167
+ updates:,
168
+ # Details about the digital wallet.
169
+ wallet:
144
170
  )
145
171
  end
146
172
 
@@ -162,8 +188,11 @@ module Increase
162
188
  token_reference_identifier: String,
163
189
  token_requestor:
164
190
  Increase::DigitalWalletToken::TokenRequestor::TaggedSymbol,
191
+ token_requestor_details:
192
+ Increase::DigitalWalletToken::TokenRequestorDetails,
165
193
  type: Increase::DigitalWalletToken::Type::TaggedSymbol,
166
- updates: T::Array[Increase::DigitalWalletToken::Update]
194
+ updates: T::Array[Increase::DigitalWalletToken::Update],
195
+ wallet: Increase::DigitalWalletToken::Wallet
167
196
  }
168
197
  )
169
198
  end
@@ -481,6 +510,44 @@ module Increase
481
510
  end
482
511
  end
483
512
 
513
+ class TokenRequestorDetails < Increase::Internal::Type::BaseModel
514
+ OrHash =
515
+ T.type_alias do
516
+ T.any(
517
+ Increase::DigitalWalletToken::TokenRequestorDetails,
518
+ Increase::Internal::AnyHash
519
+ )
520
+ end
521
+
522
+ # The identifier assigned to the token requestor by the card network.
523
+ sig { returns(String) }
524
+ attr_accessor :identifier
525
+
526
+ # The name of the token requestor, for example "Apple Inc.".
527
+ sig { returns(T.nilable(String)) }
528
+ attr_accessor :name
529
+
530
+ # The digital wallet or merchant that requested the token.
531
+ sig do
532
+ params(identifier: String, name: T.nilable(String)).returns(
533
+ T.attached_class
534
+ )
535
+ end
536
+ def self.new(
537
+ # The identifier assigned to the token requestor by the card network.
538
+ identifier:,
539
+ # The name of the token requestor, for example "Apple Inc.".
540
+ name:
541
+ )
542
+ end
543
+
544
+ sig do
545
+ override.returns({ identifier: String, name: T.nilable(String) })
546
+ end
547
+ def to_hash
548
+ end
549
+ end
550
+
484
551
  # A constant representing the object's type. For this resource it will always be
485
552
  # `digital_wallet_token`.
486
553
  module Type
@@ -608,6 +675,50 @@ module Increase
608
675
  end
609
676
  end
610
677
  end
678
+
679
+ class Wallet < Increase::Internal::Type::BaseModel
680
+ OrHash =
681
+ T.type_alias do
682
+ T.any(
683
+ Increase::DigitalWalletToken::Wallet,
684
+ Increase::Internal::AnyHash
685
+ )
686
+ end
687
+
688
+ # An identifier for the cardholder's account with the digital wallet.
689
+ sig { returns(T.nilable(String)) }
690
+ attr_accessor :account_identifier
691
+
692
+ # A hash of the email address on the cardholder's digital wallet account.
693
+ sig { returns(T.nilable(String)) }
694
+ attr_accessor :email_hash
695
+
696
+ # Details about the digital wallet.
697
+ sig do
698
+ params(
699
+ account_identifier: T.nilable(String),
700
+ email_hash: T.nilable(String)
701
+ ).returns(T.attached_class)
702
+ end
703
+ def self.new(
704
+ # An identifier for the cardholder's account with the digital wallet.
705
+ account_identifier:,
706
+ # A hash of the email address on the cardholder's digital wallet account.
707
+ email_hash:
708
+ )
709
+ end
710
+
711
+ sig do
712
+ override.returns(
713
+ {
714
+ account_identifier: T.nilable(String),
715
+ email_hash: T.nilable(String)
716
+ }
717
+ )
718
+ end
719
+ def to_hash
720
+ end
721
+ end
611
722
  end
612
723
  end
613
724
  end