increase 1.351.0 → 1.353.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_statement.rb +12 -4
- data/lib/increase/models/balance_lookup.rb +1 -59
- data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
- data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +1174 -2
- data/lib/increase/models/check_transfer.rb +15 -9
- data/lib/increase/models/entity.rb +18 -0
- data/lib/increase/models/entity_beneficial_owner.rb +3 -0
- data/lib/increase/models/entity_create_params.rb +36 -20
- data/lib/increase/models/entity_update_params.rb +33 -20
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/inbound_ach_transfer.rb +9 -1
- data/lib/increase/models/pending_transaction.rb +121 -1
- data/lib/increase/models/pending_transaction_list_params.rb +6 -0
- data/lib/increase/models/simulations/physical_card_create_params.rb +9 -6
- data/lib/increase/models/transaction.rb +1277 -3
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +3 -3
- data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
- data/lib/increase/resources/simulations/account_statements.rb +2 -1
- data/lib/increase/resources/simulations/physical_cards.rb +5 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_statement.rbi +12 -4
- data/rbi/increase/models/balance_lookup.rbi +3 -87
- data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +5276 -2964
- data/rbi/increase/models/check_transfer.rbi +15 -9
- data/rbi/increase/models/entity.rbi +42 -0
- data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
- data/rbi/increase/models/entity_create_params.rbi +46 -21
- data/rbi/increase/models/entity_update_params.rbi +39 -21
- data/rbi/increase/models/event.rbi +28 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/inbound_ach_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +254 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +14 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +8 -6
- data/rbi/increase/models/transaction.rbi +4848 -2358
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
- data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
- data/rbi/increase/resources/simulations/account_statements.rbi +2 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +4 -3
- data/sig/increase/models/balance_lookup.rbs +3 -42
- data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +1186 -0
- data/sig/increase/models/entity.rbs +24 -0
- data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
- data/sig/increase/models/entity_create_params.rbs +24 -11
- data/sig/increase/models/entity_update_params.rbs +20 -11
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +84 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +1236 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +4 -4
- data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
- metadata +2 -2
|
@@ -96,8 +96,8 @@ module Increase
|
|
|
96
96
|
sig { returns(T.nilable(String)) }
|
|
97
97
|
attr_accessor :idempotency_key
|
|
98
98
|
|
|
99
|
-
#
|
|
100
|
-
#
|
|
99
|
+
# Once the check has been mailed, this will contain details about the shipment.
|
|
100
|
+
# Only available when `fulfillment_method` is equal to `physical_check`.
|
|
101
101
|
sig { returns(T.nilable(Increase::CheckTransfer::Mailing)) }
|
|
102
102
|
attr_reader :mailing
|
|
103
103
|
|
|
@@ -154,7 +154,9 @@ module Increase
|
|
|
154
154
|
end
|
|
155
155
|
attr_writer :stop_payment_request
|
|
156
156
|
|
|
157
|
-
#
|
|
157
|
+
# Once the check has been submitted to our printer, this will contain details
|
|
158
|
+
# about the submission. Only available when `fulfillment_method` is equal to
|
|
159
|
+
# `physical_check`.
|
|
158
160
|
sig { returns(T.nilable(Increase::CheckTransfer::Submission)) }
|
|
159
161
|
attr_reader :submission
|
|
160
162
|
|
|
@@ -263,8 +265,8 @@ module Increase
|
|
|
263
265
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
264
266
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
265
267
|
idempotency_key:,
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
+
# Once the check has been mailed, this will contain details about the shipment.
|
|
269
|
+
# Only available when `fulfillment_method` is equal to `physical_check`.
|
|
268
270
|
mailing:,
|
|
269
271
|
# The ID for the pending transaction representing the transfer. A pending
|
|
270
272
|
# transaction is created when the transfer
|
|
@@ -284,7 +286,9 @@ module Increase
|
|
|
284
286
|
# After a stop-payment is requested on the check, this will contain supplemental
|
|
285
287
|
# details.
|
|
286
288
|
stop_payment_request:,
|
|
287
|
-
#
|
|
289
|
+
# Once the check has been submitted to our printer, this will contain details
|
|
290
|
+
# about the submission. Only available when `fulfillment_method` is equal to
|
|
291
|
+
# `physical_check`.
|
|
288
292
|
submission:,
|
|
289
293
|
# Details relating to the custom fulfillment you will perform. Will be present if
|
|
290
294
|
# and only if `fulfillment_method` is equal to `third_party`.
|
|
@@ -734,8 +738,8 @@ module Increase
|
|
|
734
738
|
sig { returns(Time) }
|
|
735
739
|
attr_accessor :mailed_at
|
|
736
740
|
|
|
737
|
-
#
|
|
738
|
-
#
|
|
741
|
+
# Once the check has been mailed, this will contain details about the shipment.
|
|
742
|
+
# Only available when `fulfillment_method` is equal to `physical_check`.
|
|
739
743
|
sig { params(mailed_at: Time).returns(T.attached_class) }
|
|
740
744
|
def self.new(
|
|
741
745
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -1629,7 +1633,9 @@ module Increase
|
|
|
1629
1633
|
sig { returns(T.nilable(String)) }
|
|
1630
1634
|
attr_accessor :tracking_number
|
|
1631
1635
|
|
|
1632
|
-
#
|
|
1636
|
+
# Once the check has been submitted to our printer, this will contain details
|
|
1637
|
+
# about the submission. Only available when `fulfillment_method` is equal to
|
|
1638
|
+
# `physical_check`.
|
|
1633
1639
|
sig do
|
|
1634
1640
|
params(
|
|
1635
1641
|
preview_file_id: T.nilable(String),
|
|
@@ -828,6 +828,13 @@ module Increase
|
|
|
828
828
|
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
829
829
|
)
|
|
830
830
|
|
|
831
|
+
# The last four digits of a social security number.
|
|
832
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
833
|
+
T.let(
|
|
834
|
+
:social_security_number_last4,
|
|
835
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
836
|
+
)
|
|
837
|
+
|
|
831
838
|
# An individual taxpayer identification number (ITIN).
|
|
832
839
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
833
840
|
T.let(
|
|
@@ -1585,6 +1592,13 @@ module Increase
|
|
|
1585
1592
|
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
|
1586
1593
|
)
|
|
1587
1594
|
|
|
1595
|
+
# The last four digits of a social security number.
|
|
1596
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
1597
|
+
T.let(
|
|
1598
|
+
:social_security_number_last4,
|
|
1599
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
|
1600
|
+
)
|
|
1601
|
+
|
|
1588
1602
|
# An individual taxpayer identification number (ITIN).
|
|
1589
1603
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
1590
1604
|
T.let(
|
|
@@ -1852,6 +1866,13 @@ module Increase
|
|
|
1852
1866
|
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
|
1853
1867
|
)
|
|
1854
1868
|
|
|
1869
|
+
# The last four digits of a social security number.
|
|
1870
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
1871
|
+
T.let(
|
|
1872
|
+
:social_security_number_last4,
|
|
1873
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
|
1874
|
+
)
|
|
1875
|
+
|
|
1855
1876
|
# An individual taxpayer identification number (ITIN).
|
|
1856
1877
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
1857
1878
|
T.let(
|
|
@@ -2390,6 +2411,13 @@ module Increase
|
|
|
2390
2411
|
Increase::Entity::SoleProprietorship::SoleProprietor::Identification::Method::TaggedSymbol
|
|
2391
2412
|
)
|
|
2392
2413
|
|
|
2414
|
+
# The last four digits of a social security number.
|
|
2415
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
2416
|
+
T.let(
|
|
2417
|
+
:social_security_number_last4,
|
|
2418
|
+
Increase::Entity::SoleProprietorship::SoleProprietor::Identification::Method::TaggedSymbol
|
|
2419
|
+
)
|
|
2420
|
+
|
|
2393
2421
|
# An individual taxpayer identification number (ITIN).
|
|
2394
2422
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
2395
2423
|
T.let(
|
|
@@ -3086,6 +3114,13 @@ module Increase
|
|
|
3086
3114
|
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
|
3087
3115
|
)
|
|
3088
3116
|
|
|
3117
|
+
# The last four digits of a social security number.
|
|
3118
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
3119
|
+
T.let(
|
|
3120
|
+
:social_security_number_last4,
|
|
3121
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
|
3122
|
+
)
|
|
3123
|
+
|
|
3089
3124
|
# An individual taxpayer identification number (ITIN).
|
|
3090
3125
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
3091
3126
|
T.let(
|
|
@@ -3429,6 +3464,13 @@ module Increase
|
|
|
3429
3464
|
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
|
3430
3465
|
)
|
|
3431
3466
|
|
|
3467
|
+
# The last four digits of a social security number.
|
|
3468
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
3469
|
+
T.let(
|
|
3470
|
+
:social_security_number_last4,
|
|
3471
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
|
3472
|
+
)
|
|
3473
|
+
|
|
3432
3474
|
# An individual taxpayer identification number (ITIN).
|
|
3433
3475
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
3434
3476
|
T.let(
|
|
@@ -351,6 +351,13 @@ module Increase
|
|
|
351
351
|
Increase::EntityBeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
352
352
|
)
|
|
353
353
|
|
|
354
|
+
# The last four digits of a social security number.
|
|
355
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
356
|
+
T.let(
|
|
357
|
+
:social_security_number_last4,
|
|
358
|
+
Increase::EntityBeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
359
|
+
)
|
|
360
|
+
|
|
354
361
|
# An individual taxpayer identification number (ITIN).
|
|
355
362
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
356
363
|
T.let(
|
|
@@ -1025,6 +1025,13 @@ module Increase
|
|
|
1025
1025
|
Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
1026
1026
|
)
|
|
1027
1027
|
|
|
1028
|
+
# The last four digits of a social security number.
|
|
1029
|
+
SOCIAL_SECURITY_NUMBER_LAST4 =
|
|
1030
|
+
T.let(
|
|
1031
|
+
:social_security_number_last4,
|
|
1032
|
+
Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
|
1033
|
+
)
|
|
1034
|
+
|
|
1028
1035
|
# An individual taxpayer identification number (ITIN).
|
|
1029
1036
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
1030
1037
|
T.let(
|
|
@@ -3859,22 +3866,19 @@ module Increase
|
|
|
3859
3866
|
)
|
|
3860
3867
|
end
|
|
3861
3868
|
|
|
3862
|
-
# The city of the address.
|
|
3869
|
+
# The city, district, town, or village of the address.
|
|
3863
3870
|
sig { returns(String) }
|
|
3864
3871
|
attr_accessor :city
|
|
3865
3872
|
|
|
3866
|
-
# The
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
3871
|
-
# the address.
|
|
3873
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3874
|
+
#
|
|
3875
|
+
# Defaults to `US`.
|
|
3872
3876
|
sig { returns(String) }
|
|
3873
|
-
attr_accessor :
|
|
3877
|
+
attr_accessor :country
|
|
3874
3878
|
|
|
3875
|
-
# The
|
|
3879
|
+
# The first line of the address. This is usually the street number and street.
|
|
3876
3880
|
sig { returns(String) }
|
|
3877
|
-
attr_accessor :
|
|
3881
|
+
attr_accessor :line1
|
|
3878
3882
|
|
|
3879
3883
|
# The second line of the address. This might be the floor or room number.
|
|
3880
3884
|
sig { returns(T.nilable(String)) }
|
|
@@ -3883,29 +3887,49 @@ module Increase
|
|
|
3883
3887
|
sig { params(line2: String).void }
|
|
3884
3888
|
attr_writer :line2
|
|
3885
3889
|
|
|
3890
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
3891
|
+
# state, province, or region of the address. Required in certain countries.
|
|
3892
|
+
sig { returns(T.nilable(String)) }
|
|
3893
|
+
attr_reader :state
|
|
3894
|
+
|
|
3895
|
+
sig { params(state: String).void }
|
|
3896
|
+
attr_writer :state
|
|
3897
|
+
|
|
3898
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
3899
|
+
sig { returns(T.nilable(String)) }
|
|
3900
|
+
attr_reader :zip
|
|
3901
|
+
|
|
3902
|
+
sig { params(zip: String).void }
|
|
3903
|
+
attr_writer :zip
|
|
3904
|
+
|
|
3886
3905
|
# The trust's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
3887
3906
|
# are disallowed.
|
|
3888
3907
|
sig do
|
|
3889
3908
|
params(
|
|
3890
3909
|
city: String,
|
|
3910
|
+
country: String,
|
|
3891
3911
|
line1: String,
|
|
3912
|
+
line2: String,
|
|
3892
3913
|
state: String,
|
|
3893
|
-
zip: String
|
|
3894
|
-
line2: String
|
|
3914
|
+
zip: String
|
|
3895
3915
|
).returns(T.attached_class)
|
|
3896
3916
|
end
|
|
3897
3917
|
def self.new(
|
|
3898
|
-
# The city of the address.
|
|
3918
|
+
# The city, district, town, or village of the address.
|
|
3899
3919
|
city:,
|
|
3920
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3921
|
+
#
|
|
3922
|
+
# Defaults to `US`.
|
|
3923
|
+
country:,
|
|
3900
3924
|
# The first line of the address. This is usually the street number and street.
|
|
3901
3925
|
line1:,
|
|
3902
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
3903
|
-
# the address.
|
|
3904
|
-
state:,
|
|
3905
|
-
# The ZIP code of the address.
|
|
3906
|
-
zip:,
|
|
3907
3926
|
# The second line of the address. This might be the floor or room number.
|
|
3908
|
-
line2: nil
|
|
3927
|
+
line2: nil,
|
|
3928
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
3929
|
+
# state, province, or region of the address. Required in certain countries.
|
|
3930
|
+
state: nil,
|
|
3931
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
3932
|
+
zip: nil
|
|
3909
3933
|
)
|
|
3910
3934
|
end
|
|
3911
3935
|
|
|
@@ -3913,10 +3937,11 @@ module Increase
|
|
|
3913
3937
|
override.returns(
|
|
3914
3938
|
{
|
|
3915
3939
|
city: String,
|
|
3940
|
+
country: String,
|
|
3916
3941
|
line1: String,
|
|
3942
|
+
line2: String,
|
|
3917
3943
|
state: String,
|
|
3918
|
-
zip: String
|
|
3919
|
-
line2: String
|
|
3944
|
+
zip: String
|
|
3920
3945
|
}
|
|
3921
3946
|
)
|
|
3922
3947
|
end
|
|
@@ -2417,22 +2417,19 @@ module Increase
|
|
|
2417
2417
|
)
|
|
2418
2418
|
end
|
|
2419
2419
|
|
|
2420
|
-
# The city of the address.
|
|
2420
|
+
# The city, district, town, or village of the address.
|
|
2421
2421
|
sig { returns(String) }
|
|
2422
2422
|
attr_accessor :city
|
|
2423
2423
|
|
|
2424
|
-
# The
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2429
|
-
# the address.
|
|
2424
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2425
|
+
#
|
|
2426
|
+
# Defaults to `US`.
|
|
2430
2427
|
sig { returns(String) }
|
|
2431
|
-
attr_accessor :
|
|
2428
|
+
attr_accessor :country
|
|
2432
2429
|
|
|
2433
|
-
# The
|
|
2430
|
+
# The first line of the address. This is usually the street number and street.
|
|
2434
2431
|
sig { returns(String) }
|
|
2435
|
-
attr_accessor :
|
|
2432
|
+
attr_accessor :line1
|
|
2436
2433
|
|
|
2437
2434
|
# The second line of the address. This might be the floor or room number.
|
|
2438
2435
|
sig { returns(T.nilable(String)) }
|
|
@@ -2441,29 +2438,49 @@ module Increase
|
|
|
2441
2438
|
sig { params(line2: String).void }
|
|
2442
2439
|
attr_writer :line2
|
|
2443
2440
|
|
|
2441
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2442
|
+
# state, province, or region of the address. Required in certain countries.
|
|
2443
|
+
sig { returns(T.nilable(String)) }
|
|
2444
|
+
attr_reader :state
|
|
2445
|
+
|
|
2446
|
+
sig { params(state: String).void }
|
|
2447
|
+
attr_writer :state
|
|
2448
|
+
|
|
2449
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
2450
|
+
sig { returns(T.nilable(String)) }
|
|
2451
|
+
attr_reader :zip
|
|
2452
|
+
|
|
2453
|
+
sig { params(zip: String).void }
|
|
2454
|
+
attr_writer :zip
|
|
2455
|
+
|
|
2444
2456
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2445
2457
|
# are disallowed.
|
|
2446
2458
|
sig do
|
|
2447
2459
|
params(
|
|
2448
2460
|
city: String,
|
|
2461
|
+
country: String,
|
|
2449
2462
|
line1: String,
|
|
2463
|
+
line2: String,
|
|
2450
2464
|
state: String,
|
|
2451
|
-
zip: String
|
|
2452
|
-
line2: String
|
|
2465
|
+
zip: String
|
|
2453
2466
|
).returns(T.attached_class)
|
|
2454
2467
|
end
|
|
2455
2468
|
def self.new(
|
|
2456
|
-
# The city of the address.
|
|
2469
|
+
# The city, district, town, or village of the address.
|
|
2457
2470
|
city:,
|
|
2471
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2472
|
+
#
|
|
2473
|
+
# Defaults to `US`.
|
|
2474
|
+
country:,
|
|
2458
2475
|
# The first line of the address. This is usually the street number and street.
|
|
2459
2476
|
line1:,
|
|
2460
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2461
|
-
# the address.
|
|
2462
|
-
state:,
|
|
2463
|
-
# The ZIP code of the address.
|
|
2464
|
-
zip:,
|
|
2465
2477
|
# The second line of the address. This might be the floor or room number.
|
|
2466
|
-
line2: nil
|
|
2478
|
+
line2: nil,
|
|
2479
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2480
|
+
# state, province, or region of the address. Required in certain countries.
|
|
2481
|
+
state: nil,
|
|
2482
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
2483
|
+
zip: nil
|
|
2467
2484
|
)
|
|
2468
2485
|
end
|
|
2469
2486
|
|
|
@@ -2471,10 +2488,11 @@ module Increase
|
|
|
2471
2488
|
override.returns(
|
|
2472
2489
|
{
|
|
2473
2490
|
city: String,
|
|
2491
|
+
country: String,
|
|
2474
2492
|
line1: String,
|
|
2493
|
+
line2: String,
|
|
2475
2494
|
state: String,
|
|
2476
|
-
zip: String
|
|
2477
|
-
line2: String
|
|
2495
|
+
zip: String
|
|
2478
2496
|
}
|
|
2479
2497
|
)
|
|
2480
2498
|
end
|
|
@@ -842,6 +842,20 @@ module Increase
|
|
|
842
842
|
Increase::Event::Category::TaggedSymbol
|
|
843
843
|
)
|
|
844
844
|
|
|
845
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
846
|
+
SEPA_INSTANT_TRANSFER_CREATED =
|
|
847
|
+
T.let(
|
|
848
|
+
:"sepa_instant_transfer.created",
|
|
849
|
+
Increase::Event::Category::TaggedSymbol
|
|
850
|
+
)
|
|
851
|
+
|
|
852
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
853
|
+
SEPA_INSTANT_TRANSFER_UPDATED =
|
|
854
|
+
T.let(
|
|
855
|
+
:"sepa_instant_transfer.updated",
|
|
856
|
+
Increase::Event::Category::TaggedSymbol
|
|
857
|
+
)
|
|
858
|
+
|
|
845
859
|
# Occurs whenever a Swift Transfer is created.
|
|
846
860
|
SWIFT_TRANSFER_CREATED =
|
|
847
861
|
T.let(
|
|
@@ -860,6 +874,20 @@ module Increase
|
|
|
860
874
|
TRANSACTION_CREATED =
|
|
861
875
|
T.let(:"transaction.created", Increase::Event::Category::TaggedSymbol)
|
|
862
876
|
|
|
877
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
878
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED =
|
|
879
|
+
T.let(
|
|
880
|
+
:"uk_faster_payment_system_transfer.created",
|
|
881
|
+
Increase::Event::Category::TaggedSymbol
|
|
882
|
+
)
|
|
883
|
+
|
|
884
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
885
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED =
|
|
886
|
+
T.let(
|
|
887
|
+
:"uk_faster_payment_system_transfer.updated",
|
|
888
|
+
Increase::Event::Category::TaggedSymbol
|
|
889
|
+
)
|
|
890
|
+
|
|
863
891
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
864
892
|
WIRE_DRAWDOWN_REQUEST_CREATED =
|
|
865
893
|
T.let(
|
|
@@ -969,6 +969,20 @@ module Increase
|
|
|
969
969
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
970
970
|
)
|
|
971
971
|
|
|
972
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
973
|
+
SEPA_INSTANT_TRANSFER_CREATED =
|
|
974
|
+
T.let(
|
|
975
|
+
:"sepa_instant_transfer.created",
|
|
976
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
977
|
+
)
|
|
978
|
+
|
|
979
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
980
|
+
SEPA_INSTANT_TRANSFER_UPDATED =
|
|
981
|
+
T.let(
|
|
982
|
+
:"sepa_instant_transfer.updated",
|
|
983
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
984
|
+
)
|
|
985
|
+
|
|
972
986
|
# Occurs whenever a Swift Transfer is created.
|
|
973
987
|
SWIFT_TRANSFER_CREATED =
|
|
974
988
|
T.let(
|
|
@@ -990,6 +1004,20 @@ module Increase
|
|
|
990
1004
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
991
1005
|
)
|
|
992
1006
|
|
|
1007
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
1008
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED =
|
|
1009
|
+
T.let(
|
|
1010
|
+
:"uk_faster_payment_system_transfer.created",
|
|
1011
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
1015
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED =
|
|
1016
|
+
T.let(
|
|
1017
|
+
:"uk_faster_payment_system_transfer.updated",
|
|
1018
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
1019
|
+
)
|
|
1020
|
+
|
|
993
1021
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
994
1022
|
WIRE_DRAWDOWN_REQUEST_CREATED =
|
|
995
1023
|
T.let(
|
|
@@ -990,6 +990,20 @@ module Increase
|
|
|
990
990
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
991
991
|
)
|
|
992
992
|
|
|
993
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
994
|
+
SEPA_INSTANT_TRANSFER_CREATED =
|
|
995
|
+
T.let(
|
|
996
|
+
:"sepa_instant_transfer.created",
|
|
997
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
998
|
+
)
|
|
999
|
+
|
|
1000
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
1001
|
+
SEPA_INSTANT_TRANSFER_UPDATED =
|
|
1002
|
+
T.let(
|
|
1003
|
+
:"sepa_instant_transfer.updated",
|
|
1004
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1005
|
+
)
|
|
1006
|
+
|
|
993
1007
|
# Occurs whenever a Swift Transfer is created.
|
|
994
1008
|
SWIFT_TRANSFER_CREATED =
|
|
995
1009
|
T.let(
|
|
@@ -1011,6 +1025,20 @@ module Increase
|
|
|
1011
1025
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1012
1026
|
)
|
|
1013
1027
|
|
|
1028
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
1029
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED =
|
|
1030
|
+
T.let(
|
|
1031
|
+
:"uk_faster_payment_system_transfer.created",
|
|
1032
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1033
|
+
)
|
|
1034
|
+
|
|
1035
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
1036
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED =
|
|
1037
|
+
T.let(
|
|
1038
|
+
:"uk_faster_payment_system_transfer.updated",
|
|
1039
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1040
|
+
)
|
|
1041
|
+
|
|
1014
1042
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
1015
1043
|
WIRE_DRAWDOWN_REQUEST_CREATED =
|
|
1016
1044
|
T.let(
|
|
@@ -988,6 +988,20 @@ module Increase
|
|
|
988
988
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
989
989
|
)
|
|
990
990
|
|
|
991
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
992
|
+
SEPA_INSTANT_TRANSFER_CREATED =
|
|
993
|
+
T.let(
|
|
994
|
+
:"sepa_instant_transfer.created",
|
|
995
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
996
|
+
)
|
|
997
|
+
|
|
998
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
999
|
+
SEPA_INSTANT_TRANSFER_UPDATED =
|
|
1000
|
+
T.let(
|
|
1001
|
+
:"sepa_instant_transfer.updated",
|
|
1002
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1003
|
+
)
|
|
1004
|
+
|
|
991
1005
|
# Occurs whenever a Swift Transfer is created.
|
|
992
1006
|
SWIFT_TRANSFER_CREATED =
|
|
993
1007
|
T.let(
|
|
@@ -1009,6 +1023,20 @@ module Increase
|
|
|
1009
1023
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1010
1024
|
)
|
|
1011
1025
|
|
|
1026
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
1027
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED =
|
|
1028
|
+
T.let(
|
|
1029
|
+
:"uk_faster_payment_system_transfer.created",
|
|
1030
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1031
|
+
)
|
|
1032
|
+
|
|
1033
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
1034
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED =
|
|
1035
|
+
T.let(
|
|
1036
|
+
:"uk_faster_payment_system_transfer.updated",
|
|
1037
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
1038
|
+
)
|
|
1039
|
+
|
|
1012
1040
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
1013
1041
|
WIRE_DRAWDOWN_REQUEST_CREATED =
|
|
1014
1042
|
T.let(
|
|
@@ -1783,6 +1783,10 @@ module Increase
|
|
|
1783
1783
|
)
|
|
1784
1784
|
end
|
|
1785
1785
|
|
|
1786
|
+
# The three character ACH return code, in the range R01 to R85.
|
|
1787
|
+
sig { returns(String) }
|
|
1788
|
+
attr_accessor :raw_reason_code
|
|
1789
|
+
|
|
1786
1790
|
# The reason for the transfer return.
|
|
1787
1791
|
sig do
|
|
1788
1792
|
returns(
|
|
@@ -1802,6 +1806,7 @@ module Increase
|
|
|
1802
1806
|
# If your transfer is returned, this will contain details of the return.
|
|
1803
1807
|
sig do
|
|
1804
1808
|
params(
|
|
1809
|
+
raw_reason_code: String,
|
|
1805
1810
|
reason:
|
|
1806
1811
|
Increase::InboundACHTransfer::TransferReturn::Reason::OrSymbol,
|
|
1807
1812
|
returned_at: Time,
|
|
@@ -1809,6 +1814,8 @@ module Increase
|
|
|
1809
1814
|
).returns(T.attached_class)
|
|
1810
1815
|
end
|
|
1811
1816
|
def self.new(
|
|
1817
|
+
# The three character ACH return code, in the range R01 to R85.
|
|
1818
|
+
raw_reason_code:,
|
|
1812
1819
|
# The reason for the transfer return.
|
|
1813
1820
|
reason:,
|
|
1814
1821
|
# The time at which the transfer was returned.
|
|
@@ -1821,6 +1828,7 @@ module Increase
|
|
|
1821
1828
|
sig do
|
|
1822
1829
|
override.returns(
|
|
1823
1830
|
{
|
|
1831
|
+
raw_reason_code: String,
|
|
1824
1832
|
reason:
|
|
1825
1833
|
Increase::InboundACHTransfer::TransferReturn::Reason::TaggedSymbol,
|
|
1826
1834
|
returned_at: Time,
|