increase 1.362.0 → 1.364.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/client.rb +8 -16
- data/lib/increase/models/account_number.rb +51 -81
- data/lib/increase/models/account_number_create_params.rb +41 -75
- data/lib/increase/models/account_number_list_params.rb +39 -39
- data/lib/increase/models/account_number_update_params.rb +48 -79
- data/lib/increase/models/ach_transfer.rb +38 -23
- data/lib/increase/models/card_payment.rb +6 -0
- data/lib/increase/models/card_update_params.rb +12 -8
- data/lib/increase/models/check_transfer.rb +58 -44
- data/lib/increase/models/check_transfer_create_params.rb +35 -21
- data/lib/increase/models/checkbook.rb +352 -0
- data/lib/increase/models/checkbook_check.rb +100 -0
- data/lib/increase/models/checkbook_check_list_params.rb +61 -0
- data/lib/increase/models/checkbook_check_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_check_stop_params.rb +22 -0
- data/lib/increase/models/checkbook_create_params.rb +111 -0
- data/lib/increase/models/checkbook_list_params.rb +104 -0
- data/lib/increase/models/checkbook_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_stop_params.rb +22 -0
- data/lib/increase/models/declined_transaction.rb +10 -1
- data/lib/increase/models/entity.rb +1 -65
- data/lib/increase/models/entity_create_params.rb +1 -65
- data/lib/increase/models/entity_update_params.rb +1 -57
- data/lib/increase/models/export.rb +12 -1
- data/lib/increase/models/export_create_params.rb +26 -4
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +12 -1
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/inbound_real_time_payments_transfer_return_params.rb +36 -0
- data/lib/increase/models/real_time_decision.rb +65 -1
- data/lib/increase/models/real_time_payments_transfer.rb +21 -1
- data/lib/increase/models/simulations/checkbook_mail_params.rb +24 -0
- data/lib/increase/models/transaction.rb +27 -5
- data/lib/increase/models.rb +21 -20
- data/lib/increase/resources/account_numbers.rb +19 -16
- data/lib/increase/resources/checkbook_checks.rb +90 -0
- data/lib/increase/resources/checkbooks.rb +127 -0
- data/lib/increase/resources/entities.rb +2 -12
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +28 -0
- data/lib/increase/resources/simulations/checkbooks.rb +38 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +14 -14
- data/rbi/increase/client.rbi +6 -12
- data/rbi/increase/models/account_number.rbi +86 -173
- data/rbi/increase/models/account_number_create_params.rbi +87 -165
- data/rbi/increase/models/account_number_list_params.rbi +106 -105
- data/rbi/increase/models/account_number_update_params.rbi +105 -190
- data/rbi/increase/models/ach_transfer.rbi +35 -23
- data/rbi/increase/models/card_payment.rbi +14 -0
- data/rbi/increase/models/card_update_params.rbi +17 -15
- data/rbi/increase/models/check_transfer.rbi +72 -54
- data/rbi/increase/models/check_transfer_create_params.rbi +55 -21
- data/rbi/increase/models/checkbook.rbi +507 -0
- data/rbi/increase/models/checkbook_check.rbi +142 -0
- data/rbi/increase/models/checkbook_check_list_params.rbi +96 -0
- data/rbi/increase/models/{oauth_connection_retrieve_params.rbi → checkbook_check_retrieve_params.rbi} +8 -8
- data/rbi/increase/models/{oauth_application_retrieve_params.rbi → checkbook_check_stop_params.rbi} +8 -11
- data/rbi/increase/models/checkbook_create_params.rbi +178 -0
- data/rbi/increase/models/checkbook_list_params.rbi +198 -0
- data/rbi/increase/models/checkbook_retrieve_params.rbi +40 -0
- data/rbi/increase/models/checkbook_stop_params.rbi +40 -0
- data/rbi/increase/models/declined_transaction.rbi +8 -0
- data/rbi/increase/models/entity.rbi +0 -97
- data/rbi/increase/models/entity_create_params.rbi +0 -119
- data/rbi/increase/models/entity_update_params.rbi +0 -108
- data/rbi/increase/models/export.rbi +15 -3
- data/rbi/increase/models/export_create_params.rbi +27 -3
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +10 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi +61 -0
- data/rbi/increase/models/real_time_decision.rbi +134 -3
- data/rbi/increase/models/real_time_payments_transfer.rbi +18 -0
- data/rbi/increase/models/simulations/checkbook_mail_params.rbi +45 -0
- data/rbi/increase/models/transaction.rbi +33 -3
- data/rbi/increase/models.rbi +21 -22
- data/rbi/increase/resources/account_numbers.rbi +24 -19
- data/rbi/increase/resources/checkbook_checks.rbi +69 -0
- data/rbi/increase/resources/checkbooks.rbi +96 -0
- data/rbi/increase/resources/entities.rbi +0 -11
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +19 -0
- data/rbi/increase/resources/simulations/checkbooks.rbi +30 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +4 -8
- data/sig/increase/models/account_number.rbs +34 -66
- data/sig/increase/models/account_number_create_params.rbs +30 -64
- data/sig/increase/models/account_number_list_params.rbs +44 -44
- data/sig/increase/models/account_number_update_params.rbs +39 -77
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/card_payment.rbs +8 -0
- data/sig/increase/models/card_update_params.rbs +7 -11
- data/sig/increase/models/check_transfer.rbs +59 -49
- data/sig/increase/models/check_transfer_create_params.rbs +20 -12
- data/sig/increase/models/checkbook.rbs +272 -0
- data/sig/increase/models/checkbook_check.rbs +76 -0
- data/sig/increase/models/checkbook_check_list_params.rbs +56 -0
- data/sig/increase/models/{oauth_connection_retrieve_params.rbs → checkbook_check_retrieve_params.rbs} +6 -6
- data/sig/increase/models/{oauth_application_retrieve_params.rbs → checkbook_check_stop_params.rbs} +6 -6
- data/sig/increase/models/checkbook_create_params.rbs +90 -0
- data/sig/increase/models/checkbook_list_params.rbs +97 -0
- data/sig/increase/models/checkbook_retrieve_params.rbs +23 -0
- data/sig/increase/models/checkbook_stop_params.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +5 -0
- data/sig/increase/models/entity.rbs +0 -46
- data/sig/increase/models/entity_create_params.rbs +0 -55
- data/sig/increase/models/entity_update_params.rbs +0 -48
- data/sig/increase/models/export.rbs +13 -3
- data/sig/increase/models/export_create_params.rbs +7 -0
- data/sig/increase/models/inbound_check_deposit.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs +30 -0
- data/sig/increase/models/real_time_decision.rbs +69 -3
- data/sig/increase/models/real_time_payments_transfer.rbs +10 -0
- data/sig/increase/models/simulations/checkbook_mail_params.rbs +25 -0
- data/sig/increase/models/transaction.rbs +26 -5
- data/sig/increase/models.rbs +20 -20
- data/sig/increase/resources/account_numbers.rbs +5 -5
- data/sig/increase/resources/checkbook_checks.rbs +26 -0
- data/sig/increase/resources/checkbooks.rbs +33 -0
- data/sig/increase/resources/entities.rbs +0 -3
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +6 -0
- data/sig/increase/resources/simulations/checkbooks.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +45 -45
- data/lib/increase/models/group.rb +0 -57
- data/lib/increase/models/group_retrieve_params.rb +0 -14
- data/lib/increase/models/oauth_application.rb +0 -111
- data/lib/increase/models/oauth_application_list_params.rb +0 -129
- data/lib/increase/models/oauth_application_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_connection.rb +0 -107
- data/lib/increase/models/oauth_connection_list_params.rb +0 -88
- data/lib/increase/models/oauth_connection_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_token.rb +0 -76
- data/lib/increase/models/oauth_token_create_params.rb +0 -85
- data/lib/increase/resources/groups.rb +0 -32
- data/lib/increase/resources/oauth_applications.rb +0 -68
- data/lib/increase/resources/oauth_connections.rb +0 -70
- data/lib/increase/resources/oauth_tokens.rb +0 -54
- data/rbi/increase/models/group.rbi +0 -74
- data/rbi/increase/models/group_retrieve_params.rbi +0 -27
- data/rbi/increase/models/oauth_application.rbi +0 -146
- data/rbi/increase/models/oauth_application_list_params.rbi +0 -263
- data/rbi/increase/models/oauth_connection.rbi +0 -142
- data/rbi/increase/models/oauth_connection_list_params.rbi +0 -187
- data/rbi/increase/models/oauth_token.rbi +0 -106
- data/rbi/increase/models/oauth_token_create_params.rbi +0 -133
- data/rbi/increase/resources/groups.rbi +0 -21
- data/rbi/increase/resources/oauth_applications.rbi +0 -50
- data/rbi/increase/resources/oauth_connections.rbi +0 -52
- data/rbi/increase/resources/oauth_tokens.rbi +0 -44
- data/sig/increase/models/group.rbs +0 -36
- data/sig/increase/models/group_retrieve_params.rbs +0 -15
- data/sig/increase/models/oauth_application.rbs +0 -74
- data/sig/increase/models/oauth_application_list_params.rbs +0 -123
- data/sig/increase/models/oauth_connection.rbs +0 -74
- data/sig/increase/models/oauth_connection_list_params.rbs +0 -86
- data/sig/increase/models/oauth_token.rbs +0 -55
- data/sig/increase/models/oauth_token_create_params.rbs +0 -68
- data/sig/increase/resources/groups.rbs +0 -11
- data/sig/increase/resources/oauth_applications.rbs +0 -20
- data/sig/increase/resources/oauth_connections.rbs +0 -20
- data/sig/increase/resources/oauth_tokens.rbs +0 -16
|
@@ -73,19 +73,28 @@ module Increase
|
|
|
73
73
|
end
|
|
74
74
|
attr_writer :cancellation
|
|
75
75
|
|
|
76
|
-
#
|
|
76
|
+
# A description of the transfer date (typically `YYMMDD`), sent in the company
|
|
77
|
+
# batch header. This value is informational and does not affect funds movement,
|
|
78
|
+
# settlement timing, or returns.
|
|
77
79
|
sig { returns(T.nilable(String)) }
|
|
78
80
|
attr_accessor :company_descriptive_date
|
|
79
81
|
|
|
80
|
-
#
|
|
82
|
+
# Custom data sent in the company batch header, meant as metadata for the
|
|
83
|
+
# originator. This value is informational and does not affect funds movement,
|
|
84
|
+
# settlement timing, or returns.
|
|
81
85
|
sig { returns(T.nilable(String)) }
|
|
82
86
|
attr_accessor :company_discretionary_data
|
|
83
87
|
|
|
84
|
-
#
|
|
88
|
+
# A short description sent in the company batch header, meant to provide the
|
|
89
|
+
# receiver with a reason for the transfer. Many receivers do not surface this data
|
|
90
|
+
# on the receiver's bank statement.
|
|
85
91
|
sig { returns(T.nilable(String)) }
|
|
86
92
|
attr_accessor :company_entry_description
|
|
87
93
|
|
|
88
|
-
# The
|
|
94
|
+
# The Company ID sent in the batch header, which identifies the originator to the
|
|
95
|
+
# receiving bank. Businesses use this value to allowlist the companies permitted
|
|
96
|
+
# to debit their accounts. This value is configured by Increase and will be the
|
|
97
|
+
# same for all your transfers.
|
|
89
98
|
sig { returns(String) }
|
|
90
99
|
attr_accessor :company_id
|
|
91
100
|
|
|
@@ -173,10 +182,8 @@ module Increase
|
|
|
173
182
|
sig { returns(T.nilable(String)) }
|
|
174
183
|
attr_accessor :pending_transaction_id
|
|
175
184
|
|
|
176
|
-
# Configuration for how the effective date of the transfer
|
|
177
|
-
# determines same-day vs future-dated settlement timing.
|
|
178
|
-
# `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
|
|
179
|
-
# must be set.
|
|
185
|
+
# Configuration for how the effective date of the transfer was set. This
|
|
186
|
+
# determines same-day vs future-dated settlement timing.
|
|
180
187
|
sig { returns(Increase::ACHTransfer::PreferredEffectiveDate) }
|
|
181
188
|
attr_reader :preferred_effective_date
|
|
182
189
|
|
|
@@ -223,7 +230,7 @@ module Increase
|
|
|
223
230
|
attr_accessor :standard_entry_class_code
|
|
224
231
|
|
|
225
232
|
# The descriptor that will show on the recipient's bank statement.
|
|
226
|
-
sig { returns(String) }
|
|
233
|
+
sig { returns(T.nilable(String)) }
|
|
227
234
|
attr_accessor :statement_descriptor
|
|
228
235
|
|
|
229
236
|
# The lifecycle status of the transfer.
|
|
@@ -295,7 +302,7 @@ module Increase
|
|
|
295
302
|
settlement: T.nilable(Increase::ACHTransfer::Settlement::OrHash),
|
|
296
303
|
standard_entry_class_code:
|
|
297
304
|
Increase::ACHTransfer::StandardEntryClassCode::OrSymbol,
|
|
298
|
-
statement_descriptor: String,
|
|
305
|
+
statement_descriptor: T.nilable(String),
|
|
299
306
|
status: Increase::ACHTransfer::Status::OrSymbol,
|
|
300
307
|
submission: T.nilable(Increase::ACHTransfer::Submission::OrHash),
|
|
301
308
|
transaction_id: T.nilable(String),
|
|
@@ -325,13 +332,22 @@ module Increase
|
|
|
325
332
|
# If your account requires approvals for transfers and the transfer was not
|
|
326
333
|
# approved, this will contain details of the cancellation.
|
|
327
334
|
cancellation:,
|
|
328
|
-
#
|
|
335
|
+
# A description of the transfer date (typically `YYMMDD`), sent in the company
|
|
336
|
+
# batch header. This value is informational and does not affect funds movement,
|
|
337
|
+
# settlement timing, or returns.
|
|
329
338
|
company_descriptive_date:,
|
|
330
|
-
#
|
|
339
|
+
# Custom data sent in the company batch header, meant as metadata for the
|
|
340
|
+
# originator. This value is informational and does not affect funds movement,
|
|
341
|
+
# settlement timing, or returns.
|
|
331
342
|
company_discretionary_data:,
|
|
332
|
-
#
|
|
343
|
+
# A short description sent in the company batch header, meant to provide the
|
|
344
|
+
# receiver with a reason for the transfer. Many receivers do not surface this data
|
|
345
|
+
# on the receiver's bank statement.
|
|
333
346
|
company_entry_description:,
|
|
334
|
-
# The
|
|
347
|
+
# The Company ID sent in the batch header, which identifies the originator to the
|
|
348
|
+
# receiving bank. Businesses use this value to allowlist the companies permitted
|
|
349
|
+
# to debit their accounts. This value is configured by Increase and will be the
|
|
350
|
+
# same for all your transfers.
|
|
335
351
|
company_id:,
|
|
336
352
|
# The name by which the recipient knows you.
|
|
337
353
|
company_name:,
|
|
@@ -372,10 +388,8 @@ module Increase
|
|
|
372
388
|
# [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
|
|
373
389
|
# by someone else in your organization.
|
|
374
390
|
pending_transaction_id:,
|
|
375
|
-
# Configuration for how the effective date of the transfer
|
|
376
|
-
# determines same-day vs future-dated settlement timing.
|
|
377
|
-
# `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
|
|
378
|
-
# must be set.
|
|
391
|
+
# Configuration for how the effective date of the transfer was set. This
|
|
392
|
+
# determines same-day vs future-dated settlement timing.
|
|
379
393
|
preferred_effective_date:,
|
|
380
394
|
# If your transfer is returned, this will contain details of the return.
|
|
381
395
|
return_:,
|
|
@@ -446,7 +460,7 @@ module Increase
|
|
|
446
460
|
settlement: T.nilable(Increase::ACHTransfer::Settlement),
|
|
447
461
|
standard_entry_class_code:
|
|
448
462
|
Increase::ACHTransfer::StandardEntryClassCode::TaggedSymbol,
|
|
449
|
-
statement_descriptor: String,
|
|
463
|
+
statement_descriptor: T.nilable(String),
|
|
450
464
|
status: Increase::ACHTransfer::Status::TaggedSymbol,
|
|
451
465
|
submission: T.nilable(Increase::ACHTransfer::Submission),
|
|
452
466
|
transaction_id: T.nilable(String),
|
|
@@ -1730,10 +1744,8 @@ module Increase
|
|
|
1730
1744
|
end
|
|
1731
1745
|
attr_accessor :settlement_schedule
|
|
1732
1746
|
|
|
1733
|
-
# Configuration for how the effective date of the transfer
|
|
1734
|
-
# determines same-day vs future-dated settlement timing.
|
|
1735
|
-
# `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
|
|
1736
|
-
# must be set.
|
|
1747
|
+
# Configuration for how the effective date of the transfer was set. This
|
|
1748
|
+
# determines same-day vs future-dated settlement timing.
|
|
1737
1749
|
sig do
|
|
1738
1750
|
params(
|
|
1739
1751
|
date: T.nilable(Date),
|
|
@@ -18362,6 +18362,13 @@ module Increase
|
|
|
18362
18362
|
Increase::CardPayment::Element::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
18363
18363
|
)
|
|
18364
18364
|
|
|
18365
|
+
# Diesel 1 off-road non-taxable
|
|
18366
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE =
|
|
18367
|
+
T.let(
|
|
18368
|
+
:diesel_1_off_road_non_taxable,
|
|
18369
|
+
Increase::CardPayment::Element::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
18370
|
+
)
|
|
18371
|
+
|
|
18365
18372
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
18366
18373
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
|
|
18367
18374
|
T.let(
|
|
@@ -23209,6 +23216,13 @@ module Increase
|
|
|
23209
23216
|
Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
23210
23217
|
)
|
|
23211
23218
|
|
|
23219
|
+
# Diesel 1 off-road non-taxable
|
|
23220
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE =
|
|
23221
|
+
T.let(
|
|
23222
|
+
:diesel_1_off_road_non_taxable,
|
|
23223
|
+
Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
23224
|
+
)
|
|
23225
|
+
|
|
23212
23226
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
23213
23227
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
|
|
23214
23228
|
T.let(
|
|
@@ -1282,21 +1282,17 @@ module Increase
|
|
|
1282
1282
|
attr_writer :digital_card_profile_id
|
|
1283
1283
|
|
|
1284
1284
|
# An email address that can be used to verify the cardholder via one-time passcode
|
|
1285
|
-
# over email.
|
|
1285
|
+
# over email. Send `null` to clear the email address. Omit this field to leave it
|
|
1286
|
+
# unchanged.
|
|
1286
1287
|
sig { returns(T.nilable(String)) }
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
sig { params(email: String).void }
|
|
1290
|
-
attr_writer :email
|
|
1288
|
+
attr_accessor :email
|
|
1291
1289
|
|
|
1292
1290
|
# A phone number that can be used to verify the cardholder via one-time passcode
|
|
1293
1291
|
# over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
|
|
1294
|
-
# `(415) 555-0123`.
|
|
1292
|
+
# `(415) 555-0123`. Send `null` to clear the phone number. Omit this field to
|
|
1293
|
+
# leave it unchanged.
|
|
1295
1294
|
sig { returns(T.nilable(String)) }
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
sig { params(phone: String).void }
|
|
1299
|
-
attr_writer :phone
|
|
1295
|
+
attr_accessor :phone
|
|
1300
1296
|
|
|
1301
1297
|
# The contact information used in the two-factor steps for digital wallet card
|
|
1302
1298
|
# creation. At least one field must be present to complete the digital wallet
|
|
@@ -1304,26 +1300,32 @@ module Increase
|
|
|
1304
1300
|
sig do
|
|
1305
1301
|
params(
|
|
1306
1302
|
digital_card_profile_id: String,
|
|
1307
|
-
email: String,
|
|
1308
|
-
phone: String
|
|
1303
|
+
email: T.nilable(String),
|
|
1304
|
+
phone: T.nilable(String)
|
|
1309
1305
|
).returns(T.attached_class)
|
|
1310
1306
|
end
|
|
1311
1307
|
def self.new(
|
|
1312
1308
|
# The digital card profile assigned to this digital card.
|
|
1313
1309
|
digital_card_profile_id: nil,
|
|
1314
1310
|
# An email address that can be used to verify the cardholder via one-time passcode
|
|
1315
|
-
# over email.
|
|
1311
|
+
# over email. Send `null` to clear the email address. Omit this field to leave it
|
|
1312
|
+
# unchanged.
|
|
1316
1313
|
email: nil,
|
|
1317
1314
|
# A phone number that can be used to verify the cardholder via one-time passcode
|
|
1318
1315
|
# over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
|
|
1319
|
-
# `(415) 555-0123`.
|
|
1316
|
+
# `(415) 555-0123`. Send `null` to clear the phone number. Omit this field to
|
|
1317
|
+
# leave it unchanged.
|
|
1320
1318
|
phone: nil
|
|
1321
1319
|
)
|
|
1322
1320
|
end
|
|
1323
1321
|
|
|
1324
1322
|
sig do
|
|
1325
1323
|
override.returns(
|
|
1326
|
-
{
|
|
1324
|
+
{
|
|
1325
|
+
digital_card_profile_id: String,
|
|
1326
|
+
email: T.nilable(String),
|
|
1327
|
+
phone: T.nilable(String)
|
|
1328
|
+
}
|
|
1327
1329
|
)
|
|
1328
1330
|
end
|
|
1329
1331
|
def to_hash
|
|
@@ -790,8 +790,13 @@ module Increase
|
|
|
790
790
|
sig { returns(T.nilable(String)) }
|
|
791
791
|
attr_accessor :note
|
|
792
792
|
|
|
793
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
794
|
+
# of the check.
|
|
795
|
+
sig { returns(T::Array[Increase::CheckTransfer::PhysicalCheck::Payee]) }
|
|
796
|
+
attr_accessor :payee
|
|
797
|
+
|
|
793
798
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
794
|
-
# check
|
|
799
|
+
# check.
|
|
795
800
|
sig { returns(T::Array[Increase::CheckTransfer::PhysicalCheck::Payer]) }
|
|
796
801
|
attr_accessor :payer
|
|
797
802
|
|
|
@@ -799,24 +804,14 @@ module Increase
|
|
|
799
804
|
sig { returns(T.nilable(String)) }
|
|
800
805
|
attr_accessor :physical_check_batch_id
|
|
801
806
|
|
|
802
|
-
# The name that will be printed on the check.
|
|
803
|
-
sig { returns(String) }
|
|
804
|
-
attr_accessor :recipient_name
|
|
805
|
-
|
|
806
807
|
# The return address to be printed on the check.
|
|
807
|
-
sig
|
|
808
|
-
returns(
|
|
809
|
-
T.nilable(Increase::CheckTransfer::PhysicalCheck::ReturnAddress)
|
|
810
|
-
)
|
|
811
|
-
end
|
|
808
|
+
sig { returns(Increase::CheckTransfer::PhysicalCheck::ReturnAddress) }
|
|
812
809
|
attr_reader :return_address
|
|
813
810
|
|
|
814
811
|
sig do
|
|
815
812
|
params(
|
|
816
813
|
return_address:
|
|
817
|
-
|
|
818
|
-
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
|
|
819
|
-
)
|
|
814
|
+
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
|
|
820
815
|
).void
|
|
821
816
|
end
|
|
822
817
|
attr_writer :return_address
|
|
@@ -863,14 +858,13 @@ module Increase
|
|
|
863
858
|
Increase::CheckTransfer::PhysicalCheck::MailingAddress::OrHash,
|
|
864
859
|
memo: T.nilable(String),
|
|
865
860
|
note: T.nilable(String),
|
|
861
|
+
payee:
|
|
862
|
+
T::Array[Increase::CheckTransfer::PhysicalCheck::Payee::OrHash],
|
|
866
863
|
payer:
|
|
867
864
|
T::Array[Increase::CheckTransfer::PhysicalCheck::Payer::OrHash],
|
|
868
865
|
physical_check_batch_id: T.nilable(String),
|
|
869
|
-
recipient_name: String,
|
|
870
866
|
return_address:
|
|
871
|
-
|
|
872
|
-
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
|
|
873
|
-
),
|
|
867
|
+
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash,
|
|
874
868
|
return_address_name: T.nilable(String),
|
|
875
869
|
shipping_method:
|
|
876
870
|
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol,
|
|
@@ -893,13 +887,14 @@ module Increase
|
|
|
893
887
|
memo:,
|
|
894
888
|
# The descriptor that will be printed on the letter included with the check.
|
|
895
889
|
note:,
|
|
890
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
891
|
+
# of the check.
|
|
892
|
+
payee:,
|
|
896
893
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
897
|
-
# check
|
|
894
|
+
# check.
|
|
898
895
|
payer:,
|
|
899
896
|
# The identifier of the Physical Check Batch that this check is a part of.
|
|
900
897
|
physical_check_batch_id:,
|
|
901
|
-
# The name that will be printed on the check.
|
|
902
|
-
recipient_name:,
|
|
903
898
|
# The return address to be printed on the check.
|
|
904
899
|
return_address:,
|
|
905
900
|
# A custom name printed above the Increase-managed return address.
|
|
@@ -923,13 +918,11 @@ module Increase
|
|
|
923
918
|
Increase::CheckTransfer::PhysicalCheck::MailingAddress,
|
|
924
919
|
memo: T.nilable(String),
|
|
925
920
|
note: T.nilable(String),
|
|
921
|
+
payee: T::Array[Increase::CheckTransfer::PhysicalCheck::Payee],
|
|
926
922
|
payer: T::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
|
|
927
923
|
physical_check_batch_id: T.nilable(String),
|
|
928
|
-
recipient_name: String,
|
|
929
924
|
return_address:
|
|
930
|
-
|
|
931
|
-
Increase::CheckTransfer::PhysicalCheck::ReturnAddress
|
|
932
|
-
),
|
|
925
|
+
Increase::CheckTransfer::PhysicalCheck::ReturnAddress,
|
|
933
926
|
return_address_name: T.nilable(String),
|
|
934
927
|
shipping_method:
|
|
935
928
|
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol,
|
|
@@ -952,11 +945,11 @@ module Increase
|
|
|
952
945
|
end
|
|
953
946
|
|
|
954
947
|
# The city of the check's destination.
|
|
955
|
-
sig { returns(
|
|
948
|
+
sig { returns(String) }
|
|
956
949
|
attr_accessor :city
|
|
957
950
|
|
|
958
951
|
# The street address of the check's destination.
|
|
959
|
-
sig { returns(
|
|
952
|
+
sig { returns(String) }
|
|
960
953
|
attr_accessor :line1
|
|
961
954
|
|
|
962
955
|
# The second line of the address of the check's destination.
|
|
@@ -964,7 +957,7 @@ module Increase
|
|
|
964
957
|
attr_accessor :line2
|
|
965
958
|
|
|
966
959
|
# The name component of the check's mailing address.
|
|
967
|
-
sig { returns(
|
|
960
|
+
sig { returns(String) }
|
|
968
961
|
attr_accessor :name
|
|
969
962
|
|
|
970
963
|
# The phone number to be used in case of delivery issues at the check's mailing
|
|
@@ -973,23 +966,23 @@ module Increase
|
|
|
973
966
|
attr_accessor :phone
|
|
974
967
|
|
|
975
968
|
# The postal code of the check's destination.
|
|
976
|
-
sig { returns(
|
|
969
|
+
sig { returns(String) }
|
|
977
970
|
attr_accessor :postal_code
|
|
978
971
|
|
|
979
972
|
# The state of the check's destination.
|
|
980
|
-
sig { returns(
|
|
973
|
+
sig { returns(String) }
|
|
981
974
|
attr_accessor :state
|
|
982
975
|
|
|
983
976
|
# Details for where Increase will mail the check.
|
|
984
977
|
sig do
|
|
985
978
|
params(
|
|
986
|
-
city:
|
|
987
|
-
line1:
|
|
979
|
+
city: String,
|
|
980
|
+
line1: String,
|
|
988
981
|
line2: T.nilable(String),
|
|
989
|
-
name:
|
|
982
|
+
name: String,
|
|
990
983
|
phone: T.nilable(String),
|
|
991
|
-
postal_code:
|
|
992
|
-
state:
|
|
984
|
+
postal_code: String,
|
|
985
|
+
state: String
|
|
993
986
|
).returns(T.attached_class)
|
|
994
987
|
end
|
|
995
988
|
def self.new(
|
|
@@ -1014,13 +1007,13 @@ module Increase
|
|
|
1014
1007
|
sig do
|
|
1015
1008
|
override.returns(
|
|
1016
1009
|
{
|
|
1017
|
-
city:
|
|
1018
|
-
line1:
|
|
1010
|
+
city: String,
|
|
1011
|
+
line1: String,
|
|
1019
1012
|
line2: T.nilable(String),
|
|
1020
|
-
name:
|
|
1013
|
+
name: String,
|
|
1021
1014
|
phone: T.nilable(String),
|
|
1022
|
-
postal_code:
|
|
1023
|
-
state:
|
|
1015
|
+
postal_code: String,
|
|
1016
|
+
state: String
|
|
1024
1017
|
}
|
|
1025
1018
|
)
|
|
1026
1019
|
end
|
|
@@ -1028,6 +1021,31 @@ module Increase
|
|
|
1028
1021
|
end
|
|
1029
1022
|
end
|
|
1030
1023
|
|
|
1024
|
+
class Payee < Increase::Internal::Type::BaseModel
|
|
1025
|
+
OrHash =
|
|
1026
|
+
T.type_alias do
|
|
1027
|
+
T.any(
|
|
1028
|
+
Increase::CheckTransfer::PhysicalCheck::Payee,
|
|
1029
|
+
Increase::Internal::AnyHash
|
|
1030
|
+
)
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1033
|
+
# The contents of the line.
|
|
1034
|
+
sig { returns(String) }
|
|
1035
|
+
attr_accessor :contents
|
|
1036
|
+
|
|
1037
|
+
sig { params(contents: String).returns(T.attached_class) }
|
|
1038
|
+
def self.new(
|
|
1039
|
+
# The contents of the line.
|
|
1040
|
+
contents:
|
|
1041
|
+
)
|
|
1042
|
+
end
|
|
1043
|
+
|
|
1044
|
+
sig { override.returns({ contents: String }) }
|
|
1045
|
+
def to_hash
|
|
1046
|
+
end
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1031
1049
|
class Payer < Increase::Internal::Type::BaseModel
|
|
1032
1050
|
OrHash =
|
|
1033
1051
|
T.type_alias do
|
|
@@ -1063,11 +1081,11 @@ module Increase
|
|
|
1063
1081
|
end
|
|
1064
1082
|
|
|
1065
1083
|
# The city of the check's destination.
|
|
1066
|
-
sig { returns(
|
|
1084
|
+
sig { returns(String) }
|
|
1067
1085
|
attr_accessor :city
|
|
1068
1086
|
|
|
1069
1087
|
# The street address of the check's destination.
|
|
1070
|
-
sig { returns(
|
|
1088
|
+
sig { returns(String) }
|
|
1071
1089
|
attr_accessor :line1
|
|
1072
1090
|
|
|
1073
1091
|
# The second line of the address of the check's destination.
|
|
@@ -1075,7 +1093,7 @@ module Increase
|
|
|
1075
1093
|
attr_accessor :line2
|
|
1076
1094
|
|
|
1077
1095
|
# The name component of the check's return address.
|
|
1078
|
-
sig { returns(
|
|
1096
|
+
sig { returns(String) }
|
|
1079
1097
|
attr_accessor :name
|
|
1080
1098
|
|
|
1081
1099
|
# The shipper's phone number to be used in case of delivery issues. Only used for
|
|
@@ -1084,23 +1102,23 @@ module Increase
|
|
|
1084
1102
|
attr_accessor :phone
|
|
1085
1103
|
|
|
1086
1104
|
# The postal code of the check's destination.
|
|
1087
|
-
sig { returns(
|
|
1105
|
+
sig { returns(String) }
|
|
1088
1106
|
attr_accessor :postal_code
|
|
1089
1107
|
|
|
1090
1108
|
# The state of the check's destination.
|
|
1091
|
-
sig { returns(
|
|
1109
|
+
sig { returns(String) }
|
|
1092
1110
|
attr_accessor :state
|
|
1093
1111
|
|
|
1094
1112
|
# The return address to be printed on the check.
|
|
1095
1113
|
sig do
|
|
1096
1114
|
params(
|
|
1097
|
-
city:
|
|
1098
|
-
line1:
|
|
1115
|
+
city: String,
|
|
1116
|
+
line1: String,
|
|
1099
1117
|
line2: T.nilable(String),
|
|
1100
|
-
name:
|
|
1118
|
+
name: String,
|
|
1101
1119
|
phone: T.nilable(String),
|
|
1102
|
-
postal_code:
|
|
1103
|
-
state:
|
|
1120
|
+
postal_code: String,
|
|
1121
|
+
state: String
|
|
1104
1122
|
).returns(T.attached_class)
|
|
1105
1123
|
end
|
|
1106
1124
|
def self.new(
|
|
@@ -1125,13 +1143,13 @@ module Increase
|
|
|
1125
1143
|
sig do
|
|
1126
1144
|
override.returns(
|
|
1127
1145
|
{
|
|
1128
|
-
city:
|
|
1129
|
-
line1:
|
|
1146
|
+
city: String,
|
|
1147
|
+
line1: String,
|
|
1130
1148
|
line2: T.nilable(String),
|
|
1131
|
-
name:
|
|
1149
|
+
name: String,
|
|
1132
1150
|
phone: T.nilable(String),
|
|
1133
|
-
postal_code:
|
|
1134
|
-
state:
|
|
1151
|
+
postal_code: String,
|
|
1152
|
+
state: String
|
|
1135
1153
|
}
|
|
1136
1154
|
)
|
|
1137
1155
|
end
|
|
@@ -289,6 +289,16 @@ module Increase
|
|
|
289
289
|
sig { returns(String) }
|
|
290
290
|
attr_accessor :memo
|
|
291
291
|
|
|
292
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
293
|
+
# of the check. This should be an array of up to 4 elements, each of which
|
|
294
|
+
# represents a line of the payee.
|
|
295
|
+
sig do
|
|
296
|
+
returns(
|
|
297
|
+
T::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payee]
|
|
298
|
+
)
|
|
299
|
+
end
|
|
300
|
+
attr_accessor :payee
|
|
301
|
+
|
|
292
302
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
293
303
|
# check. This should be an array of up to 4 elements, each of which represents a
|
|
294
304
|
# line of the payer.
|
|
@@ -299,10 +309,6 @@ module Increase
|
|
|
299
309
|
end
|
|
300
310
|
attr_accessor :payer
|
|
301
311
|
|
|
302
|
-
# The name that will be printed on the check in the 'To:' field.
|
|
303
|
-
sig { returns(String) }
|
|
304
|
-
attr_accessor :recipient_name
|
|
305
|
-
|
|
306
312
|
# The ID of a File to be attached to the check. This must have
|
|
307
313
|
# `purpose: check_attachment`. For details on pricing and restrictions, see
|
|
308
314
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
@@ -412,11 +418,14 @@ module Increase
|
|
|
412
418
|
mailing_address:
|
|
413
419
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress::OrHash,
|
|
414
420
|
memo: String,
|
|
421
|
+
payee:
|
|
422
|
+
T::Array[
|
|
423
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee::OrHash
|
|
424
|
+
],
|
|
415
425
|
payer:
|
|
416
426
|
T::Array[
|
|
417
427
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
|
|
418
428
|
],
|
|
419
|
-
recipient_name: String,
|
|
420
429
|
attachment_file_id: String,
|
|
421
430
|
check_voucher_image_file_id: String,
|
|
422
431
|
note: String,
|
|
@@ -436,12 +445,14 @@ module Increase
|
|
|
436
445
|
mailing_address:,
|
|
437
446
|
# The descriptor that will be printed on the memo field on the check.
|
|
438
447
|
memo:,
|
|
448
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
449
|
+
# of the check. This should be an array of up to 4 elements, each of which
|
|
450
|
+
# represents a line of the payee.
|
|
451
|
+
payee:,
|
|
439
452
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
440
453
|
# check. This should be an array of up to 4 elements, each of which represents a
|
|
441
454
|
# line of the payer.
|
|
442
455
|
payer:,
|
|
443
|
-
# The name that will be printed on the check in the 'To:' field.
|
|
444
|
-
recipient_name:,
|
|
445
456
|
# The ID of a File to be attached to the check. This must have
|
|
446
457
|
# `purpose: check_attachment`. For details on pricing and restrictions, see
|
|
447
458
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
@@ -479,11 +490,14 @@ module Increase
|
|
|
479
490
|
mailing_address:
|
|
480
491
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress,
|
|
481
492
|
memo: String,
|
|
493
|
+
payee:
|
|
494
|
+
T::Array[
|
|
495
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee
|
|
496
|
+
],
|
|
482
497
|
payer:
|
|
483
498
|
T::Array[
|
|
484
499
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer
|
|
485
500
|
],
|
|
486
|
-
recipient_name: String,
|
|
487
501
|
attachment_file_id: String,
|
|
488
502
|
check_voucher_image_file_id: String,
|
|
489
503
|
note: String,
|
|
@@ -518,6 +532,10 @@ module Increase
|
|
|
518
532
|
sig { returns(String) }
|
|
519
533
|
attr_accessor :line1
|
|
520
534
|
|
|
535
|
+
# The name component of the check's destination address.
|
|
536
|
+
sig { returns(String) }
|
|
537
|
+
attr_accessor :name
|
|
538
|
+
|
|
521
539
|
# The postal code component of the check's destination address.
|
|
522
540
|
sig { returns(String) }
|
|
523
541
|
attr_accessor :postal_code
|
|
@@ -533,14 +551,6 @@ module Increase
|
|
|
533
551
|
sig { params(line2: String).void }
|
|
534
552
|
attr_writer :line2
|
|
535
553
|
|
|
536
|
-
# The name component of the check's destination address. Defaults to the provided
|
|
537
|
-
# `recipient_name` parameter if `name` is not provided.
|
|
538
|
-
sig { returns(T.nilable(String)) }
|
|
539
|
-
attr_reader :name
|
|
540
|
-
|
|
541
|
-
sig { params(name: String).void }
|
|
542
|
-
attr_writer :name
|
|
543
|
-
|
|
544
554
|
# The phone number to associate with the check's destination address. The phone
|
|
545
555
|
# number is only used when `shipping_method` is `fedex_overnight` and will be
|
|
546
556
|
# supplied to FedEx to be used in case of delivery issues.
|
|
@@ -556,10 +566,10 @@ module Increase
|
|
|
556
566
|
params(
|
|
557
567
|
city: String,
|
|
558
568
|
line1: String,
|
|
569
|
+
name: String,
|
|
559
570
|
postal_code: String,
|
|
560
571
|
state: String,
|
|
561
572
|
line2: String,
|
|
562
|
-
name: String,
|
|
563
573
|
phone: String
|
|
564
574
|
).returns(T.attached_class)
|
|
565
575
|
end
|
|
@@ -568,15 +578,14 @@ module Increase
|
|
|
568
578
|
city:,
|
|
569
579
|
# The first line of the address component of the check's destination address.
|
|
570
580
|
line1:,
|
|
581
|
+
# The name component of the check's destination address.
|
|
582
|
+
name:,
|
|
571
583
|
# The postal code component of the check's destination address.
|
|
572
584
|
postal_code:,
|
|
573
585
|
# The US state component of the check's destination address.
|
|
574
586
|
state:,
|
|
575
587
|
# The second line of the address component of the check's destination address.
|
|
576
588
|
line2: nil,
|
|
577
|
-
# The name component of the check's destination address. Defaults to the provided
|
|
578
|
-
# `recipient_name` parameter if `name` is not provided.
|
|
579
|
-
name: nil,
|
|
580
589
|
# The phone number to associate with the check's destination address. The phone
|
|
581
590
|
# number is only used when `shipping_method` is `fedex_overnight` and will be
|
|
582
591
|
# supplied to FedEx to be used in case of delivery issues.
|
|
@@ -589,10 +598,10 @@ module Increase
|
|
|
589
598
|
{
|
|
590
599
|
city: String,
|
|
591
600
|
line1: String,
|
|
601
|
+
name: String,
|
|
592
602
|
postal_code: String,
|
|
593
603
|
state: String,
|
|
594
604
|
line2: String,
|
|
595
|
-
name: String,
|
|
596
605
|
phone: String
|
|
597
606
|
}
|
|
598
607
|
)
|
|
@@ -601,6 +610,31 @@ module Increase
|
|
|
601
610
|
end
|
|
602
611
|
end
|
|
603
612
|
|
|
613
|
+
class Payee < Increase::Internal::Type::BaseModel
|
|
614
|
+
OrHash =
|
|
615
|
+
T.type_alias do
|
|
616
|
+
T.any(
|
|
617
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee,
|
|
618
|
+
Increase::Internal::AnyHash
|
|
619
|
+
)
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# The contents of the line.
|
|
623
|
+
sig { returns(String) }
|
|
624
|
+
attr_accessor :contents
|
|
625
|
+
|
|
626
|
+
sig { params(contents: String).returns(T.attached_class) }
|
|
627
|
+
def self.new(
|
|
628
|
+
# The contents of the line.
|
|
629
|
+
contents:
|
|
630
|
+
)
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
sig { override.returns({ contents: String }) }
|
|
634
|
+
def to_hash
|
|
635
|
+
end
|
|
636
|
+
end
|
|
637
|
+
|
|
604
638
|
class Payer < Increase::Internal::Type::BaseModel
|
|
605
639
|
OrHash =
|
|
606
640
|
T.type_alias do
|