increase 1.364.0 → 1.366.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/ach_transfer.rb +9 -2
- data/lib/increase/models/ach_transfer_create_params.rb +33 -50
- data/lib/increase/models/card_create_params.rb +10 -3
- data/lib/increase/models/card_payment.rb +352 -12
- data/lib/increase/models/card_update_params.rb +9 -3
- data/lib/increase/models/declined_transaction.rb +10 -1
- data/lib/increase/models/fednow_transfer.rb +10 -1
- data/lib/increase/models/pending_transaction.rb +10 -1
- data/lib/increase/models/transaction.rb +411 -6
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/resources/ach_transfers.rb +15 -22
- data/lib/increase/resources/cards.rb +7 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_transfer.rbi +8 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +32 -54
- data/rbi/increase/models/card_create_params.rbi +9 -3
- data/rbi/increase/models/card_payment.rbi +726 -10
- data/rbi/increase/models/card_update_params.rbi +9 -3
- data/rbi/increase/models/declined_transaction.rbi +22 -1
- data/rbi/increase/models/fednow_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +22 -1
- data/rbi/increase/models/transaction.rbi +792 -3
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/resources/ach_transfers.rbi +15 -22
- data/rbi/increase/resources/cards.rbi +6 -2
- data/sig/increase/models/ach_transfer_create_params.rbs +9 -18
- data/sig/increase/models/card_payment.rbs +378 -10
- data/sig/increase/models/declined_transaction.rbs +13 -1
- data/sig/increase/models/fednow_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +13 -1
- data/sig/increase/models/transaction.rbs +363 -3
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/resources/ach_transfers.rbs +2 -3
- metadata +2 -2
|
@@ -219,6 +219,13 @@ module Increase
|
|
|
219
219
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
220
220
|
)
|
|
221
221
|
|
|
222
|
+
# Card Dispute Provisional Credit: details will be under the `card_dispute_provisional_credit` object.
|
|
223
|
+
CARD_DISPUTE_PROVISIONAL_CREDIT =
|
|
224
|
+
T.let(
|
|
225
|
+
:card_dispute_provisional_credit,
|
|
226
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
227
|
+
)
|
|
228
|
+
|
|
222
229
|
# Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
|
223
230
|
CARD_DISPUTE_LOSS =
|
|
224
231
|
T.let(
|
|
@@ -13,19 +13,18 @@ module Increase
|
|
|
13
13
|
params(
|
|
14
14
|
account_id: String,
|
|
15
15
|
amount: Integer,
|
|
16
|
-
|
|
16
|
+
company_name: String,
|
|
17
|
+
individual_name: String,
|
|
17
18
|
account_number: String,
|
|
18
19
|
addenda: Increase::ACHTransferCreateParams::Addenda::OrHash,
|
|
19
20
|
company_descriptive_date: String,
|
|
20
21
|
company_discretionary_data: String,
|
|
21
22
|
company_entry_description: String,
|
|
22
|
-
company_name: String,
|
|
23
23
|
destination_account_holder:
|
|
24
24
|
Increase::ACHTransferCreateParams::DestinationAccountHolder::OrSymbol,
|
|
25
25
|
external_account_id: String,
|
|
26
26
|
funding: Increase::ACHTransferCreateParams::Funding::OrSymbol,
|
|
27
27
|
individual_id: String,
|
|
28
|
-
individual_name: String,
|
|
29
28
|
preferred_effective_date:
|
|
30
29
|
Increase::ACHTransferCreateParams::PreferredEffectiveDate::OrHash,
|
|
31
30
|
require_approval: T::Boolean,
|
|
@@ -47,13 +46,19 @@ module Increase
|
|
|
47
46
|
# into Increase. Debit transfers
|
|
48
47
|
# [might result in a hold before funds are available](/documentation/sending-ach-debit-transfers).
|
|
49
48
|
amount:,
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
# The name by which the recipient knows the counterparty of this transaction. If
|
|
50
|
+
# you're processing payments on behalf of another party, use their name, not your
|
|
51
|
+
# own, so that it's more likely the recipient understands the context of the
|
|
52
|
+
# payment. This value is usually displayed to the recipient on their bank
|
|
53
|
+
# statement.
|
|
54
|
+
company_name:,
|
|
55
|
+
# The name of the transfer recipient. This value is informational and generally
|
|
56
|
+
# not verified by the recipient's bank. The business-to-business
|
|
57
|
+
# [Standard Entry Class (SEC) codes](/documentation/ach-standard-entry-class-codes)
|
|
58
|
+
# call this "individual name or receiving company name;" it's reasonable to
|
|
59
|
+
# include a business name in this field. This value is usually displayed to the
|
|
60
|
+
# recipient on their bank statement.
|
|
61
|
+
individual_name:,
|
|
57
62
|
# The receiver's account number. For credit transfers (transfers with a positive
|
|
58
63
|
# `amount`), this is the account that funds will be sent to. For debit transfers
|
|
59
64
|
# (transfers with a negative `amount`), this is the account that funds will be
|
|
@@ -80,13 +85,6 @@ module Increase
|
|
|
80
85
|
# code and use case. For example, some use cases require constants like
|
|
81
86
|
# `ACCTVERIFY`, `PURCHASE`, `PAYROLL`, or `REVERSAL`.
|
|
82
87
|
company_entry_description: nil,
|
|
83
|
-
# The name by which the recipient knows the counterparty of this transaction. If
|
|
84
|
-
# you're processing payments on behalf of another party, use their name, not your
|
|
85
|
-
# own, so that it's more likely the recipient understands the context of the
|
|
86
|
-
# payment. This value is usually displayed to the recipient on their bank
|
|
87
|
-
# statement. We recommend setting this on every transfer; if you do not, we fall
|
|
88
|
-
# back to the `statement_descriptor`.
|
|
89
|
-
company_name: nil,
|
|
90
88
|
# The type of entity that owns the receiver's account.
|
|
91
89
|
destination_account_holder: nil,
|
|
92
90
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
@@ -101,11 +99,6 @@ module Increase
|
|
|
101
99
|
# unset. For the specific case of person-to-person credits with the WEB standard
|
|
102
100
|
# entry class code, this must include the name of the payer.
|
|
103
101
|
individual_id: nil,
|
|
104
|
-
# The name of the transfer recipient. This value is informational and generally
|
|
105
|
-
# not verified by the recipient's bank. This value is usually displayed to the
|
|
106
|
-
# recipient on their bank statement. We recommend setting this on every transfer;
|
|
107
|
-
# if you do not, we fall back to the `statement_descriptor`.
|
|
108
|
-
individual_name: nil,
|
|
109
102
|
# Configuration for how the effective date of the transfer will be set. This
|
|
110
103
|
# determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
111
104
|
# `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
|
|
@@ -23,7 +23,9 @@ module Increase
|
|
|
23
23
|
account_id:,
|
|
24
24
|
# Controls that restrict how this card can be used.
|
|
25
25
|
authorization_controls: nil,
|
|
26
|
-
# The card's billing address.
|
|
26
|
+
# The card's billing address. This is used in card authorizations to
|
|
27
|
+
# [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
|
|
28
|
+
# If not provided, the address associated with the account's entity will be used.
|
|
27
29
|
billing_address: nil,
|
|
28
30
|
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
29
31
|
# from acquirers in Card Validations.
|
|
@@ -79,7 +81,9 @@ module Increase
|
|
|
79
81
|
card_id,
|
|
80
82
|
# Controls that restrict how this card can be used.
|
|
81
83
|
authorization_controls: nil,
|
|
82
|
-
# The card's
|
|
84
|
+
# The card's billing address. This is used in card authorizations to
|
|
85
|
+
# [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
|
|
86
|
+
# If not provided, the address associated with the account's entity will be used.
|
|
83
87
|
billing_address: nil,
|
|
84
88
|
# The description you choose to give the card.
|
|
85
89
|
description: nil,
|
|
@@ -4,18 +4,17 @@ module Increase
|
|
|
4
4
|
{
|
|
5
5
|
account_id: String,
|
|
6
6
|
amount: Integer,
|
|
7
|
-
|
|
7
|
+
company_name: String,
|
|
8
|
+
individual_name: String,
|
|
8
9
|
account_number: String,
|
|
9
10
|
addenda: Increase::ACHTransferCreateParams::Addenda,
|
|
10
11
|
company_descriptive_date: String,
|
|
11
12
|
company_discretionary_data: String,
|
|
12
13
|
company_entry_description: String,
|
|
13
|
-
company_name: String,
|
|
14
14
|
destination_account_holder: Increase::Models::ACHTransferCreateParams::destination_account_holder,
|
|
15
15
|
external_account_id: String,
|
|
16
16
|
funding: Increase::Models::ACHTransferCreateParams::funding,
|
|
17
17
|
individual_id: String,
|
|
18
|
-
individual_name: String,
|
|
19
18
|
preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate,
|
|
20
19
|
require_approval: bool,
|
|
21
20
|
routing_number: String,
|
|
@@ -31,7 +30,9 @@ module Increase
|
|
|
31
30
|
|
|
32
31
|
attr_accessor amount: Integer
|
|
33
32
|
|
|
34
|
-
attr_accessor
|
|
33
|
+
attr_accessor company_name: String
|
|
34
|
+
|
|
35
|
+
attr_accessor individual_name: String
|
|
35
36
|
|
|
36
37
|
attr_reader account_number: String?
|
|
37
38
|
|
|
@@ -55,10 +56,6 @@ module Increase
|
|
|
55
56
|
|
|
56
57
|
def company_entry_description=: (String) -> String
|
|
57
58
|
|
|
58
|
-
attr_reader company_name: String?
|
|
59
|
-
|
|
60
|
-
def company_name=: (String) -> String
|
|
61
|
-
|
|
62
59
|
attr_reader destination_account_holder: Increase::Models::ACHTransferCreateParams::destination_account_holder?
|
|
63
60
|
|
|
64
61
|
def destination_account_holder=: (
|
|
@@ -79,10 +76,6 @@ module Increase
|
|
|
79
76
|
|
|
80
77
|
def individual_id=: (String) -> String
|
|
81
78
|
|
|
82
|
-
attr_reader individual_name: String?
|
|
83
|
-
|
|
84
|
-
def individual_name=: (String) -> String
|
|
85
|
-
|
|
86
79
|
attr_reader preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate?
|
|
87
80
|
|
|
88
81
|
def preferred_effective_date=: (
|
|
@@ -106,18 +99,17 @@ module Increase
|
|
|
106
99
|
def initialize: (
|
|
107
100
|
account_id: String,
|
|
108
101
|
amount: Integer,
|
|
109
|
-
|
|
102
|
+
company_name: String,
|
|
103
|
+
individual_name: String,
|
|
110
104
|
?account_number: String,
|
|
111
105
|
?addenda: Increase::ACHTransferCreateParams::Addenda,
|
|
112
106
|
?company_descriptive_date: String,
|
|
113
107
|
?company_discretionary_data: String,
|
|
114
108
|
?company_entry_description: String,
|
|
115
|
-
?company_name: String,
|
|
116
109
|
?destination_account_holder: Increase::Models::ACHTransferCreateParams::destination_account_holder,
|
|
117
110
|
?external_account_id: String,
|
|
118
111
|
?funding: Increase::Models::ACHTransferCreateParams::funding,
|
|
119
112
|
?individual_id: String,
|
|
120
|
-
?individual_name: String,
|
|
121
113
|
?preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate,
|
|
122
114
|
?require_approval: bool,
|
|
123
115
|
?routing_number: String,
|
|
@@ -128,18 +120,17 @@ module Increase
|
|
|
128
120
|
def to_hash: -> {
|
|
129
121
|
account_id: String,
|
|
130
122
|
amount: Integer,
|
|
131
|
-
|
|
123
|
+
company_name: String,
|
|
124
|
+
individual_name: String,
|
|
132
125
|
account_number: String,
|
|
133
126
|
addenda: Increase::ACHTransferCreateParams::Addenda,
|
|
134
127
|
company_descriptive_date: String,
|
|
135
128
|
company_discretionary_data: String,
|
|
136
129
|
company_entry_description: String,
|
|
137
|
-
company_name: String,
|
|
138
130
|
destination_account_holder: Increase::Models::ACHTransferCreateParams::destination_account_holder,
|
|
139
131
|
external_account_id: String,
|
|
140
132
|
funding: Increase::Models::ACHTransferCreateParams::funding,
|
|
141
133
|
individual_id: String,
|
|
142
|
-
individual_name: String,
|
|
143
134
|
preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate,
|
|
144
135
|
require_approval: bool,
|
|
145
136
|
routing_number: String,
|