increase 1.356.0 → 1.358.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 +2 -2
- data/lib/increase/internal/transport/base_client.rb +1 -2
- data/lib/increase/models/account_statement.rb +12 -8
- data/lib/increase/models/card.rb +106 -1
- data/lib/increase/models/card_create_params.rb +63 -1
- data/lib/increase/models/card_payment.rb +37 -1
- data/lib/increase/models/card_renew_params.rb +22 -0
- data/lib/increase/models/check_deposit.rb +3 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_card_profile.rb +12 -9
- data/lib/increase/models/digital_card_profile_clone_params.rb +12 -9
- data/lib/increase/models/digital_card_profile_create_params.rb +12 -9
- data/lib/increase/models/entity_create_params.rb +8 -4
- data/lib/increase/models/entity_update_params.rb +8 -4
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +7 -4
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/export.rb +12 -12
- data/lib/increase/models/export_create_params.rb +19 -18
- data/lib/increase/models/file.rb +1 -1
- data/lib/increase/models/file_create_params.rb +1 -1
- data/lib/increase/models/file_list_params.rb +1 -1
- data/lib/increase/models/inbound_check_deposit.rb +9 -7
- data/lib/increase/models/inbound_fednow_transfer.rb +12 -3
- data/lib/increase/models/pending_transaction.rb +9 -6
- data/lib/increase/models/physical_card.rb +32 -2
- data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/transaction.rb +24 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/cards.rb +29 -1
- data/lib/increase/resources/digital_card_profiles.rb +12 -8
- data/lib/increase/resources/events.rb +2 -2
- data/lib/increase/resources/files.rb +3 -1
- data/lib/increase/resources/intrafi_account_enrollments.rb +2 -2
- data/lib/increase/resources/physical_card_profiles.rb +1 -1
- data/lib/increase/resources/supplemental_documents.rb +2 -2
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/models/account_statement.rbi +12 -8
- data/rbi/increase/models/card.rbi +162 -0
- data/rbi/increase/models/card_create_params.rbi +120 -0
- data/rbi/increase/models/card_payment.rbi +85 -1
- data/rbi/increase/models/card_renew_params.rbi +40 -0
- data/rbi/increase/models/check_deposit.rbi +7 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_card_profile.rbi +10 -8
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +13 -11
- data/rbi/increase/models/digital_card_profile_create_params.rbi +13 -8
- data/rbi/increase/models/entity_create_params.rbi +8 -4
- data/rbi/increase/models/entity_update_params.rbi +8 -4
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +11 -4
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/export.rbi +12 -12
- data/rbi/increase/models/export_create_params.rbi +18 -18
- data/rbi/increase/models/file.rbi +1 -1
- data/rbi/increase/models/file_create_params.rbi +1 -1
- data/rbi/increase/models/file_list_params.rbi +1 -1
- data/rbi/increase/models/inbound_check_deposit.rbi +13 -6
- data/rbi/increase/models/inbound_fednow_transfer.rbi +10 -2
- data/rbi/increase/models/pending_transaction.rbi +13 -6
- data/rbi/increase/models/physical_card.rbi +28 -0
- data/rbi/increase/models/simulations/check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/transaction.rbi +56 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/cards.rbi +22 -0
- data/rbi/increase/resources/digital_card_profiles.rbi +10 -8
- data/rbi/increase/resources/events.rbi +2 -2
- data/rbi/increase/resources/files.rbi +3 -1
- data/rbi/increase/resources/intrafi_account_enrollments.rbi +2 -2
- data/rbi/increase/resources/physical_card_profiles.rbi +1 -1
- data/rbi/increase/resources/supplemental_documents.rbi +2 -2
- data/sig/increase/models/card.rbs +79 -0
- data/sig/increase/models/card_create_params.rbs +52 -1
- data/sig/increase/models/card_payment.rbs +49 -1
- data/sig/increase/models/card_renew_params.rbs +23 -0
- data/sig/increase/models/check_deposit.rbs +8 -1
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_card_profile.rbs +5 -5
- data/sig/increase/models/digital_card_profile_clone_params.rbs +7 -7
- data/sig/increase/models/digital_card_profile_create_params.rbs +7 -5
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/file.rbs +1 -1
- data/sig/increase/models/file_create_params.rbs +1 -1
- data/sig/increase/models/file_list_params.rbs +1 -1
- data/sig/increase/models/inbound_check_deposit.rbs +12 -9
- data/sig/increase/models/inbound_fednow_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +4 -0
- data/sig/increase/models/physical_card.rbs +15 -0
- data/sig/increase/models/simulations/check_deposit_adjustment_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +4 -1
- data/sig/increase/models/transaction.rbs +32 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/cards.rbs +6 -0
- data/sig/increase/resources/digital_card_profiles.rbs +2 -2
- metadata +5 -2
|
@@ -82,6 +82,18 @@ module Increase
|
|
|
82
82
|
sig { params(entity_id: String).void }
|
|
83
83
|
attr_writer :entity_id
|
|
84
84
|
|
|
85
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
86
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
87
|
+
sig { returns(T.nilable(Increase::CardCreateParams::ReplacementFor)) }
|
|
88
|
+
attr_reader :replacement_for
|
|
89
|
+
|
|
90
|
+
sig do
|
|
91
|
+
params(
|
|
92
|
+
replacement_for: Increase::CardCreateParams::ReplacementFor::OrHash
|
|
93
|
+
).void
|
|
94
|
+
end
|
|
95
|
+
attr_writer :replacement_for
|
|
96
|
+
|
|
85
97
|
sig do
|
|
86
98
|
params(
|
|
87
99
|
account_id: String,
|
|
@@ -92,6 +104,7 @@ module Increase
|
|
|
92
104
|
description: String,
|
|
93
105
|
digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
|
|
94
106
|
entity_id: String,
|
|
107
|
+
replacement_for: Increase::CardCreateParams::ReplacementFor::OrHash,
|
|
95
108
|
request_options: Increase::RequestOptions::OrHash
|
|
96
109
|
).returns(T.attached_class)
|
|
97
110
|
end
|
|
@@ -116,6 +129,9 @@ module Increase
|
|
|
116
129
|
# The Entity the card belongs to. You only need to supply this in rare situations
|
|
117
130
|
# when the card is not for the Account holder.
|
|
118
131
|
entity_id: nil,
|
|
132
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
133
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
134
|
+
replacement_for: nil,
|
|
119
135
|
request_options: {}
|
|
120
136
|
)
|
|
121
137
|
end
|
|
@@ -131,6 +147,7 @@ module Increase
|
|
|
131
147
|
description: String,
|
|
132
148
|
digital_wallet: Increase::CardCreateParams::DigitalWallet,
|
|
133
149
|
entity_id: String,
|
|
150
|
+
replacement_for: Increase::CardCreateParams::ReplacementFor,
|
|
134
151
|
request_options: Increase::RequestOptions
|
|
135
152
|
}
|
|
136
153
|
)
|
|
@@ -1387,6 +1404,109 @@ module Increase
|
|
|
1387
1404
|
def to_hash
|
|
1388
1405
|
end
|
|
1389
1406
|
end
|
|
1407
|
+
|
|
1408
|
+
class ReplacementFor < Increase::Internal::Type::BaseModel
|
|
1409
|
+
OrHash =
|
|
1410
|
+
T.type_alias do
|
|
1411
|
+
T.any(
|
|
1412
|
+
Increase::CardCreateParams::ReplacementFor,
|
|
1413
|
+
Increase::Internal::AnyHash
|
|
1414
|
+
)
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
# The identifier of the Card being replaced.
|
|
1418
|
+
sig { returns(String) }
|
|
1419
|
+
attr_accessor :card_id
|
|
1420
|
+
|
|
1421
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
1422
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
1423
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
1424
|
+
sig do
|
|
1425
|
+
returns(Increase::CardCreateParams::ReplacementFor::Reason::OrSymbol)
|
|
1426
|
+
end
|
|
1427
|
+
attr_accessor :reason
|
|
1428
|
+
|
|
1429
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
1430
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
1431
|
+
sig do
|
|
1432
|
+
params(
|
|
1433
|
+
card_id: String,
|
|
1434
|
+
reason: Increase::CardCreateParams::ReplacementFor::Reason::OrSymbol
|
|
1435
|
+
).returns(T.attached_class)
|
|
1436
|
+
end
|
|
1437
|
+
def self.new(
|
|
1438
|
+
# The identifier of the Card being replaced.
|
|
1439
|
+
card_id:,
|
|
1440
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
1441
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
1442
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
1443
|
+
reason:
|
|
1444
|
+
)
|
|
1445
|
+
end
|
|
1446
|
+
|
|
1447
|
+
sig do
|
|
1448
|
+
override.returns(
|
|
1449
|
+
{
|
|
1450
|
+
card_id: String,
|
|
1451
|
+
reason:
|
|
1452
|
+
Increase::CardCreateParams::ReplacementFor::Reason::OrSymbol
|
|
1453
|
+
}
|
|
1454
|
+
)
|
|
1455
|
+
end
|
|
1456
|
+
def to_hash
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1459
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
1460
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
1461
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
1462
|
+
module Reason
|
|
1463
|
+
extend Increase::Internal::Type::Enum
|
|
1464
|
+
|
|
1465
|
+
TaggedSymbol =
|
|
1466
|
+
T.type_alias do
|
|
1467
|
+
T.all(Symbol, Increase::CardCreateParams::ReplacementFor::Reason)
|
|
1468
|
+
end
|
|
1469
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1470
|
+
|
|
1471
|
+
# The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
|
|
1472
|
+
EXPIRING =
|
|
1473
|
+
T.let(
|
|
1474
|
+
:expiring,
|
|
1475
|
+
Increase::CardCreateParams::ReplacementFor::Reason::TaggedSymbol
|
|
1476
|
+
)
|
|
1477
|
+
|
|
1478
|
+
# The replaced card was lost. Merchants will not be notified of the new card.
|
|
1479
|
+
LOST =
|
|
1480
|
+
T.let(
|
|
1481
|
+
:lost,
|
|
1482
|
+
Increase::CardCreateParams::ReplacementFor::Reason::TaggedSymbol
|
|
1483
|
+
)
|
|
1484
|
+
|
|
1485
|
+
# The replaced card was stolen. Merchants will not be notified of the new card.
|
|
1486
|
+
STOLEN =
|
|
1487
|
+
T.let(
|
|
1488
|
+
:stolen,
|
|
1489
|
+
Increase::CardCreateParams::ReplacementFor::Reason::TaggedSymbol
|
|
1490
|
+
)
|
|
1491
|
+
|
|
1492
|
+
# The replaced card was used fraudulently. Merchants will not be notified of the new card.
|
|
1493
|
+
FRAUD =
|
|
1494
|
+
T.let(
|
|
1495
|
+
:fraud,
|
|
1496
|
+
Increase::CardCreateParams::ReplacementFor::Reason::TaggedSymbol
|
|
1497
|
+
)
|
|
1498
|
+
|
|
1499
|
+
sig do
|
|
1500
|
+
override.returns(
|
|
1501
|
+
T::Array[
|
|
1502
|
+
Increase::CardCreateParams::ReplacementFor::Reason::TaggedSymbol
|
|
1503
|
+
]
|
|
1504
|
+
)
|
|
1505
|
+
end
|
|
1506
|
+
def self.values
|
|
1507
|
+
end
|
|
1508
|
+
end
|
|
1509
|
+
end
|
|
1390
1510
|
end
|
|
1391
1511
|
end
|
|
1392
1512
|
end
|
|
@@ -1295,7 +1295,7 @@ module Increase
|
|
|
1295
1295
|
Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod::TaggedSymbol
|
|
1296
1296
|
)
|
|
1297
1297
|
|
|
1298
|
-
# The one-time code
|
|
1298
|
+
# The one-time code could not be delivered because the card has no phone number or email on file.
|
|
1299
1299
|
NONE_AVAILABLE =
|
|
1300
1300
|
T.let(
|
|
1301
1301
|
:none_available,
|
|
@@ -4960,6 +4960,13 @@ module Increase
|
|
|
4960
4960
|
Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
|
|
4961
4961
|
)
|
|
4962
4962
|
|
|
4963
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
4964
|
+
PULSE_TOKENIZATION_FEE =
|
|
4965
|
+
T.let(
|
|
4966
|
+
:pulse_tokenization_fee,
|
|
4967
|
+
Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
|
|
4968
|
+
)
|
|
4969
|
+
|
|
4963
4970
|
sig do
|
|
4964
4971
|
override.returns(
|
|
4965
4972
|
T::Array[
|
|
@@ -7731,6 +7738,13 @@ module Increase
|
|
|
7731
7738
|
Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
|
|
7732
7739
|
)
|
|
7733
7740
|
|
|
7741
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
7742
|
+
PULSE_TOKENIZATION_FEE =
|
|
7743
|
+
T.let(
|
|
7744
|
+
:pulse_tokenization_fee,
|
|
7745
|
+
Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
|
|
7746
|
+
)
|
|
7747
|
+
|
|
7734
7748
|
sig do
|
|
7735
7749
|
override.returns(
|
|
7736
7750
|
T::Array[
|
|
@@ -10825,6 +10839,13 @@ module Increase
|
|
|
10825
10839
|
Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
10826
10840
|
)
|
|
10827
10841
|
|
|
10842
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
10843
|
+
PULSE_TOKENIZATION_FEE =
|
|
10844
|
+
T.let(
|
|
10845
|
+
:pulse_tokenization_fee,
|
|
10846
|
+
Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
10847
|
+
)
|
|
10848
|
+
|
|
10828
10849
|
sig do
|
|
10829
10850
|
override.returns(
|
|
10830
10851
|
T::Array[
|
|
@@ -13618,6 +13639,13 @@ module Increase
|
|
|
13618
13639
|
Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
|
|
13619
13640
|
)
|
|
13620
13641
|
|
|
13642
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
13643
|
+
PULSE_TOKENIZATION_FEE =
|
|
13644
|
+
T.let(
|
|
13645
|
+
:pulse_tokenization_fee,
|
|
13646
|
+
Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
|
|
13647
|
+
)
|
|
13648
|
+
|
|
13621
13649
|
sig do
|
|
13622
13650
|
override.returns(
|
|
13623
13651
|
T::Array[
|
|
@@ -14687,6 +14715,13 @@ module Increase
|
|
|
14687
14715
|
Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
|
|
14688
14716
|
)
|
|
14689
14717
|
|
|
14718
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
14719
|
+
PULSE_TOKENIZATION_FEE =
|
|
14720
|
+
T.let(
|
|
14721
|
+
:pulse_tokenization_fee,
|
|
14722
|
+
Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
|
|
14723
|
+
)
|
|
14724
|
+
|
|
14690
14725
|
sig do
|
|
14691
14726
|
override.returns(
|
|
14692
14727
|
T::Array[
|
|
@@ -16250,6 +16285,13 @@ module Increase
|
|
|
16250
16285
|
Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
|
|
16251
16286
|
)
|
|
16252
16287
|
|
|
16288
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
16289
|
+
PULSE_TOKENIZATION_FEE =
|
|
16290
|
+
T.let(
|
|
16291
|
+
:pulse_tokenization_fee,
|
|
16292
|
+
Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
|
|
16293
|
+
)
|
|
16294
|
+
|
|
16253
16295
|
sig do
|
|
16254
16296
|
override.returns(
|
|
16255
16297
|
T::Array[
|
|
@@ -18931,6 +18973,13 @@ module Increase
|
|
|
18931
18973
|
Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
|
|
18932
18974
|
)
|
|
18933
18975
|
|
|
18976
|
+
# Visa Recurrent reference identifier
|
|
18977
|
+
VISA_RECURRENT_REFERENCE_IDENTIFIER =
|
|
18978
|
+
T.let(
|
|
18979
|
+
:visa_recurrent_reference_identifier,
|
|
18980
|
+
Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
|
|
18981
|
+
)
|
|
18982
|
+
|
|
18934
18983
|
sig do
|
|
18935
18984
|
override.returns(
|
|
18936
18985
|
T::Array[
|
|
@@ -20161,6 +20210,13 @@ module Increase
|
|
|
20161
20210
|
Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
|
|
20162
20211
|
)
|
|
20163
20212
|
|
|
20213
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
20214
|
+
PULSE_TOKENIZATION_FEE =
|
|
20215
|
+
T.let(
|
|
20216
|
+
:pulse_tokenization_fee,
|
|
20217
|
+
Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
|
|
20218
|
+
)
|
|
20219
|
+
|
|
20164
20220
|
sig do
|
|
20165
20221
|
override.returns(
|
|
20166
20222
|
T::Array[
|
|
@@ -21017,6 +21073,13 @@ module Increase
|
|
|
21017
21073
|
Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
|
|
21018
21074
|
)
|
|
21019
21075
|
|
|
21076
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
21077
|
+
PULSE_TOKENIZATION_FEE =
|
|
21078
|
+
T.let(
|
|
21079
|
+
:pulse_tokenization_fee,
|
|
21080
|
+
Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
|
|
21081
|
+
)
|
|
21082
|
+
|
|
21020
21083
|
sig do
|
|
21021
21084
|
override.returns(
|
|
21022
21085
|
T::Array[
|
|
@@ -23757,6 +23820,13 @@ module Increase
|
|
|
23757
23820
|
Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
|
|
23758
23821
|
)
|
|
23759
23822
|
|
|
23823
|
+
# Visa Recurrent reference identifier
|
|
23824
|
+
VISA_RECURRENT_REFERENCE_IDENTIFIER =
|
|
23825
|
+
T.let(
|
|
23826
|
+
:visa_recurrent_reference_identifier,
|
|
23827
|
+
Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
|
|
23828
|
+
)
|
|
23829
|
+
|
|
23760
23830
|
sig do
|
|
23761
23831
|
override.returns(
|
|
23762
23832
|
T::Array[
|
|
@@ -24987,6 +25057,13 @@ module Increase
|
|
|
24987
25057
|
Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
|
|
24988
25058
|
)
|
|
24989
25059
|
|
|
25060
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
25061
|
+
PULSE_TOKENIZATION_FEE =
|
|
25062
|
+
T.let(
|
|
25063
|
+
:pulse_tokenization_fee,
|
|
25064
|
+
Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
|
|
25065
|
+
)
|
|
25066
|
+
|
|
24990
25067
|
sig do
|
|
24991
25068
|
override.returns(
|
|
24992
25069
|
T::Array[
|
|
@@ -27258,6 +27335,13 @@ module Increase
|
|
|
27258
27335
|
Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
|
|
27259
27336
|
)
|
|
27260
27337
|
|
|
27338
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
27339
|
+
PULSE_TOKENIZATION_FEE =
|
|
27340
|
+
T.let(
|
|
27341
|
+
:pulse_tokenization_fee,
|
|
27342
|
+
Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
|
|
27343
|
+
)
|
|
27344
|
+
|
|
27261
27345
|
sig do
|
|
27262
27346
|
override.returns(
|
|
27263
27347
|
T::Array[
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CardRenewParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CardRenewParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The identifier of the Card to renew.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :card_id
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
params(
|
|
20
|
+
card_id: String,
|
|
21
|
+
request_options: Increase::RequestOptions::OrHash
|
|
22
|
+
).returns(T.attached_class)
|
|
23
|
+
end
|
|
24
|
+
def self.new(
|
|
25
|
+
# The identifier of the Card to renew.
|
|
26
|
+
card_id:,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
override.returns(
|
|
33
|
+
{ card_id: String, request_options: Increase::RequestOptions }
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
def to_hash
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -488,6 +488,13 @@ module Increase
|
|
|
488
488
|
Increase::CheckDeposit::DepositAdjustment::Reason::TaggedSymbol
|
|
489
489
|
)
|
|
490
490
|
|
|
491
|
+
# A previous adjustment for the check was applied twice and the duplicate has been reversed.
|
|
492
|
+
DUPLICATE_ENTRY =
|
|
493
|
+
T.let(
|
|
494
|
+
:duplicate_entry,
|
|
495
|
+
Increase::CheckDeposit::DepositAdjustment::Reason::TaggedSymbol
|
|
496
|
+
)
|
|
497
|
+
|
|
491
498
|
sig do
|
|
492
499
|
override.returns(
|
|
493
500
|
T::Array[
|
|
@@ -3525,6 +3525,13 @@ module Increase
|
|
|
3525
3525
|
Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
3526
3526
|
)
|
|
3527
3527
|
|
|
3528
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
3529
|
+
PULSE_TOKENIZATION_FEE =
|
|
3530
|
+
T.let(
|
|
3531
|
+
:pulse_tokenization_fee,
|
|
3532
|
+
Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
3533
|
+
)
|
|
3534
|
+
|
|
3528
3535
|
sig do
|
|
3529
3536
|
override.returns(
|
|
3530
3537
|
T::Array[
|
|
@@ -28,6 +28,11 @@ module Increase
|
|
|
28
28
|
sig { returns(T.nilable(String)) }
|
|
29
29
|
attr_accessor :contact_email
|
|
30
30
|
|
|
31
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
32
|
+
# for support with their card.
|
|
33
|
+
sig { returns(String) }
|
|
34
|
+
attr_accessor :contact_name
|
|
35
|
+
|
|
31
36
|
# A phone number the user can contact to receive support for their card.
|
|
32
37
|
sig { returns(T.nilable(String)) }
|
|
33
38
|
attr_accessor :contact_phone
|
|
@@ -51,10 +56,6 @@ module Increase
|
|
|
51
56
|
sig { returns(T.nilable(String)) }
|
|
52
57
|
attr_accessor :idempotency_key
|
|
53
58
|
|
|
54
|
-
# A user-facing description for whoever is issuing the card.
|
|
55
|
-
sig { returns(String) }
|
|
56
|
-
attr_accessor :issuer_name
|
|
57
|
-
|
|
58
59
|
# The status of the Card Profile.
|
|
59
60
|
sig { returns(Increase::DigitalCardProfile::Status::TaggedSymbol) }
|
|
60
61
|
attr_accessor :status
|
|
@@ -83,12 +84,12 @@ module Increase
|
|
|
83
84
|
background_image_file_id: String,
|
|
84
85
|
card_description: String,
|
|
85
86
|
contact_email: T.nilable(String),
|
|
87
|
+
contact_name: String,
|
|
86
88
|
contact_phone: T.nilable(String),
|
|
87
89
|
contact_website: T.nilable(String),
|
|
88
90
|
created_at: Time,
|
|
89
91
|
description: String,
|
|
90
92
|
idempotency_key: T.nilable(String),
|
|
91
|
-
issuer_name: String,
|
|
92
93
|
status: Increase::DigitalCardProfile::Status::OrSymbol,
|
|
93
94
|
text_color: Increase::DigitalCardProfile::TextColor::OrHash,
|
|
94
95
|
type: Increase::DigitalCardProfile::Type::OrSymbol
|
|
@@ -105,6 +106,9 @@ module Increase
|
|
|
105
106
|
card_description:,
|
|
106
107
|
# An email address the user can contact to receive support for their card.
|
|
107
108
|
contact_email:,
|
|
109
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
110
|
+
# for support with their card.
|
|
111
|
+
contact_name:,
|
|
108
112
|
# A phone number the user can contact to receive support for their card.
|
|
109
113
|
contact_phone:,
|
|
110
114
|
# A website the user can visit to view and receive support for their card.
|
|
@@ -118,8 +122,6 @@ module Increase
|
|
|
118
122
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
119
123
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
120
124
|
idempotency_key:,
|
|
121
|
-
# A user-facing description for whoever is issuing the card.
|
|
122
|
-
issuer_name:,
|
|
123
125
|
# The status of the Card Profile.
|
|
124
126
|
status:,
|
|
125
127
|
# The Card's text color, specified as an RGB triple.
|
|
@@ -138,12 +140,12 @@ module Increase
|
|
|
138
140
|
background_image_file_id: String,
|
|
139
141
|
card_description: String,
|
|
140
142
|
contact_email: T.nilable(String),
|
|
143
|
+
contact_name: String,
|
|
141
144
|
contact_phone: T.nilable(String),
|
|
142
145
|
contact_website: T.nilable(String),
|
|
143
146
|
created_at: Time,
|
|
144
147
|
description: String,
|
|
145
148
|
idempotency_key: T.nilable(String),
|
|
146
|
-
issuer_name: String,
|
|
147
149
|
status: Increase::DigitalCardProfile::Status::TaggedSymbol,
|
|
148
150
|
text_color: Increase::DigitalCardProfile::TextColor,
|
|
149
151
|
type: Increase::DigitalCardProfile::Type::TaggedSymbol
|
|
@@ -46,6 +46,14 @@ module Increase
|
|
|
46
46
|
sig { params(contact_email: String).void }
|
|
47
47
|
attr_writer :contact_email
|
|
48
48
|
|
|
49
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
50
|
+
# for support with their card.
|
|
51
|
+
sig { returns(T.nilable(String)) }
|
|
52
|
+
attr_reader :contact_name
|
|
53
|
+
|
|
54
|
+
sig { params(contact_name: String).void }
|
|
55
|
+
attr_writer :contact_name
|
|
56
|
+
|
|
49
57
|
# A phone number the user can contact to receive support for their card.
|
|
50
58
|
sig { returns(T.nilable(String)) }
|
|
51
59
|
attr_reader :contact_phone
|
|
@@ -67,13 +75,6 @@ module Increase
|
|
|
67
75
|
sig { params(description: String).void }
|
|
68
76
|
attr_writer :description
|
|
69
77
|
|
|
70
|
-
# A user-facing description for whoever is issuing the card.
|
|
71
|
-
sig { returns(T.nilable(String)) }
|
|
72
|
-
attr_reader :issuer_name
|
|
73
|
-
|
|
74
|
-
sig { params(issuer_name: String).void }
|
|
75
|
-
attr_writer :issuer_name
|
|
76
|
-
|
|
77
78
|
# The Card's text color, specified as an RGB triple. The default is white.
|
|
78
79
|
sig do
|
|
79
80
|
returns(T.nilable(Increase::DigitalCardProfileCloneParams::TextColor))
|
|
@@ -94,10 +95,10 @@ module Increase
|
|
|
94
95
|
background_image_file_id: String,
|
|
95
96
|
card_description: String,
|
|
96
97
|
contact_email: String,
|
|
98
|
+
contact_name: String,
|
|
97
99
|
contact_phone: String,
|
|
98
100
|
contact_website: String,
|
|
99
101
|
description: String,
|
|
100
|
-
issuer_name: String,
|
|
101
102
|
text_color:
|
|
102
103
|
Increase::DigitalCardProfileCloneParams::TextColor::OrHash,
|
|
103
104
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -114,14 +115,15 @@ module Increase
|
|
|
114
115
|
card_description: nil,
|
|
115
116
|
# An email address the user can contact to receive support for their card.
|
|
116
117
|
contact_email: nil,
|
|
118
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
119
|
+
# for support with their card.
|
|
120
|
+
contact_name: nil,
|
|
117
121
|
# A phone number the user can contact to receive support for their card.
|
|
118
122
|
contact_phone: nil,
|
|
119
123
|
# A website the user can visit to view and receive support for their card.
|
|
120
124
|
contact_website: nil,
|
|
121
125
|
# A description you can use to identify the Card Profile.
|
|
122
126
|
description: nil,
|
|
123
|
-
# A user-facing description for whoever is issuing the card.
|
|
124
|
-
issuer_name: nil,
|
|
125
127
|
# The Card's text color, specified as an RGB triple. The default is white.
|
|
126
128
|
text_color: nil,
|
|
127
129
|
request_options: {}
|
|
@@ -136,10 +138,10 @@ module Increase
|
|
|
136
138
|
background_image_file_id: String,
|
|
137
139
|
card_description: String,
|
|
138
140
|
contact_email: String,
|
|
141
|
+
contact_name: String,
|
|
139
142
|
contact_phone: String,
|
|
140
143
|
contact_website: String,
|
|
141
144
|
description: String,
|
|
142
|
-
issuer_name: String,
|
|
143
145
|
text_color: Increase::DigitalCardProfileCloneParams::TextColor,
|
|
144
146
|
request_options: Increase::RequestOptions
|
|
145
147
|
}
|
|
@@ -30,10 +30,6 @@ module Increase
|
|
|
30
30
|
sig { returns(String) }
|
|
31
31
|
attr_accessor :description
|
|
32
32
|
|
|
33
|
-
# A user-facing description for whoever is issuing the card.
|
|
34
|
-
sig { returns(String) }
|
|
35
|
-
attr_accessor :issuer_name
|
|
36
|
-
|
|
37
33
|
# An email address the user can contact to receive support for their card.
|
|
38
34
|
sig { returns(T.nilable(String)) }
|
|
39
35
|
attr_reader :contact_email
|
|
@@ -41,6 +37,14 @@ module Increase
|
|
|
41
37
|
sig { params(contact_email: String).void }
|
|
42
38
|
attr_writer :contact_email
|
|
43
39
|
|
|
40
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
41
|
+
# for support with their card.
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
attr_reader :contact_name
|
|
44
|
+
|
|
45
|
+
sig { params(contact_name: String).void }
|
|
46
|
+
attr_writer :contact_name
|
|
47
|
+
|
|
44
48
|
# A phone number the user can contact to receive support for their card.
|
|
45
49
|
sig { returns(T.nilable(String)) }
|
|
46
50
|
attr_reader :contact_phone
|
|
@@ -75,8 +79,8 @@ module Increase
|
|
|
75
79
|
background_image_file_id: String,
|
|
76
80
|
card_description: String,
|
|
77
81
|
description: String,
|
|
78
|
-
issuer_name: String,
|
|
79
82
|
contact_email: String,
|
|
83
|
+
contact_name: String,
|
|
80
84
|
contact_phone: String,
|
|
81
85
|
contact_website: String,
|
|
82
86
|
text_color:
|
|
@@ -93,10 +97,11 @@ module Increase
|
|
|
93
97
|
card_description:,
|
|
94
98
|
# A description you can use to identify the Card Profile.
|
|
95
99
|
description:,
|
|
96
|
-
# A user-facing description for whoever is issuing the card.
|
|
97
|
-
issuer_name:,
|
|
98
100
|
# An email address the user can contact to receive support for their card.
|
|
99
101
|
contact_email: nil,
|
|
102
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
103
|
+
# for support with their card.
|
|
104
|
+
contact_name: nil,
|
|
100
105
|
# A phone number the user can contact to receive support for their card.
|
|
101
106
|
contact_phone: nil,
|
|
102
107
|
# A website the user can visit to view and receive support for their card.
|
|
@@ -114,8 +119,8 @@ module Increase
|
|
|
114
119
|
background_image_file_id: String,
|
|
115
120
|
card_description: String,
|
|
116
121
|
description: String,
|
|
117
|
-
issuer_name: String,
|
|
118
122
|
contact_email: String,
|
|
123
|
+
contact_name: String,
|
|
119
124
|
contact_phone: String,
|
|
120
125
|
contact_website: String,
|
|
121
126
|
text_color: Increase::DigitalCardProfileCreateParams::TextColor,
|
|
@@ -396,7 +396,8 @@ module Increase
|
|
|
396
396
|
|
|
397
397
|
# The North American Industry Classification System (NAICS) code for the
|
|
398
398
|
# corporation's primary line of business. This is a number, like `5132` for
|
|
399
|
-
# `Software Publishers`.
|
|
399
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
400
|
+
# classification codes is available
|
|
400
401
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
401
402
|
sig { returns(T.nilable(String)) }
|
|
402
403
|
attr_reader :industry_code
|
|
@@ -461,7 +462,8 @@ module Increase
|
|
|
461
462
|
incorporation_state: nil,
|
|
462
463
|
# The North American Industry Classification System (NAICS) code for the
|
|
463
464
|
# corporation's primary line of business. This is a number, like `5132` for
|
|
464
|
-
# `Software Publishers`.
|
|
465
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
466
|
+
# classification codes is available
|
|
465
467
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
466
468
|
industry_code: nil,
|
|
467
469
|
# A website for the business. Not every program requires a website for submitted
|
|
@@ -3102,7 +3104,8 @@ module Increase
|
|
|
3102
3104
|
|
|
3103
3105
|
# The North American Industry Classification System (NAICS) code for the sole
|
|
3104
3106
|
# proprietorship's primary line of business. This is a number, like `5132` for
|
|
3105
|
-
# `Software Publishers`.
|
|
3107
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
3108
|
+
# classification codes is available
|
|
3106
3109
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
3107
3110
|
sig { returns(T.nilable(String)) }
|
|
3108
3111
|
attr_reader :industry_code
|
|
@@ -3156,7 +3159,8 @@ module Increase
|
|
|
3156
3159
|
email: nil,
|
|
3157
3160
|
# The North American Industry Classification System (NAICS) code for the sole
|
|
3158
3161
|
# proprietorship's primary line of business. This is a number, like `5132` for
|
|
3159
|
-
# `Software Publishers`.
|
|
3162
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
3163
|
+
# classification codes is available
|
|
3160
3164
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
3161
3165
|
industry_code: nil,
|
|
3162
3166
|
# The United States Employer Identification Number (EIN) for the sole
|
|
@@ -251,7 +251,8 @@ module Increase
|
|
|
251
251
|
|
|
252
252
|
# The North American Industry Classification System (NAICS) code for the
|
|
253
253
|
# corporation's primary line of business. This is a number, like `5132` for
|
|
254
|
-
# `Software Publishers`.
|
|
254
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
255
|
+
# classification codes is available
|
|
255
256
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
256
257
|
sig { returns(T.nilable(String)) }
|
|
257
258
|
attr_reader :industry_code
|
|
@@ -319,7 +320,8 @@ module Increase
|
|
|
319
320
|
incorporation_state: nil,
|
|
320
321
|
# The North American Industry Classification System (NAICS) code for the
|
|
321
322
|
# corporation's primary line of business. This is a number, like `5132` for
|
|
322
|
-
# `Software Publishers`.
|
|
323
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
324
|
+
# classification codes is available
|
|
323
325
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
324
326
|
industry_code: nil,
|
|
325
327
|
# The legal identifier of the corporation. This is usually the Employer
|
|
@@ -1406,7 +1408,8 @@ module Increase
|
|
|
1406
1408
|
|
|
1407
1409
|
# The North American Industry Classification System (NAICS) code for the sole
|
|
1408
1410
|
# proprietorship's primary line of business. This is a number, like `5132` for
|
|
1409
|
-
# `Software Publishers`.
|
|
1411
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
1412
|
+
# classification codes is available
|
|
1410
1413
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
1411
1414
|
sig { returns(T.nilable(String)) }
|
|
1412
1415
|
attr_reader :industry_code
|
|
@@ -1471,7 +1474,8 @@ module Increase
|
|
|
1471
1474
|
email: nil,
|
|
1472
1475
|
# The North American Industry Classification System (NAICS) code for the sole
|
|
1473
1476
|
# proprietorship's primary line of business. This is a number, like `5132` for
|
|
1474
|
-
# `Software Publishers`.
|
|
1477
|
+
# `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
|
|
1478
|
+
# classification codes is available
|
|
1475
1479
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
1476
1480
|
industry_code: nil,
|
|
1477
1481
|
# Details of the individual who operates the sole proprietorship.
|