increase 1.254.0 → 1.256.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1636bd0aa7c9344a6c92012b0ff9165a3c8dc5481d18005bf4d1809c7c83e984
4
- data.tar.gz: fdf74a2a3a704098357f9ff36697596e85216cc5d76beeb3d4f537916faa813b
3
+ metadata.gz: ad61ffa708cc356497acc0d0a9cae7721245e62553ffd4df80f25fa966e75317
4
+ data.tar.gz: ca76dd5b991285b0a21f821b77a90604c7039cbc9cc064b74d94581d035cd077
5
5
  SHA512:
6
- metadata.gz: adfa9359b3f0fc998e2cd6bb747c485c886d56ef89a7cca991c664df49d6265385fe6518c5f6ebf3c07fbdaf93a4799a9e5763d5190c523078c219993b2483c4
7
- data.tar.gz: b516fde382a7a7a1001d68c72305d0c867085079ece74e4778d0ee659e0a83c1f11b402b6dd3de036752b4b06134db0b210da98792a4502dd1b618ae2163c750
6
+ metadata.gz: 27498b24a428c88e91771be7f1c0fb5b29b57411210b75a0b6f487578e6fe9cd2493fe1d77b26154b4ba3dbb0870bb0ed9eea631058bd0383ea43a0107ff1dde
7
+ data.tar.gz: 76d960e6e27ad1208773e05bb88f88bd68a0b64858ad1d34c59be888ea86ca64a95165d51420ba03e756d54cbe3c0e7f660c171893c6cac9e8d76aaf9b03aeb7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.256.0 (2026-03-16)
4
+
5
+ Full Changelog: [v1.255.0...v1.256.0](https://github.com/Increase/increase-ruby/compare/v1.255.0...v1.256.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([bdfa9c5](https://github.com/Increase/increase-ruby/commit/bdfa9c5ba103eab87eca3e207beb057765766053))
10
+
11
+ ## 1.255.0 (2026-03-13)
12
+
13
+ Full Changelog: [v1.254.0...v1.255.0](https://github.com/Increase/increase-ruby/compare/v1.254.0...v1.255.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([fb7738c](https://github.com/Increase/increase-ruby/commit/fb7738cf952c59634ae2c60442d3b0060d8c23b8))
18
+
3
19
  ## 1.254.0 (2026-03-13)
4
20
 
5
21
  Full Changelog: [v1.253.0...v1.254.0](https://github.com/Increase/increase-ruby/compare/v1.253.0...v1.254.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.254.0"
18
+ gem "increase", "~> 1.256.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -136,6 +136,12 @@ module Increase
136
136
  # @return [String]
137
137
  required :recipient_name, String
138
138
 
139
+ # @!attribute route
140
+ # The card network route used for the transfer.
141
+ #
142
+ # @return [Symbol, Increase::Models::CardPushTransfer::Route]
143
+ required :route, enum: -> { Increase::CardPushTransfer::Route }
144
+
139
145
  # @!attribute sender_address_city
140
146
  # The city of the sender.
141
147
  #
@@ -192,7 +198,7 @@ module Increase
192
198
  # @return [Symbol, Increase::Models::CardPushTransfer::Type]
193
199
  required :type, enum: -> { Increase::CardPushTransfer::Type }
194
200
 
195
- # @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, card_token_id:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
201
+ # @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, card_token_id:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, route:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
196
202
  # Some parameter documentations has been truncated, see
197
203
  # {Increase::Models::CardPushTransfer} for more details.
198
204
  #
@@ -236,6 +242,8 @@ module Increase
236
242
  #
237
243
  # @param recipient_name [String] The name of the funds recipient.
238
244
  #
245
+ # @param route [Symbol, Increase::Models::CardPushTransfer::Route] The card network route used for the transfer.
246
+ #
239
247
  # @param sender_address_city [String] The city of the sender.
240
248
  #
241
249
  # @param sender_address_line1 [String] The address line 1 of the sender.
@@ -1226,6 +1234,22 @@ module Increase
1226
1234
  end
1227
1235
  end
1228
1236
 
1237
+ # The card network route used for the transfer.
1238
+ #
1239
+ # @see Increase::Models::CardPushTransfer#route
1240
+ module Route
1241
+ extend Increase::Internal::Type::Enum
1242
+
1243
+ # Visa and Interlink
1244
+ VISA = :visa
1245
+
1246
+ # Mastercard and Maestro
1247
+ MASTERCARD = :mastercard
1248
+
1249
+ # @!method self.values
1250
+ # @return [Array<Symbol>]
1251
+ end
1252
+
1229
1253
  # The lifecycle status of the transfer.
1230
1254
  #
1231
1255
  # @see Increase::Models::CardPushTransfer#status
@@ -119,6 +119,12 @@ module Increase
119
119
  # @return [String]
120
120
  required :merchant_state, String
121
121
 
122
+ # @!attribute route
123
+ # The card network route used for the validation.
124
+ #
125
+ # @return [Symbol, Increase::Models::CardValidation::Route]
126
+ required :route, enum: -> { Increase::CardValidation::Route }
127
+
122
128
  # @!attribute status
123
129
  # The lifecycle status of the validation.
124
130
  #
@@ -139,7 +145,7 @@ module Increase
139
145
  # @return [Symbol, Increase::Models::CardValidation::Type]
140
146
  required :type, enum: -> { Increase::CardValidation::Type }
141
147
 
142
- # @!method initialize(id:, acceptance:, account_id:, card_token_id:, cardholder_first_name:, cardholder_last_name:, cardholder_middle_name:, cardholder_postal_code:, cardholder_street_address:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_postal_code:, merchant_state:, status:, submission:, type:)
148
+ # @!method initialize(id:, acceptance:, account_id:, card_token_id:, cardholder_first_name:, cardholder_last_name:, cardholder_middle_name:, cardholder_postal_code:, cardholder_street_address:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_postal_code:, merchant_state:, route:, status:, submission:, type:)
143
149
  # Some parameter documentations has been truncated, see
144
150
  # {Increase::Models::CardValidation} for more details.
145
151
  #
@@ -182,6 +188,8 @@ module Increase
182
188
  #
183
189
  # @param merchant_state [String] The U.S. state where the merchant (typically your business) is located.
184
190
  #
191
+ # @param route [Symbol, Increase::Models::CardValidation::Route] The card network route used for the validation.
192
+ #
185
193
  # @param status [Symbol, Increase::Models::CardValidation::Status] The lifecycle status of the validation.
186
194
  #
187
195
  # @param submission [Increase::Models::CardValidation::Submission, nil] After the validation is submitted to the card network, this will contain supplem
@@ -688,6 +696,22 @@ module Increase
688
696
  end
689
697
  end
690
698
 
699
+ # The card network route used for the validation.
700
+ #
701
+ # @see Increase::Models::CardValidation#route
702
+ module Route
703
+ extend Increase::Internal::Type::Enum
704
+
705
+ # Visa and Interlink
706
+ VISA = :visa
707
+
708
+ # Mastercard and Maestro
709
+ MASTERCARD = :mastercard
710
+
711
+ # @!method self.values
712
+ # @return [Array<Symbol>]
713
+ end
714
+
691
715
  # The lifecycle status of the validation.
692
716
  #
693
717
  # @see Increase::Models::CardValidation#status
@@ -121,12 +121,19 @@ module Increase
121
121
  # @return [Symbol, Increase::Models::Entity::Type]
122
122
  required :type, enum: -> { Increase::Entity::Type }
123
123
 
124
- # @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:)
124
+ # @!attribute validation
125
+ # The validation results for the entity.
126
+ #
127
+ # @return [Increase::Models::Entity::Validation, nil]
128
+ required :validation, -> { Increase::Entity::Validation }, nil?: true
129
+
130
+ # @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
125
131
  # Some parameter documentations has been truncated, see {Increase::Models::Entity}
126
132
  # for more details.
127
133
  #
128
134
  # Entities are the legal entities that own accounts. They can be people,
129
- # corporations, partnerships, government authorities, or trusts.
135
+ # corporations, partnerships, government authorities, or trusts. To learn more,
136
+ # see [Entities](/documentation/entities).
130
137
  #
131
138
  # @param id [String] The entity's identifier.
132
139
  #
@@ -161,6 +168,8 @@ module Increase
161
168
  # @param trust [Increase::Models::Entity::Trust, nil] Details of the trust entity. Will be present if `structure` is equal to `trust`.
162
169
  #
163
170
  # @param type [Symbol, Increase::Models::Entity::Type] A constant representing the object's type. For this resource it will always be `
171
+ #
172
+ # @param validation [Increase::Models::Entity::Validation, nil] The validation results for the entity.
164
173
 
165
174
  # @see Increase::Models::Entity#corporation
166
175
  class Corporation < Increase::Internal::Type::BaseModel
@@ -1586,6 +1595,210 @@ module Increase
1586
1595
  # @!method self.values
1587
1596
  # @return [Array<Symbol>]
1588
1597
  end
1598
+
1599
+ # @see Increase::Models::Entity#validation
1600
+ class Validation < Increase::Internal::Type::BaseModel
1601
+ # @!attribute issues
1602
+ # The list of issues that need to be addressed.
1603
+ #
1604
+ # @return [Array<Increase::Models::Entity::Validation::Issue>]
1605
+ required :issues, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Validation::Issue] }
1606
+
1607
+ # @!attribute status
1608
+ # The validation status for the entity. If the status is `invalid`, the `issues`
1609
+ # array will be populated.
1610
+ #
1611
+ # @return [Symbol, Increase::Models::Entity::Validation::Status]
1612
+ required :status, enum: -> { Increase::Entity::Validation::Status }
1613
+
1614
+ # @!method initialize(issues:, status:)
1615
+ # Some parameter documentations has been truncated, see
1616
+ # {Increase::Models::Entity::Validation} for more details.
1617
+ #
1618
+ # The validation results for the entity.
1619
+ #
1620
+ # @param issues [Array<Increase::Models::Entity::Validation::Issue>] The list of issues that need to be addressed.
1621
+ #
1622
+ # @param status [Symbol, Increase::Models::Entity::Validation::Status] The validation status for the entity. If the status is `invalid`, the `issues` a
1623
+
1624
+ class Issue < Increase::Internal::Type::BaseModel
1625
+ # @!attribute beneficial_owner_address
1626
+ # Details when the issue is with a beneficial owner's address.
1627
+ #
1628
+ # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil]
1629
+ required :beneficial_owner_address,
1630
+ -> { Increase::Entity::Validation::Issue::BeneficialOwnerAddress },
1631
+ nil?: true
1632
+
1633
+ # @!attribute beneficial_owner_identity
1634
+ # Details when the issue is with a beneficial owner's identity verification.
1635
+ #
1636
+ # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil]
1637
+ required :beneficial_owner_identity,
1638
+ -> { Increase::Entity::Validation::Issue::BeneficialOwnerIdentity },
1639
+ nil?: true
1640
+
1641
+ # @!attribute category
1642
+ # The type of issue. We may add additional possible values for this enum over
1643
+ # time; your application should be able to handle such additions gracefully.
1644
+ #
1645
+ # @return [Symbol, Increase::Models::Entity::Validation::Issue::Category]
1646
+ required :category, enum: -> { Increase::Entity::Validation::Issue::Category }
1647
+
1648
+ # @!attribute entity_address
1649
+ # Details when the issue is with the entity's address.
1650
+ #
1651
+ # @return [Increase::Models::Entity::Validation::Issue::EntityAddress, nil]
1652
+ required :entity_address, -> { Increase::Entity::Validation::Issue::EntityAddress }, nil?: true
1653
+
1654
+ # @!attribute entity_tax_identifier
1655
+ # Details when the issue is with the entity's tax ID.
1656
+ #
1657
+ # @return [Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier, nil]
1658
+ required :entity_tax_identifier,
1659
+ -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier },
1660
+ nil?: true
1661
+
1662
+ # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_tax_identifier:)
1663
+ # Some parameter documentations has been truncated, see
1664
+ # {Increase::Models::Entity::Validation::Issue} for more details.
1665
+ #
1666
+ # @param beneficial_owner_address [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil] Details when the issue is with a beneficial owner's address.
1667
+ #
1668
+ # @param beneficial_owner_identity [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil] Details when the issue is with a beneficial owner's identity verification.
1669
+ #
1670
+ # @param category [Symbol, Increase::Models::Entity::Validation::Issue::Category] The type of issue. We may add additional possible values for this enum over time
1671
+ #
1672
+ # @param entity_address [Increase::Models::Entity::Validation::Issue::EntityAddress, nil] Details when the issue is with the entity's address.
1673
+ #
1674
+ # @param entity_tax_identifier [Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier, nil] Details when the issue is with the entity's tax ID.
1675
+
1676
+ # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_address
1677
+ class BeneficialOwnerAddress < Increase::Internal::Type::BaseModel
1678
+ # @!attribute beneficial_owner_id
1679
+ # The ID of the beneficial owner.
1680
+ #
1681
+ # @return [String]
1682
+ required :beneficial_owner_id, String
1683
+
1684
+ # @!attribute reason
1685
+ # The reason the address is invalid.
1686
+ #
1687
+ # @return [Symbol, Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress::Reason]
1688
+ required :reason, enum: -> { Increase::Entity::Validation::Issue::BeneficialOwnerAddress::Reason }
1689
+
1690
+ # @!method initialize(beneficial_owner_id:, reason:)
1691
+ # Details when the issue is with a beneficial owner's address.
1692
+ #
1693
+ # @param beneficial_owner_id [String] The ID of the beneficial owner.
1694
+ #
1695
+ # @param reason [Symbol, Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress::Reason] The reason the address is invalid.
1696
+
1697
+ # The reason the address is invalid.
1698
+ #
1699
+ # @see Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress#reason
1700
+ module Reason
1701
+ extend Increase::Internal::Type::Enum
1702
+
1703
+ # The address is a mailbox or other non-physical address.
1704
+ MAILBOX_ADDRESS = :mailbox_address
1705
+
1706
+ # @!method self.values
1707
+ # @return [Array<Symbol>]
1708
+ end
1709
+ end
1710
+
1711
+ # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_identity
1712
+ class BeneficialOwnerIdentity < Increase::Internal::Type::BaseModel
1713
+ # @!attribute beneficial_owner_id
1714
+ # The ID of the beneficial owner.
1715
+ #
1716
+ # @return [String]
1717
+ required :beneficial_owner_id, String
1718
+
1719
+ # @!method initialize(beneficial_owner_id:)
1720
+ # Details when the issue is with a beneficial owner's identity verification.
1721
+ #
1722
+ # @param beneficial_owner_id [String] The ID of the beneficial owner.
1723
+ end
1724
+
1725
+ # The type of issue. We may add additional possible values for this enum over
1726
+ # time; your application should be able to handle such additions gracefully.
1727
+ #
1728
+ # @see Increase::Models::Entity::Validation::Issue#category
1729
+ module Category
1730
+ extend Increase::Internal::Type::Enum
1731
+
1732
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
1733
+ ENTITY_TAX_IDENTIFIER = :entity_tax_identifier
1734
+
1735
+ # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
1736
+ ENTITY_ADDRESS = :entity_address
1737
+
1738
+ # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
1739
+ BENEFICIAL_OWNER_IDENTITY = :beneficial_owner_identity
1740
+
1741
+ # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
1742
+ BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address
1743
+
1744
+ # @!method self.values
1745
+ # @return [Array<Symbol>]
1746
+ end
1747
+
1748
+ # @see Increase::Models::Entity::Validation::Issue#entity_address
1749
+ class EntityAddress < Increase::Internal::Type::BaseModel
1750
+ # @!attribute reason
1751
+ # The reason the address is invalid.
1752
+ #
1753
+ # @return [Symbol, Increase::Models::Entity::Validation::Issue::EntityAddress::Reason]
1754
+ required :reason, enum: -> { Increase::Entity::Validation::Issue::EntityAddress::Reason }
1755
+
1756
+ # @!method initialize(reason:)
1757
+ # Details when the issue is with the entity's address.
1758
+ #
1759
+ # @param reason [Symbol, Increase::Models::Entity::Validation::Issue::EntityAddress::Reason] The reason the address is invalid.
1760
+
1761
+ # The reason the address is invalid.
1762
+ #
1763
+ # @see Increase::Models::Entity::Validation::Issue::EntityAddress#reason
1764
+ module Reason
1765
+ extend Increase::Internal::Type::Enum
1766
+
1767
+ # The address is a mailbox or other non-physical address.
1768
+ MAILBOX_ADDRESS = :mailbox_address
1769
+
1770
+ # @!method self.values
1771
+ # @return [Array<Symbol>]
1772
+ end
1773
+ end
1774
+
1775
+ # @see Increase::Models::Entity::Validation::Issue#entity_tax_identifier
1776
+ class EntityTaxIdentifier < Increase::Internal::Type::BaseModel
1777
+ # @!method initialize
1778
+ # Details when the issue is with the entity's tax ID.
1779
+ end
1780
+ end
1781
+
1782
+ # The validation status for the entity. If the status is `invalid`, the `issues`
1783
+ # array will be populated.
1784
+ #
1785
+ # @see Increase::Models::Entity::Validation#status
1786
+ module Status
1787
+ extend Increase::Internal::Type::Enum
1788
+
1789
+ # The submitted data is being validated.
1790
+ PENDING = :pending
1791
+
1792
+ # The submitted data is valid.
1793
+ VALID = :valid
1794
+
1795
+ # Additional information is required to validate the data.
1796
+ INVALID = :invalid
1797
+
1798
+ # @!method self.values
1799
+ # @return [Array<Symbol>]
1800
+ end
1801
+ end
1589
1802
  end
