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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 211fbbf6b1a0858edc8134c95ebc037a7c2bc1405a8ba477a5be65448d26b31d
|
|
4
|
+
data.tar.gz: 1321070823bdb7946cd8b217f2f28d3e28d64680068da7d6d4aafb7d1ec06baf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adf93ef36b26aebaacb0da3eab1170c8b811ee7f4828c997e676a4d363cab599d0e253fe3ca1ba80d8c661e9d244791826a206559ba71cb82ff9540ce03ef913
|
|
7
|
+
data.tar.gz: 8723b388931f436101d86574b44cdcce5546812ad8e66a02d12db48331dee3eb4465435d7a3af5ed601b43592f45935cfcecaef175de606e21a1737b0ff833e9
|
data/README.md
CHANGED
|
@@ -223,7 +223,10 @@ module Increase
|
|
|
223
223
|
required :standard_entry_class_code, enum: -> { Increase::ACHTransfer::StandardEntryClassCode }
|
|
224
224
|
|
|
225
225
|
# @!attribute statement_descriptor
|
|
226
|
-
#
|
|
226
|
+
# A description you chose to give the transfer. If `individual_name` and
|
|
227
|
+
# `company_name` were not explicitly set, the `statement_descriptor` will be sent
|
|
228
|
+
# in those fields to the receiving bank to help the customer recognize the
|
|
229
|
+
# transfer.
|
|
227
230
|
#
|
|
228
231
|
# @return [String, nil]
|
|
229
232
|
required :statement_descriptor, String, nil?: true
|
|
@@ -379,7 +382,11 @@ module Increase
|
|
|
379
382
|
# [Standard Entry Class (SEC) code](/documentation/ach-standard-entry-class-codes)
|
|
380
383
|
# to use for the transfer.
|
|
381
384
|
#
|
|
382
|
-
# @param statement_descriptor [String, nil]
|
|
385
|
+
# @param statement_descriptor [String, nil]
|
|
386
|
+
# A description you chose to give the transfer. If `individual_name` and
|
|
387
|
+
# `company_name` were not explicitly set, the `statement_descriptor` will be sent
|
|
388
|
+
# in those fields to the receiving bank to help the customer recognize the
|
|
389
|
+
# transfer.
|
|
383
390
|
#
|
|
384
391
|
# @param status [Symbol, Increase::Models::ACHTransfer::Status] The lifecycle status of the transfer.
|
|
385
392
|
#
|
|
@@ -26,16 +26,26 @@ module Increase
|
|
|
26
26
|
# @return [Integer]
|
|
27
27
|
required :amount, Integer
|
|
28
28
|
|
|
29
|
-
# @!attribute
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
29
|
+
# @!attribute company_name
|
|
30
|
+
# The name by which the recipient knows the counterparty of this transaction. If
|
|
31
|
+
# you're processing payments on behalf of another party, use their name, not your
|
|
32
|
+
# own, so that it's more likely the recipient understands the context of the
|
|
33
|
+
# payment. This value is usually displayed to the recipient on their bank
|
|
34
|
+
# statement.
|
|
35
|
+
#
|
|
36
|
+
# @return [String]
|
|
37
|
+
required :company_name, String
|
|
38
|
+
|
|
39
|
+
# @!attribute individual_name
|
|
40
|
+
# The name of the transfer recipient. This value is informational and generally
|
|
41
|
+
# not verified by the recipient's bank. The business-to-business
|
|
42
|
+
# [Standard Entry Class (SEC) codes](/documentation/ach-standard-entry-class-codes)
|
|
43
|
+
# call this "individual name or receiving company name;" it's reasonable to
|
|
44
|
+
# include a business name in this field. This value is usually displayed to the
|
|
45
|
+
# recipient on their bank statement.
|
|
36
46
|
#
|
|
37
47
|
# @return [String]
|
|
38
|
-
required :
|
|
48
|
+
required :individual_name, String
|
|
39
49
|
|
|
40
50
|
# @!attribute account_number
|
|
41
51
|
# The receiver's account number. For credit transfers (transfers with a positive
|
|
@@ -83,17 +93,6 @@ module Increase
|
|
|
83
93
|
# @return [String, nil]
|
|
84
94
|
optional :company_entry_description, String
|
|
85
95
|
|
|
86
|
-
# @!attribute company_name
|
|
87
|
-
# The name by which the recipient knows the counterparty of this transaction. If
|
|
88
|
-
# you're processing payments on behalf of another party, use their name, not your
|
|
89
|
-
# own, so that it's more likely the recipient understands the context of the
|
|
90
|
-
# payment. This value is usually displayed to the recipient on their bank
|
|
91
|
-
# statement. We recommend setting this on every transfer; if you do not, we fall
|
|
92
|
-
# back to the `statement_descriptor`.
|
|
93
|
-
#
|
|
94
|
-
# @return [String, nil]
|
|
95
|
-
optional :company_name, String
|
|
96
|
-
|
|
97
96
|
# @!attribute destination_account_holder
|
|
98
97
|
# The type of entity that owns the receiver's account.
|
|
99
98
|
#
|
|
@@ -125,15 +124,6 @@ module Increase
|
|
|
125
124
|
# @return [String, nil]
|
|
126
125
|
optional :individual_id, String
|
|
127
126
|
|
|
128
|
-
# @!attribute individual_name
|
|
129
|
-
# The name of the transfer recipient. This value is informational and generally
|
|
130
|
-
# not verified by the recipient's bank. This value is usually displayed to the
|
|
131
|
-
# recipient on their bank statement. We recommend setting this on every transfer;
|
|
132
|
-
# if you do not, we fall back to the `statement_descriptor`.
|
|
133
|
-
#
|
|
134
|
-
# @return [String, nil]
|
|
135
|
-
optional :individual_name, String
|
|
136
|
-
|
|
137
127
|
# @!attribute preferred_effective_date
|
|
138
128
|
# Configuration for how the effective date of the transfer will be set. This
|
|
139
129
|
# determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
@@ -166,7 +156,7 @@ module Increase
|
|
|
166
156
|
optional :standard_entry_class_code,
|
|
167
157
|
enum: -> { Increase::ACHTransferCreateParams::StandardEntryClassCode }
|
|
168
158
|
|
|
169
|
-
# @!method initialize(account_id:, amount:,
|
|
159
|
+
# @!method initialize(account_id:, amount:, company_name:, individual_name:, account_number: nil, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, destination_account_holder: nil, external_account_id: nil, funding: nil, individual_id: nil, preferred_effective_date: nil, require_approval: nil, routing_number: nil, standard_entry_class_code: nil, request_options: {})
|
|
170
160
|
# @param account_id [String]
|
|
171
161
|
# The Increase identifier for the account that will originate the transfer. For
|
|
172
162
|
# credit transfers (transfers with a positive `amount`), this is the account that
|
|
@@ -180,13 +170,20 @@ module Increase
|
|
|
180
170
|
# into Increase. Debit transfers
|
|
181
171
|
# [might result in a hold before funds are available](/documentation/sending-ach-debit-transfers).
|
|
182
172
|
#
|
|
183
|
-
# @param
|
|
184
|
-
#
|
|
185
|
-
#
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
#
|
|
173
|
+
# @param company_name [String]
|
|
174
|
+
# The name by which the recipient knows the counterparty of this transaction. If
|
|
175
|
+
# you're processing payments on behalf of another party, use their name, not your
|
|
176
|
+
# own, so that it's more likely the recipient understands the context of the
|
|
177
|
+
# payment. This value is usually displayed to the recipient on their bank
|
|
178
|
+
# statement.
|
|
179
|
+
#
|
|
180
|
+
# @param individual_name [String]
|
|
181
|
+
# The name of the transfer recipient. This value is informational and generally
|
|
182
|
+
# not verified by the recipient's bank. The business-to-business
|
|
183
|
+
# [Standard Entry Class (SEC) codes](/documentation/ach-standard-entry-class-codes)
|
|
184
|
+
# call this "individual name or receiving company name;" it's reasonable to
|
|
185
|
+
# include a business name in this field. This value is usually displayed to the
|
|
186
|
+
# recipient on their bank statement.
|
|
190
187
|
#
|
|
191
188
|
# @param account_number [String]
|
|
192
189
|
# The receiver's account number. For credit transfers (transfers with a positive
|
|
@@ -219,14 +216,6 @@ module Increase
|
|
|
219
216
|
# code and use case. For example, some use cases require constants like
|
|
220
217
|
# `ACCTVERIFY`, `PURCHASE`, `PAYROLL`, or `REVERSAL`.
|
|
221
218
|
#
|
|
222
|
-
# @param company_name [String]
|
|
223
|
-
# The name by which the recipient knows the counterparty of this transaction. If
|
|
224
|
-
# you're processing payments on behalf of another party, use their name, not your
|
|
225
|
-
# own, so that it's more likely the recipient understands the context of the
|
|
226
|
-
# payment. This value is usually displayed to the recipient on their bank
|
|
227
|
-
# statement. We recommend setting this on every transfer; if you do not, we fall
|
|
228
|
-
# back to the `statement_descriptor`.
|
|
229
|
-
#
|
|
230
219
|
# @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder]
|
|
231
220
|
# The type of entity that owns the receiver's account.
|
|
232
221
|
#
|
|
@@ -245,12 +234,6 @@ module Increase
|
|
|
245
234
|
# unset. For the specific case of person-to-person credits with the WEB standard
|
|
246
235
|
# entry class code, this must include the name of the payer.
|
|
247
236
|
#
|
|
248
|
-
# @param individual_name [String]
|
|
249
|
-
# The name of the transfer recipient. This value is informational and generally
|
|
250
|
-
# not verified by the recipient's bank. This value is usually displayed to the
|
|
251
|
-
# recipient on their bank statement. We recommend setting this on every transfer;
|
|
252
|
-
# if you do not, we fall back to the `statement_descriptor`.
|
|
253
|
-
#
|
|
254
237
|
# @param preferred_effective_date [Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate]
|
|
255
238
|
# Configuration for how the effective date of the transfer will be set. This
|
|
256
239
|
# determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
@@ -20,7 +20,9 @@ module Increase
|
|
|
20
20
|
optional :authorization_controls, -> { Increase::CardCreateParams::AuthorizationControls }
|
|
21
21
|
|
|
22
22
|
# @!attribute billing_address
|
|
23
|
-
# The card's billing address.
|
|
23
|
+
# The card's billing address. This is used in card authorizations to
|
|
24
|
+
# [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
|
|
25
|
+
# If not provided, the address associated with the account's entity will be used.
|
|
24
26
|
#
|
|
25
27
|
# @return [Increase::Models::CardCreateParams::BillingAddress, nil]
|
|
26
28
|
optional :billing_address, -> { Increase::CardCreateParams::BillingAddress }
|
|
@@ -68,7 +70,10 @@ module Increase
|
|
|
68
70
|
# @param authorization_controls [Increase::Models::CardCreateParams::AuthorizationControls]
|
|
69
71
|
# Controls that restrict how this card can be used.
|
|
70
72
|
#
|
|
71
|
-
# @param billing_address [Increase::Models::CardCreateParams::BillingAddress]
|
|
73
|
+
# @param billing_address [Increase::Models::CardCreateParams::BillingAddress]
|
|
74
|
+
# The card's billing address. This is used in card authorizations to
|
|
75
|
+
# [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
|
|
76
|
+
# If not provided, the address associated with the account's entity will be used.
|
|
72
77
|
#
|
|
73
78
|
# @param cardholder_name [Increase::Models::CardCreateParams::CardholderName]
|
|
74
79
|
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
@@ -528,7 +533,9 @@ module Increase
|
|
|
528
533
|
optional :line2, String
|
|
529
534
|
|
|
530
535
|
# @!method initialize(city:, line1:, postal_code:, state:, line2: nil)
|
|
531
|
-
# The card's billing address.
|
|
536
|
+
# The card's billing address. This is used in card authorizations to
|
|
537
|
+
# [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
|
|
538
|
+
# If not provided, the address associated with the account's entity will be used.
|
|
532
539
|
#
|
|
533
540
|
# @param city [String] The city of the billing address.
|
|
534
541
|
#
|