increase 1.328.0 → 1.330.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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_prenotification.rb +53 -10
- data/lib/increase/models/ach_transfer.rb +53 -10
- data/lib/increase/models/beneficial_owner_update_params.rb +26 -1
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +36 -74
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/simulations/ach_transfers.rb +8 -4
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +91 -15
- data/rbi/increase/models/ach_transfer.rbi +91 -15
- data/rbi/increase/models/beneficial_owner_update_params.rbi +62 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +67 -144
- data/rbi/increase/resources/beneficial_owners.rbi +7 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +13 -7
- data/sig/increase/models/ach_prenotification.rbs +36 -4
- data/sig/increase/models/ach_transfer.rbs +36 -4
- data/sig/increase/models/beneficial_owner_update_params.rbs +24 -1
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +38 -85
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +4 -2
- metadata +2 -2
|
@@ -1410,13 +1410,28 @@ module Increase
|
|
|
1410
1410
|
end
|
|
1411
1411
|
attr_accessor :change_code
|
|
1412
1412
|
|
|
1413
|
-
# The corrected
|
|
1414
|
-
#
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1413
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
1414
|
+
# account. This is derived from the corrected transaction code.
|
|
1415
|
+
sig do
|
|
1416
|
+
returns(
|
|
1417
|
+
T.nilable(
|
|
1418
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1419
|
+
)
|
|
1420
|
+
)
|
|
1421
|
+
end
|
|
1422
|
+
attr_accessor :corrected_account_funding
|
|
1423
|
+
|
|
1424
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
1425
|
+
sig { returns(T.nilable(String)) }
|
|
1426
|
+
attr_accessor :corrected_account_number
|
|
1427
|
+
|
|
1428
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
1429
|
+
sig { returns(T.nilable(String)) }
|
|
1430
|
+
attr_accessor :corrected_individual_id
|
|
1431
|
+
|
|
1432
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
1433
|
+
sig { returns(T.nilable(String)) }
|
|
1434
|
+
attr_accessor :corrected_routing_number
|
|
1420
1435
|
|
|
1421
1436
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1422
1437
|
# the notification occurred.
|
|
@@ -1427,7 +1442,13 @@ module Increase
|
|
|
1427
1442
|
params(
|
|
1428
1443
|
change_code:
|
|
1429
1444
|
Increase::ACHTransfer::NotificationsOfChange::ChangeCode::OrSymbol,
|
|
1430
|
-
|
|
1445
|
+
corrected_account_funding:
|
|
1446
|
+
T.nilable(
|
|
1447
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::OrSymbol
|
|
1448
|
+
),
|
|
1449
|
+
corrected_account_number: T.nilable(String),
|
|
1450
|
+
corrected_individual_id: T.nilable(String),
|
|
1451
|
+
corrected_routing_number: T.nilable(String),
|
|
1431
1452
|
created_at: Time
|
|
1432
1453
|
).returns(T.attached_class)
|
|
1433
1454
|
end
|
|
@@ -1435,12 +1456,15 @@ module Increase
|
|
|
1435
1456
|
# The required type of change that is being signaled by the receiving financial
|
|
1436
1457
|
# institution.
|
|
1437
1458
|
change_code:,
|
|
1438
|
-
# The corrected
|
|
1439
|
-
#
|
|
1440
|
-
|
|
1441
|
-
#
|
|
1442
|
-
|
|
1443
|
-
|
|
1459
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
1460
|
+
# account. This is derived from the corrected transaction code.
|
|
1461
|
+
corrected_account_funding:,
|
|
1462
|
+
# The corrected account number that should be used in future ACHs to this account.
|
|
1463
|
+
corrected_account_number:,
|
|
1464
|
+
# The corrected individual identifier that should be used in future ACHs.
|
|
1465
|
+
corrected_individual_id:,
|
|
1466
|
+
# The corrected routing number that should be used in future ACHs to this account.
|
|
1467
|
+
corrected_routing_number:,
|
|
1444
1468
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1445
1469
|
# the notification occurred.
|
|
1446
1470
|
created_at:
|
|
@@ -1452,7 +1476,13 @@ module Increase
|
|
|
1452
1476
|
{
|
|
1453
1477
|
change_code:
|
|
1454
1478
|
Increase::ACHTransfer::NotificationsOfChange::ChangeCode::TaggedSymbol,
|
|
1455
|
-
|
|
1479
|
+
corrected_account_funding:
|
|
1480
|
+
T.nilable(
|
|
1481
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1482
|
+
),
|
|
1483
|
+
corrected_account_number: T.nilable(String),
|
|
1484
|
+
corrected_individual_id: T.nilable(String),
|
|
1485
|
+
corrected_routing_number: T.nilable(String),
|
|
1456
1486
|
created_at: Time
|
|
1457
1487
|
}
|
|
1458
1488
|
)
|
|
@@ -1617,6 +1647,52 @@ module Increase
|
|
|
1617
1647
|
def self.values
|
|
1618
1648
|
end
|
|
1619
1649
|
end
|
|
1650
|
+
|
|
1651
|
+
# The corrected account funding type that should be used in future ACHs to this
|
|
1652
|
+
# account. This is derived from the corrected transaction code.
|
|
1653
|
+
module CorrectedAccountFunding
|
|
1654
|
+
extend Increase::Internal::Type::Enum
|
|
1655
|
+
|
|
1656
|
+
TaggedSymbol =
|
|
1657
|
+
T.type_alias do
|
|
1658
|
+
T.all(
|
|
1659
|
+
Symbol,
|
|
1660
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding
|
|
1661
|
+
)
|
|
1662
|
+
end
|
|
1663
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1664
|
+
|
|
1665
|
+
# A checking account.
|
|
1666
|
+
CHECKING =
|
|
1667
|
+
T.let(
|
|
1668
|
+
:checking,
|
|
1669
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1670
|
+
)
|
|
1671
|
+
|
|
1672
|
+
# A savings account.
|
|
1673
|
+
SAVINGS =
|
|
1674
|
+
T.let(
|
|
1675
|
+
:savings,
|
|
1676
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1677
|
+
)
|
|
1678
|
+
|
|
1679
|
+
# A bank's general ledger. Uncommon.
|
|
1680
|
+
GENERAL_LEDGER =
|
|
1681
|
+
T.let(
|
|
1682
|
+
:general_ledger,
|
|
1683
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1684
|
+
)
|
|
1685
|
+
|
|
1686
|
+
sig do
|
|
1687
|
+
override.returns(
|
|
1688
|
+
T::Array[
|
|
1689
|
+
Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
|
|
1690
|
+
]
|
|
1691
|
+
)
|
|
1692
|
+
end
|
|
1693
|
+
def self.values
|
|
1694
|
+
end
|
|
1695
|
+
end
|
|
1620
1696
|
end
|
|
1621
1697
|
|
|
1622
1698
|
class PreferredEffectiveDate < Increase::Internal::Type::BaseModel
|
|
@@ -63,6 +63,27 @@ module Increase
|
|
|
63
63
|
sig { params(name: String).void }
|
|
64
64
|
attr_writer :name
|
|
65
65
|
|
|
66
|
+
# Why this person is considered a beneficial owner of the entity. At least one
|
|
67
|
+
# option is required, if a person is both a control person and owner, submit an
|
|
68
|
+
# array containing both. Providing this replaces the beneficial owner's current
|
|
69
|
+
# prongs.
|
|
70
|
+
sig do
|
|
71
|
+
returns(
|
|
72
|
+
T.nilable(
|
|
73
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol]
|
|
74
|
+
)
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
attr_reader :prongs
|
|
78
|
+
|
|
79
|
+
sig do
|
|
80
|
+
params(
|
|
81
|
+
prongs:
|
|
82
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol]
|
|
83
|
+
).void
|
|
84
|
+
end
|
|
85
|
+
attr_writer :prongs
|
|
86
|
+
|
|
66
87
|
sig do
|
|
67
88
|
params(
|
|
68
89
|
entity_beneficial_owner_id: String,
|
|
@@ -71,6 +92,8 @@ module Increase
|
|
|
71
92
|
identification:
|
|
72
93
|
Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
|
|
73
94
|
name: String,
|
|
95
|
+
prongs:
|
|
96
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
|
|
74
97
|
request_options: Increase::RequestOptions::OrHash
|
|
75
98
|
).returns(T.attached_class)
|
|
76
99
|
end
|
|
@@ -89,6 +112,11 @@ module Increase
|
|
|
89
112
|
identification: nil,
|
|
90
113
|
# The individual's legal name.
|
|
91
114
|
name: nil,
|
|
115
|
+
# Why this person is considered a beneficial owner of the entity. At least one
|
|
116
|
+
# option is required, if a person is both a control person and owner, submit an
|
|
117
|
+
# array containing both. Providing this replaces the beneficial owner's current
|
|
118
|
+
# prongs.
|
|
119
|
+
prongs: nil,
|
|
92
120
|
request_options: {}
|
|
93
121
|
)
|
|
94
122
|
end
|
|
@@ -102,6 +130,8 @@ module Increase
|
|
|
102
130
|
identification:
|
|
103
131
|
Increase::BeneficialOwnerUpdateParams::Identification,
|
|
104
132
|
name: String,
|
|
133
|
+
prongs:
|
|
134
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
|
|
105
135
|
request_options: Increase::RequestOptions
|
|
106
136
|
}
|
|
107
137
|
)
|
|
@@ -583,6 +613,38 @@ module Increase
|
|
|
583
613
|
end
|
|
584
614
|
end
|
|
585
615
|
end
|
|
616
|
+
|
|
617
|
+
module Prong
|
|
618
|
+
extend Increase::Internal::Type::Enum
|
|
619
|
+
|
|
620
|
+
TaggedSymbol =
|
|
621
|
+
T.type_alias do
|
|
622
|
+
T.all(Symbol, Increase::BeneficialOwnerUpdateParams::Prong)
|
|
623
|
+
end
|
|
624
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
625
|
+
|
|
626
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
627
|
+
OWNERSHIP =
|
|
628
|
+
T.let(
|
|
629
|
+
:ownership,
|
|
630
|
+
Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol
|
|
631
|
+
)
|
|
632
|
+
|
|
633
|
+
# A person who manages, directs, or has significant control of the entity.
|
|
634
|
+
CONTROL =
|
|
635
|
+
T.let(
|
|
636
|
+
:control,
|
|
637
|
+
Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol
|
|
638
|
+
)
|
|
639
|
+
|
|
640
|
+
sig do
|
|
641
|
+
override.returns(
|
|
642
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol]
|
|
643
|
+
)
|
|
644
|
+
end
|
|
645
|
+
def self.values
|
|
646
|
+
end
|
|
647
|
+
end
|
|
586
648
|
end
|
|
587
649
|
end
|
|
588
650
|
end
|
|
@@ -20,24 +20,53 @@ module Increase
|
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :ach_transfer_id
|
|
22
22
|
|
|
23
|
-
# The
|
|
23
|
+
# The corrected account funding type.
|
|
24
24
|
sig do
|
|
25
25
|
returns(
|
|
26
|
-
|
|
26
|
+
T.nilable(
|
|
27
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::OrSymbol
|
|
28
|
+
)
|
|
27
29
|
)
|
|
28
30
|
end
|
|
29
|
-
|
|
31
|
+
attr_reader :corrected_account_funding
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
sig do
|
|
34
|
+
params(
|
|
35
|
+
corrected_account_funding:
|
|
36
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::OrSymbol
|
|
37
|
+
).void
|
|
38
|
+
end
|
|
39
|
+
attr_writer :corrected_account_funding
|
|
40
|
+
|
|
41
|
+
# The corrected account number.
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
attr_reader :corrected_account_number
|
|
44
|
+
|
|
45
|
+
sig { params(corrected_account_number: String).void }
|
|
46
|
+
attr_writer :corrected_account_number
|
|
47
|
+
|
|
48
|
+
# The corrected individual identifier.
|
|
49
|
+
sig { returns(T.nilable(String)) }
|
|
50
|
+
attr_reader :corrected_individual_id
|
|
51
|
+
|
|
52
|
+
sig { params(corrected_individual_id: String).void }
|
|
53
|
+
attr_writer :corrected_individual_id
|
|
54
|
+
|
|
55
|
+
# The corrected routing number.
|
|
56
|
+
sig { returns(T.nilable(String)) }
|
|
57
|
+
attr_reader :corrected_routing_number
|
|
58
|
+
|
|
59
|
+
sig { params(corrected_routing_number: String).void }
|
|
60
|
+
attr_writer :corrected_routing_number
|
|
34
61
|
|
|
35
62
|
sig do
|
|
36
63
|
params(
|
|
37
64
|
ach_transfer_id: String,
|
|
38
|
-
|
|
39
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
40
|
-
|
|
65
|
+
corrected_account_funding:
|
|
66
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::OrSymbol,
|
|
67
|
+
corrected_account_number: String,
|
|
68
|
+
corrected_individual_id: String,
|
|
69
|
+
corrected_routing_number: String,
|
|
41
70
|
request_options: Increase::RequestOptions::OrHash
|
|
42
71
|
).returns(T.attached_class)
|
|
43
72
|
end
|
|
@@ -45,10 +74,14 @@ module Increase
|
|
|
45
74
|
# The identifier of the ACH Transfer you wish to create a notification of change
|
|
46
75
|
# for.
|
|
47
76
|
ach_transfer_id:,
|
|
48
|
-
# The
|
|
49
|
-
|
|
50
|
-
# The corrected
|
|
51
|
-
|
|
77
|
+
# The corrected account funding type.
|
|
78
|
+
corrected_account_funding: nil,
|
|
79
|
+
# The corrected account number.
|
|
80
|
+
corrected_account_number: nil,
|
|
81
|
+
# The corrected individual identifier.
|
|
82
|
+
corrected_individual_id: nil,
|
|
83
|
+
# The corrected routing number.
|
|
84
|
+
corrected_routing_number: nil,
|
|
52
85
|
request_options: {}
|
|
53
86
|
)
|
|
54
87
|
end
|
|
@@ -57,9 +90,11 @@ module Increase
|
|
|
57
90
|
override.returns(
|
|
58
91
|
{
|
|
59
92
|
ach_transfer_id: String,
|
|
60
|
-
|
|
61
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
62
|
-
|
|
93
|
+
corrected_account_funding:
|
|
94
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::OrSymbol,
|
|
95
|
+
corrected_account_number: String,
|
|
96
|
+
corrected_individual_id: String,
|
|
97
|
+
corrected_routing_number: String,
|
|
63
98
|
request_options: Increase::RequestOptions
|
|
64
99
|
}
|
|
65
100
|
)
|
|
@@ -67,156 +102,44 @@ module Increase
|
|
|
67
102
|
def to_hash
|
|
68
103
|
end
|
|
69
104
|
|
|
70
|
-
# The
|
|
71
|
-
module
|
|
105
|
+
# The corrected account funding type.
|
|
106
|
+
module CorrectedAccountFunding
|
|
72
107
|
extend Increase::Internal::Type::Enum
|
|
73
108
|
|
|
74
109
|
TaggedSymbol =
|
|
75
110
|
T.type_alias do
|
|
76
111
|
T.all(
|
|
77
112
|
Symbol,
|
|
78
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
113
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding
|
|
79
114
|
)
|
|
80
115
|
end
|
|
81
116
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
82
117
|
|
|
83
|
-
#
|
|
84
|
-
|
|
85
|
-
T.let(
|
|
86
|
-
:incorrect_account_number,
|
|
87
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
88
|
-
)
|
|
89
|
-
|
|
90
|
-
# The routing number was incorrect.
|
|
91
|
-
INCORRECT_ROUTING_NUMBER =
|
|
92
|
-
T.let(
|
|
93
|
-
:incorrect_routing_number,
|
|
94
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
95
|
-
)
|
|
96
|
-
|
|
97
|
-
# Both the routing number and the account number were incorrect.
|
|
98
|
-
INCORRECT_ROUTING_NUMBER_AND_ACCOUNT_NUMBER =
|
|
99
|
-
T.let(
|
|
100
|
-
:incorrect_routing_number_and_account_number,
|
|
101
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
102
|
-
)
|
|
103
|
-
|
|
104
|
-
# The transaction code was incorrect. Try changing the `funding` parameter from checking to savings or vice-versa.
|
|
105
|
-
INCORRECT_TRANSACTION_CODE =
|
|
106
|
-
T.let(
|
|
107
|
-
:incorrect_transaction_code,
|
|
108
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
# The account number and the transaction code were incorrect.
|
|
112
|
-
INCORRECT_ACCOUNT_NUMBER_AND_TRANSACTION_CODE =
|
|
113
|
-
T.let(
|
|
114
|
-
:incorrect_account_number_and_transaction_code,
|
|
115
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
116
|
-
)
|
|
117
|
-
|
|
118
|
-
# The routing number, account number, and transaction code were incorrect.
|
|
119
|
-
INCORRECT_ROUTING_NUMBER_ACCOUNT_NUMBER_AND_TRANSACTION_CODE =
|
|
120
|
-
T.let(
|
|
121
|
-
:incorrect_routing_number_account_number_and_transaction_code,
|
|
122
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
123
|
-
)
|
|
124
|
-
|
|
125
|
-
# The receiving depository financial institution identification was incorrect.
|
|
126
|
-
INCORRECT_RECEIVING_DEPOSITORY_FINANCIAL_INSTITUTION_IDENTIFICATION =
|
|
127
|
-
T.let(
|
|
128
|
-
:incorrect_receiving_depository_financial_institution_identification,
|
|
129
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
130
|
-
)
|
|
131
|
-
|
|
132
|
-
# The individual identification number was incorrect.
|
|
133
|
-
INCORRECT_INDIVIDUAL_IDENTIFICATION_NUMBER =
|
|
134
|
-
T.let(
|
|
135
|
-
:incorrect_individual_identification_number,
|
|
136
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
137
|
-
)
|
|
138
|
-
|
|
139
|
-
# The addenda had an incorrect format.
|
|
140
|
-
ADDENDA_FORMAT_ERROR =
|
|
141
|
-
T.let(
|
|
142
|
-
:addenda_format_error,
|
|
143
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
144
|
-
)
|
|
145
|
-
|
|
146
|
-
# The standard entry class code was incorrect for an outbound international payment.
|
|
147
|
-
INCORRECT_STANDARD_ENTRY_CLASS_CODE_FOR_OUTBOUND_INTERNATIONAL_PAYMENT =
|
|
148
|
-
T.let(
|
|
149
|
-
:incorrect_standard_entry_class_code_for_outbound_international_payment,
|
|
150
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
# The notification of change was misrouted.
|
|
154
|
-
MISROUTED_NOTIFICATION_OF_CHANGE =
|
|
155
|
-
T.let(
|
|
156
|
-
:misrouted_notification_of_change,
|
|
157
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
158
|
-
)
|
|
159
|
-
|
|
160
|
-
# The trace number was incorrect.
|
|
161
|
-
INCORRECT_TRACE_NUMBER =
|
|
162
|
-
T.let(
|
|
163
|
-
:incorrect_trace_number,
|
|
164
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
165
|
-
)
|
|
166
|
-
|
|
167
|
-
# The company identification number was incorrect.
|
|
168
|
-
INCORRECT_COMPANY_IDENTIFICATION_NUMBER =
|
|
169
|
-
T.let(
|
|
170
|
-
:incorrect_company_identification_number,
|
|
171
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
172
|
-
)
|
|
173
|
-
|
|
174
|
-
# The individual identification number or identification number was incorrect.
|
|
175
|
-
INCORRECT_IDENTIFICATION_NUMBER =
|
|
176
|
-
T.let(
|
|
177
|
-
:incorrect_identification_number,
|
|
178
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
179
|
-
)
|
|
180
|
-
|
|
181
|
-
# The corrected data was incorrectly formatted.
|
|
182
|
-
INCORRECTLY_FORMATTED_CORRECTED_DATA =
|
|
183
|
-
T.let(
|
|
184
|
-
:incorrectly_formatted_corrected_data,
|
|
185
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
# The discretionary data was incorrect.
|
|
189
|
-
INCORRECT_DISCRETIONARY_DATA =
|
|
190
|
-
T.let(
|
|
191
|
-
:incorrect_discretionary_data,
|
|
192
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode::TaggedSymbol
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
# The routing number was not from the original entry detail record.
|
|
196
|
-
ROUTING_NUMBER_NOT_FROM_ORIGINAL_ENTRY_DETAIL_RECORD =
|
|
118
|
+
# A checking account.
|
|
119
|
+
CHECKING =
|
|
197
120
|
T.let(
|
|
198
|
-
:
|
|
199
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
121
|
+
:checking,
|
|
122
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::TaggedSymbol
|
|
200
123
|
)
|
|
201
124
|
|
|
202
|
-
#
|
|
203
|
-
|
|
125
|
+
# A savings account.
|
|
126
|
+
SAVINGS =
|
|
204
127
|
T.let(
|
|
205
|
-
:
|
|
206
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
128
|
+
:savings,
|
|
129
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::TaggedSymbol
|
|
207
130
|
)
|
|
208
131
|
|
|
209
|
-
#
|
|
210
|
-
|
|
132
|
+
# A bank's general ledger. Uncommon.
|
|
133
|
+
GENERAL_LEDGER =
|
|
211
134
|
T.let(
|
|
212
|
-
:
|
|
213
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
135
|
+
:general_ledger,
|
|
136
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::TaggedSymbol
|
|
214
137
|
)
|
|
215
138
|
|
|
216
139
|
sig do
|
|
217
140
|
override.returns(
|
|
218
141
|
T::Array[
|
|
219
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
142
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::TaggedSymbol
|
|
220
143
|
]
|
|
221
144
|
)
|
|
222
145
|
end
|
|
@@ -52,6 +52,8 @@ module Increase
|
|
|
52
52
|
identification:
|
|
53
53
|
Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
|
|
54
54
|
name: String,
|
|
55
|
+
prongs:
|
|
56
|
+
T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
|
|
55
57
|
request_options: Increase::RequestOptions::OrHash
|
|
56
58
|
).returns(Increase::EntityBeneficialOwner)
|
|
57
59
|
end
|
|
@@ -70,6 +72,11 @@ module Increase
|
|
|
70
72
|
identification: nil,
|
|
71
73
|
# The individual's legal name.
|
|
72
74
|
name: nil,
|
|
75
|
+
# Why this person is considered a beneficial owner of the entity. At least one
|
|
76
|
+
# option is required, if a person is both a control person and owner, submit an
|
|
77
|
+
# array containing both. Providing this replaces the beneficial owner's current
|
|
78
|
+
# prongs.
|
|
79
|
+
prongs: nil,
|
|
73
80
|
request_options: {}
|
|
74
81
|
)
|
|
75
82
|
end
|
|
@@ -28,9 +28,11 @@ module Increase
|
|
|
28
28
|
sig do
|
|
29
29
|
params(
|
|
30
30
|
ach_transfer_id: String,
|
|
31
|
-
|
|
32
|
-
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::
|
|
33
|
-
|
|
31
|
+
corrected_account_funding:
|
|
32
|
+
Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::CorrectedAccountFunding::OrSymbol,
|
|
33
|
+
corrected_account_number: String,
|
|
34
|
+
corrected_individual_id: String,
|
|
35
|
+
corrected_routing_number: String,
|
|
34
36
|
request_options: Increase::RequestOptions::OrHash
|
|
35
37
|
).returns(Increase::ACHTransfer)
|
|
36
38
|
end
|
|
@@ -38,10 +40,14 @@ module Increase
|
|
|
38
40
|
# The identifier of the ACH Transfer you wish to create a notification of change
|
|
39
41
|
# for.
|
|
40
42
|
ach_transfer_id,
|
|
41
|
-
# The
|
|
42
|
-
|
|
43
|
-
# The corrected
|
|
44
|
-
|
|
43
|
+
# The corrected account funding type.
|
|
44
|
+
corrected_account_funding: nil,
|
|
45
|
+
# The corrected account number.
|
|
46
|
+
corrected_account_number: nil,
|
|
47
|
+
# The corrected individual identifier.
|
|
48
|
+
corrected_individual_id: nil,
|
|
49
|
+
# The corrected routing number.
|
|
50
|
+
corrected_routing_number: nil,
|
|
45
51
|
request_options: {}
|
|
46
52
|
)
|
|
47
53
|
end
|
|
@@ -128,26 +128,41 @@ module Increase
|
|
|
128
128
|
type notifications_of_change =
|
|
129
129
|
{
|
|
130
130
|
change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code,
|
|
131
|
-
|
|
131
|
+
corrected_account_funding: Increase::Models::ACHPrenotification::NotificationsOfChange::corrected_account_funding?,
|
|
132
|
+
corrected_account_number: String?,
|
|
133
|
+
corrected_individual_id: String?,
|
|
134
|
+
corrected_routing_number: String?,
|
|
132
135
|
created_at: Time
|
|
133
136
|
}
|
|
134
137
|
|
|
135
138
|
class NotificationsOfChange < Increase::Internal::Type::BaseModel
|
|
136
139
|
attr_accessor change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code
|
|
137
140
|
|
|
138
|
-
attr_accessor
|
|
141
|
+
attr_accessor corrected_account_funding: Increase::Models::ACHPrenotification::NotificationsOfChange::corrected_account_funding?
|
|
142
|
+
|
|
143
|
+
attr_accessor corrected_account_number: String?
|
|
144
|
+
|
|
145
|
+
attr_accessor corrected_individual_id: String?
|
|
146
|
+
|
|
147
|
+
attr_accessor corrected_routing_number: String?
|
|
139
148
|
|
|
140
149
|
attr_accessor created_at: Time
|
|
141
150
|
|
|
142
151
|
def initialize: (
|
|
143
152
|
change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code,
|
|
144
|
-
|
|
153
|
+
corrected_account_funding: Increase::Models::ACHPrenotification::NotificationsOfChange::corrected_account_funding?,
|
|
154
|
+
corrected_account_number: String?,
|
|
155
|
+
corrected_individual_id: String?,
|
|
156
|
+
corrected_routing_number: String?,
|
|
145
157
|
created_at: Time
|
|
146
158
|
) -> void
|
|
147
159
|
|
|
148
160
|
def to_hash: -> {
|
|
149
161
|
change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code,
|
|
150
|
-
|
|
162
|
+
corrected_account_funding: Increase::Models::ACHPrenotification::NotificationsOfChange::corrected_account_funding?,
|
|
163
|
+
corrected_account_number: String?,
|
|
164
|
+
corrected_individual_id: String?,
|
|
165
|
+
corrected_routing_number: String?,
|
|
151
166
|
created_at: Time
|
|
152
167
|
}
|
|
153
168
|
|
|
@@ -234,6 +249,23 @@ module Increase
|
|
|
234
249
|
|
|
235
250
|
def self?.values: -> ::Array[Increase::Models::ACHPrenotification::NotificationsOfChange::change_code]
|
|
236
251
|
end
|
|
252
|
+
|
|
253
|
+
type corrected_account_funding = :checking | :savings | :general_ledger
|
|
254
|
+
|
|
255
|
+
module CorrectedAccountFunding
|
|
256
|
+
extend Increase::Internal::Type::Enum
|
|
257
|
+
|
|
258
|
+
# A checking account.
|
|
259
|
+
CHECKING: :checking
|
|
260
|
+
|
|
261
|
+
# A savings account.
|
|
262
|
+
SAVINGS: :savings
|
|
263
|
+
|
|
264
|
+
# A bank's general ledger. Uncommon.
|
|
265
|
+
GENERAL_LEDGER: :general_ledger
|
|
266
|
+
|
|
267
|
+
def self?.values: -> ::Array[Increase::Models::ACHPrenotification::NotificationsOfChange::corrected_account_funding]
|
|
268
|
+
end
|
|
237
269
|
end
|
|
238
270
|
|
|
239
271
|
type prenotification_return =
|