1590
1803
  end
1591
1804
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.254.0"
4
+ VERSION = "1.256.0"
5
5
  end
@@ -149,6 +149,10 @@ module Increase
149
149
  sig { returns(String) }
150
150
  attr_accessor :recipient_name
151
151
 
152
+ # The card network route used for the transfer.
153
+ sig { returns(Increase::CardPushTransfer::Route::TaggedSymbol) }
154
+ attr_accessor :route
155
+
152
156
  # The city of the sender.
153
157
  sig { returns(String) }
154
158
  attr_accessor :sender_address_city
@@ -219,6 +223,7 @@ module Increase
219
223
  presentment_amount:
220
224
  Increase::CardPushTransfer::PresentmentAmount::OrHash,
221
225
  recipient_name: String,
226
+ route: Increase::CardPushTransfer::Route::OrSymbol,
222
227
  sender_address_city: String,
223
228
  sender_address_line1: String,
224
229
  sender_address_postal_code: String,
@@ -286,6 +291,8 @@ module Increase
286
291
  presentment_amount:,
287
292
  # The name of the funds recipient.
288
293
  recipient_name:,
294
+ # The card network route used for the transfer.
295
+ route:,
289
296
  # The city of the sender.
290
297
  sender_address_city:,
291
298
  # The address line 1 of the sender.
