increase 1.348.0 → 1.350.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/README.md +1 -1
- data/lib/increase/models/account_create_params.rb +15 -15
- data/lib/increase/models/account_number.rb +3 -3
- data/lib/increase/models/ach_transfer.rb +12 -12
- data/lib/increase/models/balance_lookup.rb +1 -1
- data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
- data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
- data/lib/increase/models/card_dispute.rb +9 -1
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
- data/lib/increase/models/card_payment.rb +58 -58
- data/lib/increase/models/card_purchase_supplement.rb +9 -1
- data/lib/increase/models/card_token_capabilities.rb +2 -2
- data/lib/increase/models/check_deposit.rb +9 -9
- data/lib/increase/models/check_transfer.rb +2 -2
- data/lib/increase/models/check_transfer_create_params.rb +9 -4
- data/lib/increase/models/declined_transaction.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +9 -1
- data/lib/increase/models/entity.rb +298 -6
- data/lib/increase/models/entity_create_params.rb +332 -29
- data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
- data/lib/increase/models/entity_update_params.rb +472 -15
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +3 -0
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/fednow_transfer.rb +115 -4
- data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
- data/lib/increase/models/inbound_ach_transfer.rb +2 -2
- data/lib/increase/models/inbound_check_deposit.rb +7 -4
- data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
- data/lib/increase/models/inbound_mail_item.rb +14 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
- data/lib/increase/models/inbound_wire_transfer.rb +4 -4
- data/lib/increase/models/intrafi_exclusion.rb +4 -4
- data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
- data/lib/increase/models/pending_transaction.rb +20 -20
- data/lib/increase/models/pending_transaction_list_params.rb +5 -7
- data/lib/increase/models/physical_card.rb +9 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -18
- data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
- data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
- data/lib/increase/models/simulations/program_create_params.rb +14 -3
- data/lib/increase/models/transaction.rb +146 -19
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/models/wire_drawdown_request.rb +12 -1
- data/lib/increase/models/wire_transfer_create_params.rb +2 -2
- data/lib/increase/resources/cards.rb +2 -2
- data/lib/increase/resources/check_transfers.rb +1 -1
- data/lib/increase/resources/entities.rb +10 -2
- data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
- data/lib/increase/resources/lockbox_recipients.rb +1 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/simulations/card_authentications.rb +1 -1
- data/lib/increase/resources/simulations/card_disputes.rb +2 -2
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/resources/simulations/interest_payments.rb +1 -1
- data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
- data/lib/increase/resources/simulations/physical_cards.rb +2 -2
- data/lib/increase/resources/simulations/programs.rb +6 -2
- data/lib/increase/resources/wire_transfers.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/account_number.rbi +3 -3
- data/rbi/increase/models/ach_transfer.rbi +12 -12
- data/rbi/increase/models/balance_lookup.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
- data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
- data/rbi/increase/models/card_dispute.rbi +8 -0
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
- data/rbi/increase/models/card_payment.rbi +58 -58
- data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
- data/rbi/increase/models/card_token_capabilities.rbi +2 -2
- data/rbi/increase/models/check_deposit.rbi +9 -9
- data/rbi/increase/models/check_transfer.rbi +2 -2
- data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
- data/rbi/increase/models/declined_transaction.rbi +16 -9
- data/rbi/increase/models/digital_wallet_token.rbi +8 -0
- data/rbi/increase/models/entity.rbi +496 -5
- data/rbi/increase/models/entity_create_params.rbi +547 -28
- data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
- data/rbi/increase/models/entity_update_params.rbi +814 -14
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +7 -0
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/fednow_transfer.rbi +213 -7
- data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
- data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
- data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
- data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
- data/rbi/increase/models/inbound_mail_item.rbi +12 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
- data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
- data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
- data/rbi/increase/models/pending_transaction.rbi +20 -20
- data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
- data/rbi/increase/models/physical_card.rbi +8 -0
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +18 -18
- data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
- data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
- data/rbi/increase/models/transaction.rbi +264 -18
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
- data/rbi/increase/resources/cards.rbi +2 -2
- data/rbi/increase/resources/check_transfers.rbi +1 -1
- data/rbi/increase/resources/entities.rbi +10 -0
- data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
- data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
- data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
- data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
- data/rbi/increase/resources/simulations/programs.rbi +5 -1
- data/rbi/increase/resources/wire_transfers.rbi +1 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/card_dispute.rbs +5 -0
- data/sig/increase/models/card_purchase_supplement.rbs +5 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +5 -0
- data/sig/increase/models/entity.rbs +230 -4
- data/sig/increase/models/entity_create_params.rbs +232 -1
- data/sig/increase/models/entity_update_params.rbs +366 -0
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/fednow_transfer.rbs +113 -4
- data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
- data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
- data/sig/increase/models/inbound_mail_item.rbs +5 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +1 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/program_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +113 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/models/wire_drawdown_request.rbs +5 -0
- data/sig/increase/resources/entities.rbs +2 -0
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +2 -2
|
@@ -17,9 +17,9 @@ module Increase
|
|
|
17
17
|
attr_accessor :account_id
|
|
18
18
|
|
|
19
19
|
# The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
20
|
-
# for example, this is cents.
|
|
21
|
-
#
|
|
22
|
-
#
|
|
20
|
+
# for example, this is cents. For a card authorization this is the amount still
|
|
21
|
+
# held: it decreases when the merchant reverses part of the authorization. The
|
|
22
|
+
# amount that settled is available on the resulting Transaction and on the Card
|
|
23
23
|
# Payment's `state.settled_amount`.
|
|
24
24
|
sig { returns(Integer) }
|
|
25
25
|
attr_accessor :amount
|
|
@@ -112,9 +112,9 @@ module Increase
|
|
|
112
112
|
# The identifier for the account this Pending Transaction belongs to.
|
|
113
113
|
account_id:,
|
|
114
114
|
# The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
115
|
-
# for example, this is cents.
|
|
116
|
-
#
|
|
117
|
-
#
|
|
115
|
+
# for example, this is cents. For a card authorization this is the amount still
|
|
116
|
+
# held: it decreases when the merchant reverses part of the authorization. The
|
|
117
|
+
# amount that settled is available on the resulting Transaction and on the Card
|
|
118
118
|
# Payment's `state.settled_amount`.
|
|
119
119
|
amount:,
|
|
120
120
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
|
@@ -1346,9 +1346,9 @@ module Increase
|
|
|
1346
1346
|
end
|
|
1347
1347
|
attr_accessor :actioner
|
|
1348
1348
|
|
|
1349
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1349
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
1350
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
1351
|
+
# more detailed information about the transaction.
|
|
1352
1352
|
sig do
|
|
1353
1353
|
returns(
|
|
1354
1354
|
Increase::PendingTransaction::Source::CardAuthorization::AdditionalAmounts
|
|
@@ -1396,8 +1396,8 @@ module Increase
|
|
|
1396
1396
|
end
|
|
1397
1397
|
attr_accessor :direction
|
|
1398
1398
|
|
|
1399
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1400
|
-
# will expire and the pending transaction will be released.
|
|
1399
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
|
|
1400
|
+
# authorization will expire and the pending transaction will be released.
|
|
1401
1401
|
sig { returns(Time) }
|
|
1402
1402
|
attr_accessor :expires_at
|
|
1403
1403
|
|
|
@@ -1631,9 +1631,9 @@ module Increase
|
|
|
1631
1631
|
# Whether this authorization was approved by Increase, the card network through
|
|
1632
1632
|
# stand-in processing, or the user through a real-time decision.
|
|
1633
1633
|
actioner:,
|
|
1634
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
1635
|
-
#
|
|
1636
|
-
#
|
|
1634
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
1635
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
1636
|
+
# more detailed information about the transaction.
|
|
1637
1637
|
additional_amounts:,
|
|
1638
1638
|
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1639
1639
|
# for example, this is cents.
|
|
@@ -1649,8 +1649,8 @@ module Increase
|
|
|
1649
1649
|
# The direction describes the direction the funds will move, either from the
|
|
1650
1650
|
# cardholder to the merchant or from the merchant to the cardholder.
|
|
1651
1651
|
direction:,
|
|
1652
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1653
|
-
# will expire and the pending transaction will be released.
|
|
1652
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
|
|
1653
|
+
# authorization will expire and the pending transaction will be released.
|
|
1654
1654
|
expires_at:,
|
|
1655
1655
|
# The healthcare-related fields for this authorization. Only present for specific
|
|
1656
1656
|
# programs.
|
|
@@ -2025,9 +2025,9 @@ module Increase
|
|
|
2025
2025
|
end
|
|
2026
2026
|
attr_writer :vision
|
|
2027
2027
|
|
|
2028
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
2029
|
-
#
|
|
2030
|
-
#
|
|
2028
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
2029
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
2030
|
+
# more detailed information about the transaction.
|
|
2031
2031
|
sig do
|
|
2032
2032
|
params(
|
|
2033
2033
|
clinic:
|
|
@@ -5004,7 +5004,7 @@ module Increase
|
|
|
5004
5004
|
PENDING =
|
|
5005
5005
|
T.let(:pending, Increase::PendingTransaction::Status::TaggedSymbol)
|
|
5006
5006
|
|
|
5007
|
-
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is
|
|
5007
|
+
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
|
|
5008
5008
|
COMPLETE =
|
|
5009
5009
|
T.let(:complete, Increase::PendingTransaction::Status::TaggedSymbol)
|
|
5010
5010
|
|
|
@@ -407,9 +407,8 @@ module Increase
|
|
|
407
407
|
end
|
|
408
408
|
|
|
409
409
|
# Filter Pending Transactions for those with the specified status. By default only
|
|
410
|
-
# Pending Transactions
|
|
411
|
-
#
|
|
412
|
-
# `?in=one,two,three`.
|
|
410
|
+
# Pending Transactions with status `pending` will be returned. For GET requests,
|
|
411
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
413
412
|
sig do
|
|
414
413
|
returns(
|
|
415
414
|
T.nilable(
|
|
@@ -441,9 +440,8 @@ module Increase
|
|
|
441
440
|
end
|
|
442
441
|
def self.new(
|
|
443
442
|
# Filter Pending Transactions for those with the specified status. By default only
|
|
444
|
-
# Pending Transactions
|
|
445
|
-
#
|
|
446
|
-
# `?in=one,two,three`.
|
|
443
|
+
# Pending Transactions with status `pending` will be returned. For GET requests,
|
|
444
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
447
445
|
in_: nil
|
|
448
446
|
)
|
|
449
447
|
end
|
|
@@ -477,7 +475,7 @@ module Increase
|
|
|
477
475
|
Increase::PendingTransactionListParams::Status::In::TaggedSymbol
|
|
478
476
|
)
|
|
479
477
|
|
|
480
|
-
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is
|
|
478
|
+
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
|
|
481
479
|
COMPLETE =
|
|
482
480
|
T.let(
|
|
483
481
|
:complete,
|
|
@@ -12,6 +12,10 @@ module Increase
|
|
|
12
12
|
sig { returns(String) }
|
|
13
13
|
attr_accessor :id
|
|
14
14
|
|
|
15
|
+
# The identifier for the Account this Physical Card belongs to.
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :account_id
|
|
18
|
+
|
|
15
19
|
# The identifier for the Card this Physical Card represents.
|
|
16
20
|
sig { returns(String) }
|
|
17
21
|
attr_accessor :card_id
|
|
@@ -64,6 +68,7 @@ module Increase
|
|
|
64
68
|
sig do
|
|
65
69
|
params(
|
|
66
70
|
id: String,
|
|
71
|
+
account_id: String,
|
|
67
72
|
card_id: String,
|
|
68
73
|
cardholder: Increase::PhysicalCard::Cardholder::OrHash,
|
|
69
74
|
created_at: Time,
|
|
@@ -77,6 +82,8 @@ module Increase
|
|
|
77
82
|
def self.new(
|
|
78
83
|
# The physical card identifier.
|
|
79
84
|
id:,
|
|
85
|
+
# The identifier for the Account this Physical Card belongs to.
|
|
86
|
+
account_id:,
|
|
80
87
|
# The identifier for the Card this Physical Card represents.
|
|
81
88
|
card_id:,
|
|
82
89
|
# Details about the cardholder, as it appears on the printed card.
|
|
@@ -104,6 +111,7 @@ module Increase
|
|
|
104
111
|
override.returns(
|
|
105
112
|
{
|
|
106
113
|
id: String,
|
|
114
|
+
account_id: String,
|
|
107
115
|
card_id: String,
|
|
108
116
|
cardholder: Increase::PhysicalCard::Cardholder,
|
|
109
117
|
created_at: Time,
|
|
@@ -15,7 +15,8 @@ module Increase
|
|
|
15
15
|
sig { returns(String) }
|
|
16
16
|
attr_accessor :card_id
|
|
17
17
|
|
|
18
|
-
# Details about the cardholder, as it will appear on the physical card.
|
|
18
|
+
# Details about the cardholder, as it will appear on the physical card. The
|
|
19
|
+
# combined first name and last name cannot exceed 25 characters.
|
|
19
20
|
sig { returns(Increase::PhysicalCardCreateParams::Cardholder) }
|
|
20
21
|
attr_reader :cardholder
|
|
21
22
|
|
|
@@ -57,7 +58,8 @@ module Increase
|
|
|
57
58
|
def self.new(
|
|
58
59
|
# The underlying card representing this physical card.
|
|
59
60
|
card_id:,
|
|
60
|
-
# Details about the cardholder, as it will appear on the physical card.
|
|
61
|
+
# Details about the cardholder, as it will appear on the physical card. The
|
|
62
|
+
# combined first name and last name cannot exceed 25 characters.
|
|
61
63
|
cardholder:,
|
|
62
64
|
# The details used to ship this physical card.
|
|
63
65
|
shipment:,
|
|
@@ -99,7 +101,8 @@ module Increase
|
|
|
99
101
|
sig { returns(String) }
|
|
100
102
|
attr_accessor :last_name
|
|
101
103
|
|
|
102
|
-
# Details about the cardholder, as it will appear on the physical card.
|
|
104
|
+
# Details about the cardholder, as it will appear on the physical card. The
|
|
105
|
+
# combined first name and last name cannot exceed 25 characters.
|
|
103
106
|
sig do
|
|
104
107
|
params(first_name: String, last_name: String).returns(
|
|
105
108
|
T.attached_class
|
|
@@ -1700,9 +1700,9 @@ module Increase
|
|
|
1700
1700
|
sig { returns(String) }
|
|
1701
1701
|
attr_accessor :account_id
|
|
1702
1702
|
|
|
1703
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
1704
|
-
#
|
|
1705
|
-
#
|
|
1703
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
1704
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
1705
|
+
# more detailed information about the transaction.
|
|
1706
1706
|
sig do
|
|
1707
1707
|
returns(
|
|
1708
1708
|
Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts
|
|
@@ -2018,9 +2018,9 @@ module Increase
|
|
|
2018
2018
|
def self.new(
|
|
2019
2019
|
# The identifier of the Account the authorization will debit.
|
|
2020
2020
|
account_id:,
|
|
2021
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
2022
|
-
#
|
|
2023
|
-
#
|
|
2021
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
2022
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
2023
|
+
# more detailed information about the transaction.
|
|
2024
2024
|
additional_amounts:,
|
|
2025
2025
|
# Present if and only if `decision` is `approve`. Contains information related to
|
|
2026
2026
|
# the approval of the authorization.
|
|
@@ -2375,9 +2375,9 @@ module Increase
|
|
|
2375
2375
|
end
|
|
2376
2376
|
attr_writer :vision
|
|
2377
2377
|
|
|
2378
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
2379
|
-
#
|
|
2380
|
-
#
|
|
2378
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
2379
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
2380
|
+
# more detailed information about the transaction.
|
|
2381
2381
|
sig do
|
|
2382
2382
|
params(
|
|
2383
2383
|
clinic:
|
|
@@ -4669,9 +4669,9 @@ module Increase
|
|
|
4669
4669
|
sig { returns(String) }
|
|
4670
4670
|
attr_accessor :account_id
|
|
4671
4671
|
|
|
4672
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
4673
|
-
#
|
|
4674
|
-
#
|
|
4672
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
4673
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
4674
|
+
# more detailed information about the transaction.
|
|
4675
4675
|
sig do
|
|
4676
4676
|
returns(
|
|
4677
4677
|
Increase::RealTimeDecision::CardBalanceInquiry::AdditionalAmounts
|
|
@@ -4861,9 +4861,9 @@ module Increase
|
|
|
4861
4861
|
def self.new(
|
|
4862
4862
|
# The identifier of the Account the authorization will debit.
|
|
4863
4863
|
account_id:,
|
|
4864
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
4865
|
-
#
|
|
4866
|
-
#
|
|
4864
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
4865
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
4866
|
+
# more detailed information about the transaction.
|
|
4867
4867
|
additional_amounts:,
|
|
4868
4868
|
# Present if and only if `decision` is `approve`. Contains information related to
|
|
4869
4869
|
# the approval of the balance inquiry.
|
|
@@ -5162,9 +5162,9 @@ module Increase
|
|
|
5162
5162
|
end
|
|
5163
5163
|
attr_writer :vision
|
|
5164
5164
|
|
|
5165
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
5166
|
-
#
|
|
5167
|
-
#
|
|
5165
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
5166
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
5167
|
+
# more detailed information about the transaction.
|
|
5168
5168
|
sig do
|
|
5169
5169
|
params(
|
|
5170
5170
|
clinic:
|
|
@@ -78,7 +78,7 @@ module Increase
|
|
|
78
78
|
sig { params(merchant_country: String).void }
|
|
79
79
|
attr_writer :merchant_country
|
|
80
80
|
|
|
81
|
-
# The name of the merchant
|
|
81
|
+
# The name of the merchant.
|
|
82
82
|
sig { returns(T.nilable(String)) }
|
|
83
83
|
attr_reader :merchant_name
|
|
84
84
|
|
|
@@ -122,7 +122,7 @@ module Increase
|
|
|
122
122
|
merchant_category_code: nil,
|
|
123
123
|
# The country the merchant resides in.
|
|
124
124
|
merchant_country: nil,
|
|
125
|
-
# The name of the merchant
|
|
125
|
+
# The name of the merchant.
|
|
126
126
|
merchant_name: nil,
|
|
127
127
|
# The purchase amount in cents.
|
|
128
128
|
purchase_amount: nil,
|
|
@@ -28,8 +28,8 @@ module Increase
|
|
|
28
28
|
end
|
|
29
29
|
attr_accessor :network
|
|
30
30
|
|
|
31
|
-
# The Visa-specific parameters for
|
|
32
|
-
#
|
|
31
|
+
# The Visa-specific parameters for taking action on the dispute. Required if and
|
|
32
|
+
# only if `network` is `visa`.
|
|
33
33
|
sig do
|
|
34
34
|
returns(
|
|
35
35
|
T.nilable(Increase::Simulations::CardDisputeActionParams::Visa)
|
|
@@ -59,8 +59,8 @@ module Increase
|
|
|
59
59
|
# The network of the Card Dispute. Details specific to the network are required
|
|
60
60
|
# under the sub-object with the same identifier as the network.
|
|
61
61
|
network:,
|
|
62
|
-
# The Visa-specific parameters for
|
|
63
|
-
#
|
|
62
|
+
# The Visa-specific parameters for taking action on the dispute. Required if and
|
|
63
|
+
# only if `network` is `visa`.
|
|
64
64
|
visa: nil,
|
|
65
65
|
request_options: {}
|
|
66
66
|
)
|
|
@@ -339,8 +339,8 @@ module Increase
|
|
|
339
339
|
end
|
|
340
340
|
attr_writer :time_out_user_prearbitration
|
|
341
341
|
|
|
342
|
-
# The Visa-specific parameters for
|
|
343
|
-
#
|
|
342
|
+
# The Visa-specific parameters for taking action on the dispute. Required if and
|
|
343
|
+
# only if `network` is `visa`.
|
|
344
344
|
sig do
|
|
345
345
|
params(
|
|
346
346
|
action:
|
|
@@ -116,21 +116,21 @@ module Increase
|
|
|
116
116
|
end
|
|
117
117
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
118
118
|
|
|
119
|
-
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
119
|
+
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
120
120
|
ENTITY_TAX_IDENTIFIER =
|
|
121
121
|
T.let(
|
|
122
122
|
:entity_tax_identifier,
|
|
123
123
|
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
124
124
|
)
|
|
125
125
|
|
|
126
|
-
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
126
|
+
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
127
127
|
ENTITY_ADDRESS =
|
|
128
128
|
T.let(
|
|
129
129
|
:entity_address,
|
|
130
130
|
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
131
131
|
)
|
|
132
132
|
|
|
133
|
-
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
133
|
+
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
134
134
|
ENTITY_IDENTITY =
|
|
135
135
|
T.let(
|
|
136
136
|
:entity_identity,
|
|
@@ -19,7 +19,10 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :inbound_check_deposit_id
|
|
21
21
|
|
|
22
|
-
# The adjustment amount in cents.
|
|
22
|
+
# The adjustment amount in cents. A positive amount means that the funds are being
|
|
23
|
+
# returned to you by the other bank and is a credit to your account, as happens
|
|
24
|
+
# for a `wrong_payee_credit`. A negative amount is a debit to your account, as
|
|
25
|
+
# happens for a `late_return`. Defaults to the amount of the Inbound Check
|
|
23
26
|
# Deposit.
|
|
24
27
|
sig { returns(T.nilable(Integer)) }
|
|
25
28
|
attr_reader :amount
|
|
@@ -57,7 +60,10 @@ module Increase
|
|
|
57
60
|
def self.new(
|
|
58
61
|
# The identifier of the Inbound Check Deposit to adjust.
|
|
59
62
|
inbound_check_deposit_id:,
|
|
60
|
-
# The adjustment amount in cents.
|
|
63
|
+
# The adjustment amount in cents. A positive amount means that the funds are being
|
|
64
|
+
# returned to you by the other bank and is a credit to your account, as happens
|
|
65
|
+
# for a `wrong_payee_credit`. A negative amount is a debit to your account, as
|
|
66
|
+
# happens for a `late_return`. Defaults to the amount of the Inbound Check
|
|
61
67
|
# Deposit.
|
|
62
68
|
amount: nil,
|
|
63
69
|
# The reason for the adjustment. Defaults to `wrong_payee_credit`.
|
|
@@ -107,27 +113,6 @@ module Increase
|
|
|
107
113
|
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
108
114
|
)
|
|
109
115
|
|
|
110
|
-
# The check was deposited with a different amount than what was written on the check.
|
|
111
|
-
ADJUSTED_AMOUNT =
|
|
112
|
-
T.let(
|
|
113
|
-
:adjusted_amount,
|
|
114
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
118
|
-
NON_CONFORMING_ITEM =
|
|
119
|
-
T.let(
|
|
120
|
-
:non_conforming_item,
|
|
121
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
122
|
-
)
|
|
123
|
-
|
|
124
|
-
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
125
|
-
PAID =
|
|
126
|
-
T.let(
|
|
127
|
-
:paid,
|
|
128
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
129
|
-
)
|
|
130
|
-
|
|
131
116
|
sig do
|
|
132
117
|
override.returns(
|
|
133
118
|
T::Array[
|
|
@@ -15,7 +15,7 @@ module Increase
|
|
|
15
15
|
)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# The identifier of the Account the Interest Payment should be paid to
|
|
18
|
+
# The identifier of the Account the Interest Payment should be paid to.
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :account_id
|
|
21
21
|
|
|
@@ -55,7 +55,7 @@ module Increase
|
|
|
55
55
|
).returns(T.attached_class)
|
|
56
56
|
end
|
|
57
57
|
def self.new(
|
|
58
|
-
# The identifier of the Account the Interest Payment should be paid to
|
|
58
|
+
# The identifier of the Account the Interest Payment should be paid to.
|
|
59
59
|
account_id:,
|
|
60
60
|
# The interest amount in cents. Must be positive.
|
|
61
61
|
amount:,
|
data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi
CHANGED
|
@@ -15,7 +15,7 @@ module Increase
|
|
|
15
15
|
)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# The pending transaction to release. The pending transaction must have
|
|
18
|
+
# The pending transaction to release. The pending transaction must have an
|
|
19
19
|
# `inbound_funds_hold` source.
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :pending_transaction_id
|
|
@@ -27,7 +27,7 @@ module Increase
|
|
|
27
27
|
).returns(T.attached_class)
|
|
28
28
|
end
|
|
29
29
|
def self.new(
|
|
30
|
-
# The pending transaction to release. The pending transaction must have
|
|
30
|
+
# The pending transaction to release. The pending transaction must have an
|
|
31
31
|
# `inbound_funds_hold` source.
|
|
32
32
|
pending_transaction_id:,
|
|
33
33
|
request_options: {}
|
|
@@ -43,7 +43,15 @@ module Increase
|
|
|
43
43
|
sig { params(lending_maximum_extendable_credit: Integer).void }
|
|
44
44
|
attr_writer :lending_maximum_extendable_credit
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Whether opening a loan Account under this Program requires an accepted Loan
|
|
47
|
+
# Offer. Requires `lending_maximum_extendable_credit`. Defaults to `false`.
|
|
48
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
49
|
+
attr_reader :loan_accounts_require_loan_offers
|
|
50
|
+
|
|
51
|
+
sig { params(loan_accounts_require_loan_offers: T::Boolean).void }
|
|
52
|
+
attr_writer :loan_accounts_require_loan_offers
|
|
53
|
+
|
|
54
|
+
# The identifier of the Account the Program should be added to.
|
|
47
55
|
sig { returns(T.nilable(String)) }
|
|
48
56
|
attr_reader :reserve_account_id
|
|
49
57
|
|
|
@@ -55,6 +63,7 @@ module Increase
|
|
|
55
63
|
name: String,
|
|
56
64
|
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol,
|
|
57
65
|
lending_maximum_extendable_credit: Integer,
|
|
66
|
+
loan_accounts_require_loan_offers: T::Boolean,
|
|
58
67
|
reserve_account_id: String,
|
|
59
68
|
request_options: Increase::RequestOptions::OrHash
|
|
60
69
|
).returns(T.attached_class)
|
|
@@ -66,7 +75,10 @@ module Increase
|
|
|
66
75
|
bank: nil,
|
|
67
76
|
# The maximum extendable credit of the program being added.
|
|
68
77
|
lending_maximum_extendable_credit: nil,
|
|
69
|
-
#
|
|
78
|
+
# Whether opening a loan Account under this Program requires an accepted Loan
|
|
79
|
+
# Offer. Requires `lending_maximum_extendable_credit`. Defaults to `false`.
|
|
80
|
+
loan_accounts_require_loan_offers: nil,
|
|
81
|
+
# The identifier of the Account the Program should be added to.
|
|
70
82
|
reserve_account_id: nil,
|
|
71
83
|
request_options: {}
|
|
72
84
|
)
|
|
@@ -78,6 +90,7 @@ module Increase
|
|
|
78
90
|
name: String,
|
|
79
91
|
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol,
|
|
80
92
|
lending_maximum_extendable_credit: Integer,
|
|
93
|
+
loan_accounts_require_loan_offers: T::Boolean,
|
|
81
94
|
reserve_account_id: String,
|
|
82
95
|
request_options: Increase::RequestOptions
|
|
83
96
|
}
|