@@ -332,6 +339,7 @@ module Increase
332
339
  merchant_state: String,
333
340
  presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
334
341
  recipient_name: String,
342
+ route: Increase::CardPushTransfer::Route::TaggedSymbol,
335
343
  sender_address_city: String,
336
344
  sender_address_line1: String,
337
345
  sender_address_postal_code: String,
@@ -2475,6 +2483,30 @@ module Increase
2475
2483
  end
2476
2484
  end
2477
2485
 
2486
+ # The card network route used for the transfer.
2487
+ module Route
2488
+ extend Increase::Internal::Type::Enum
2489
+
2490
+ TaggedSymbol =
2491
+ T.type_alias { T.all(Symbol, Increase::CardPushTransfer::Route) }
2492
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2493
+
2494
+ # Visa and Interlink
2495
+ VISA = T.let(:visa, Increase::CardPushTransfer::Route::TaggedSymbol)
2496
+
2497
+ # Mastercard and Maestro
2498
+ MASTERCARD =
2499
+ T.let(:mastercard, Increase::CardPushTransfer::Route::TaggedSymbol)
2500
+
2501
+ sig do
2502
+ override.returns(
2503
+ T::Array[Increase::CardPushTransfer::Route::TaggedSymbol]
2504
+ )
2505
+ end
2506
+ def self.values
2507
+ end
2508
+ end
2509
+
2478
2510
  # The lifecycle status of the transfer.
2479
2511
  module Status
2480
2512
  extend Increase::Internal::Type::Enum
@@ -108,6 +108,10 @@ module Increase
108
108
  sig { returns(String) }
109
109
  attr_accessor :merchant_state
110
110
 
111
+ # The card network route used for the validation.
112
+ sig { returns(Increase::CardValidation::Route::TaggedSymbol) }
113
+ attr_accessor :route
114
+
111
115
  # The lifecycle status of the validation.
112
116
  sig { returns(Increase::CardValidation::Status::TaggedSymbol) }
113
117
  attr_accessor :status
@@ -151,6 +155,7 @@ module Increase
151
155
  merchant_name: String,
152
156
  merchant_postal_code: String,
153
157
  merchant_state: String,
158
+ route: Increase::CardValidation::Route::OrSymbol,
154
159
  status: Increase::CardValidation::Status::OrSymbol,
155
160
  submission: T.nilable(Increase::CardValidation::Submission::OrHash),
156
161
  type: Increase::CardValidation::Type::OrSymbol
@@ -200,6 +205,8 @@ module Increase
200
205
  merchant_postal_code:,
201
206
  # The U.S. state where the merchant (typically your business) is located.
202
207
  merchant_state:,
208
+ # The card network route used for the validation.
209
+ route:,
203
210
  # The lifecycle status of the validation.
204
211
  status:,
205
212
  # After the validation is submitted to the card network, this will contain
@@ -232,6 +239,7 @@ module Increase
232
239
  merchant_name: String,
233
240
  merchant_postal_code: String,
234
241
  merchant_state: String,
242
+ route: Increase::CardValidation::Route::TaggedSymbol,
235
243
  status: Increase::CardValidation::Status::TaggedSymbol,
236
244
  submission: T.nilable(Increase::CardValidation::Submission),
237
245
  type: Increase::CardValidation::Type::TaggedSymbol
@@ -1319,6 +1327,30 @@ module Increase
1319
1327
  end
1320
1328
  end
1321
1329
 
1330
+ # The card network route used for the validation.
1331
+ module Route
1332
+ extend Increase::Internal::Type::Enum
1333
+
1334
+ TaggedSymbol =
1335
+ T.type_alias { T.all(Symbol, Increase::CardValidation::Route) }
1336
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1337
+
1338
+ # Visa and Interlink
1339
+ VISA = T.let(:visa, Increase::CardValidation::Route::TaggedSymbol)
1340
+
1341
+ # Mastercard and Maestro
1342
+ MASTERCARD =
1343
+ T.let(:mastercard, Increase::CardValidation::Route::TaggedSymbol)
1344
+
1345
+ sig do
1346
+ override.returns(
1347
+ T::Array[Increase::CardValidation::Route::TaggedSymbol]
1348
+ )
1349
+ end
1350
+ def self.values
1351
+ end
1352
+ end
1353
+
1322
1354
  # The lifecycle status of the validation.
1323
1355
  module Status
1324
1356
  extend Increase::Internal::Type::Enum