increase 1.37.0 → 1.37.1
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 +8 -0
- data/README.md +1 -1
- data/lib/increase/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/increase/internal/type/base_model.rb +1 -8
- data/lib/increase/internal/util.rb +1 -1
- data/lib/increase/models/ach_transfer.rb +1 -3
- data/lib/increase/models/ach_transfer_create_params.rb +2 -6
- data/lib/increase/models/card_payment.rb +25 -88
- data/lib/increase/models/check_transfer.rb +2 -7
- data/lib/increase/models/check_transfer_create_params.rb +2 -7
- data/lib/increase/models/declined_transaction.rb +8 -26
- data/lib/increase/models/entity.rb +1 -3
- data/lib/increase/models/entity_create_beneficial_owner_params.rb +5 -15
- data/lib/increase/models/entity_create_params.rb +14 -47
- data/lib/increase/models/inbound_ach_transfer.rb +6 -19
- data/lib/increase/models/inbound_check_deposit.rb +1 -4
- data/lib/increase/models/pending_transaction.rb +8 -27
- data/lib/increase/models/physical_card.rb +1 -3
- data/lib/increase/models/real_time_decision.rb +5 -18
- data/lib/increase/models/real_time_decision_action_params.rb +2 -8
- data/lib/increase/models/real_time_payments_transfer.rb +1 -4
- data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -10
- data/lib/increase/models/simulations/card_token_create_params.rb +3 -9
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +2 -7
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +1 -3
- data/lib/increase/models/transaction.rb +10 -35
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/errors.rbi +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34fdce325400673a72fc4fd8a9b067272a7495f6ae7e959138cb46bba067ff36
|
|
4
|
+
data.tar.gz: 3c141919c4cc6bd589100dde959ecf7bab2710737831e56697c71c8cf16ab631
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bafea88744b1bbcbb64951a9e1f766b8e75b0037072d7159b476a24ea2c25d017bf21c90ce6ec5994f4ebe2bd26592a88e7e905a57c61801f42f11ed20750aa
|
|
7
|
+
data.tar.gz: 73997316852c6d4b8d56b6fd196b57d550f74f6a5ba0f9d9b52ceed9eac2bab5bb7aa7e1cba4de665786d1ae78fd67b9b13b5faf8c2455fbd5955ca00a6c053b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.37.1 (2025-08-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.37.0...v1.37.1](https://github.com/Increase/increase-ruby/compare/v1.37.0...v1.37.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* bump sorbet version and fix new type errors from the breaking change ([0b9b4ea](https://github.com/Increase/increase-ruby/commit/0b9b4eaee891bbbd8fe56fa7da8b54b6b94c0172))
|
|
10
|
+
|
|
3
11
|
## 1.37.0 (2025-08-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.36.0...v1.37.0](https://github.com/Increase/increase-ruby/compare/v1.36.0...v1.37.0)
|
data/README.md
CHANGED
|
@@ -193,15 +193,7 @@ module Increase
|
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
define_sorbet_constant!(:Request) do
|
|
196
|
-
T.type_alias
|
|
197
|
-
{
|
|
198
|
-
method: Symbol,
|
|
199
|
-
url: URI::Generic,
|
|
200
|
-
headers: T::Hash[String, String],
|
|
201
|
-
body: T.anything,
|
|
202
|
-
deadline: Float
|
|
203
|
-
}
|
|
204
|
-
end
|
|
196
|
+
T.type_alias { {method: Symbol, url: URI::Generic, headers: T::Hash[String, String], body: T.anything, deadline: Float} }
|
|
205
197
|
end
|
|
206
198
|
end
|
|
207
199
|
end
|
|
@@ -64,14 +64,7 @@ module Increase
|
|
|
64
64
|
setter = :"#{name_sym}="
|
|
65
65
|
api_name = info.fetch(:api_name, name_sym)
|
|
66
66
|
nilable = info.fetch(:nil?, false)
|
|
67
|
-
const =
|
|
68
|
-
info.fetch(
|
|
69
|
-
:const,
|
|
70
|
-
Increase::Internal::OMIT
|
|
71
|
-
)
|
|
72
|
-
else
|
|
73
|
-
Increase::Internal::OMIT
|
|
74
|
-
end
|
|
67
|
+
const = required && !nilable ? info.fetch(:const, Increase::Internal::OMIT) : Increase::Internal::OMIT
|
|
75
68
|
|
|
76
69
|
[name_sym, setter].each { undef_method(_1) } if known_fields.key?(name_sym)
|
|
77
70
|
|
|
@@ -244,7 +244,7 @@ module Increase
|
|
|
244
244
|
#
|
|
245
245
|
# @return [String]
|
|
246
246
|
def uri_origin(uri)
|
|
247
|
-
"#{uri.scheme}://#{uri.host}#{uri.port
|
|
247
|
+
"#{uri.scheme}://#{uri.host}#{":#{uri.port}" unless uri.port == uri.default_port}"
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
# @api private
|
|
@@ -435,9 +435,7 @@ module Increase
|
|
|
435
435
|
#
|
|
436
436
|
# @return [Array<Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice>]
|
|
437
437
|
required :invoices,
|
|
438
|
-
-> {
|
|
439
|
-
Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice]
|
|
440
|
-
}
|
|
438
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice] }
|
|
441
439
|
|
|
442
440
|
# @!method initialize(invoices:)
|
|
443
441
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
|
@@ -247,9 +247,7 @@ module Increase
|
|
|
247
247
|
#
|
|
248
248
|
# @return [Array<Increase::Models::ACHTransferCreateParams::Addenda::Freeform::Entry>]
|
|
249
249
|
required :entries,
|
|
250
|
-
-> {
|
|
251
|
-
Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::Freeform::Entry]
|
|
252
|
-
}
|
|
250
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::Freeform::Entry] }
|
|
253
251
|
|
|
254
252
|
# @!method initialize(entries:)
|
|
255
253
|
# Some parameter documentations has been truncated, see
|
|
@@ -278,9 +276,7 @@ module Increase
|
|
|
278
276
|
#
|
|
279
277
|
# @return [Array<Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice>]
|
|
280
278
|
required :invoices,
|
|
281
|
-
-> {
|
|
282
|
-
Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice]
|
|
283
|
-
}
|
|
279
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice] }
|
|
284
280
|
|
|
285
281
|
# @!method initialize(invoices:)
|
|
286
282
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
|
@@ -417,9 +417,7 @@ module Increase
|
|
|
417
417
|
#
|
|
418
418
|
# @return [Array<Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt>]
|
|
419
419
|
required :attempts,
|
|
420
|
-
-> {
|
|
421
|
-
Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt]
|
|
422
|
-
}
|
|
420
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt] }
|
|
423
421
|
|
|
424
422
|
# @!attribute created_at
|
|
425
423
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Card
|
|
@@ -439,9 +437,7 @@ module Increase
|
|
|
439
437
|
#
|
|
440
438
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod]
|
|
441
439
|
required :verification_method,
|
|
442
|
-
enum: -> {
|
|
443
|
-
Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod
|
|
444
|
-
}
|
|
440
|
+
enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod }
|
|
445
441
|
|
|
446
442
|
# @!attribute verification_value
|
|
447
443
|
# E.g., the email address or phone number used for the Card Authentication
|
|
@@ -480,9 +476,7 @@ module Increase
|
|
|
480
476
|
#
|
|
481
477
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome]
|
|
482
478
|
required :outcome,
|
|
483
|
-
enum: -> {
|
|
484
|
-
Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome
|
|
485
|
-
}
|
|
479
|
+
enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome }
|
|
486
480
|
|
|
487
481
|
# @!method initialize(created_at:, outcome:)
|
|
488
482
|
# Some parameter documentations has been truncated, see
|
|
@@ -649,10 +643,7 @@ module Increase
|
|
|
649
643
|
# to provide more detailed information about the transaction.
|
|
650
644
|
#
|
|
651
645
|
# @return [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts]
|
|
652
|
-
required :additional_amounts,
|
|
653
|
-
-> {
|
|
654
|
-
Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts
|
|
655
|
-
}
|
|
646
|
+
required :additional_amounts, -> { Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts }
|
|
656
647
|
|
|
657
648
|
# @!attribute amount
|
|
658
649
|
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
@@ -1602,9 +1593,7 @@ module Increase
|
|
|
1602
1593
|
#
|
|
1603
1594
|
# @return [Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode]
|
|
1604
1595
|
required :card_verification_code,
|
|
1605
|
-
-> {
|
|
1606
|
-
Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode
|
|
1607
|
-
}
|
|
1596
|
+
-> { Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode }
|
|
1608
1597
|
|
|
1609
1598
|
# @!attribute cardholder_address
|
|
1610
1599
|
# Cardholder address provided in the authorization request and the address on file
|
|
@@ -1632,9 +1621,7 @@ module Increase
|
|
|
1632
1621
|
#
|
|
1633
1622
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result]
|
|
1634
1623
|
required :result,
|
|
1635
|
-
enum: -> {
|
|
1636
|
-
Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result
|
|
1637
|
-
}
|
|
1624
|
+
enum: -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result }
|
|
1638
1625
|
|
|
1639
1626
|
# @!method initialize(result:)
|
|
1640
1627
|
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
@@ -1694,9 +1681,7 @@ module Increase
|
|
|
1694
1681
|
#
|
|
1695
1682
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result]
|
|
1696
1683
|
required :result,
|
|
1697
|
-
enum: -> {
|
|
1698
|
-
Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result
|
|
1699
|
-
}
|
|
1684
|
+
enum: -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result }
|
|
1700
1685
|
|
|
1701
1686
|
# @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
|
|
1702
1687
|
# Some parameter documentations has been truncated, see
|
|
@@ -1766,10 +1751,7 @@ module Increase
|
|
|
1766
1751
|
# currency.
|
|
1767
1752
|
#
|
|
1768
1753
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Currency]
|
|
1769
|
-
required :currency,
|
|
1770
|
-
enum: -> {
|
|
1771
|
-
Increase::CardPayment::Element::CardAuthorizationExpiration::Currency
|
|
1772
|
-
}
|
|
1754
|
+
required :currency, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Currency }
|
|
1773
1755
|
|
|
1774
1756
|
# @!attribute expired_amount
|
|
1775
1757
|
# The amount of this authorization expiration in the minor unit of the
|
|
@@ -1994,10 +1976,7 @@ module Increase
|
|
|
1994
1976
|
# Network-specific identifiers for a specific request or transaction.
|
|
1995
1977
|
#
|
|
1996
1978
|
# @return [Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers]
|
|
1997
|
-
required :network_identifiers,
|
|
1998
|
-
-> {
|
|
1999
|
-
Increase::CardPayment::Element::CardDecline::NetworkIdentifiers
|
|
2000
|
-
}
|
|
1979
|
+
required :network_identifiers, -> { Increase::CardPayment::Element::CardDecline::NetworkIdentifiers }
|
|
2001
1980
|
|
|
2002
1981
|
# @!attribute network_risk_score
|
|
2003
1982
|
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
|
@@ -2551,10 +2530,7 @@ module Increase
|
|
|
2551
2530
|
# The payment network used to process this card authorization.
|
|
2552
2531
|
#
|
|
2553
2532
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category]
|
|
2554
|
-
required :category,
|
|
2555
|
-
enum: -> {
|
|
2556
|
-
Increase::CardPayment::Element::CardDecline::NetworkDetails::Category
|
|
2557
|
-
}
|
|
2533
|
+
required :category, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Category }
|
|
2558
2534
|
|
|
2559
2535
|
# @!attribute visa
|
|
2560
2536
|
# Fields specific to the `visa` network.
|
|
@@ -2960,9 +2936,7 @@ module Increase
|
|
|
2960
2936
|
#
|
|
2961
2937
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result]
|
|
2962
2938
|
required :result,
|
|
2963
|
-
enum: -> {
|
|
2964
|
-
Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result
|
|
2965
|
-
}
|
|
2939
|
+
enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result }
|
|
2966
2940
|
|
|
2967
2941
|
# @!method initialize(result:)
|
|
2968
2942
|
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
@@ -3022,9 +2996,7 @@ module Increase
|
|
|
3022
2996
|
#
|
|
3023
2997
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result]
|
|
3024
2998
|
required :result,
|
|
3025
|
-
enum: -> {
|
|
3026
|
-
Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result
|
|
3027
|
-
}
|
|
2999
|
+
enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result }
|
|
3028
3000
|
|
|
3029
3001
|
# @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
|
|
3030
3002
|
# Some parameter documentations has been truncated, see
|
|
@@ -3270,10 +3242,7 @@ module Increase
|
|
|
3270
3242
|
# to provide more detailed information about the transaction.
|
|
3271
3243
|
#
|
|
3272
3244
|
# @return [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts]
|
|
3273
|
-
required :additional_amounts,
|
|
3274
|
-
-> {
|
|
3275
|
-
Increase::CardPayment::Element::CardIncrement::AdditionalAmounts
|
|
3276
|
-
}
|
|
3245
|
+
required :additional_amounts, -> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts }
|
|
3277
3246
|
|
|
3278
3247
|
# @!attribute amount
|
|
3279
3248
|
# The amount of this increment in the minor unit of the transaction's currency.
|
|
@@ -3305,10 +3274,7 @@ module Increase
|
|
|
3305
3274
|
# Network-specific identifiers for a specific request or transaction.
|
|
3306
3275
|
#
|
|
3307
3276
|
# @return [Increase::Models::CardPayment::Element::CardIncrement::NetworkIdentifiers]
|
|
3308
|
-
required :network_identifiers,
|
|
3309
|
-
-> {
|
|
3310
|
-
Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers
|
|
3311
|
-
}
|
|
3277
|
+
required :network_identifiers, -> { Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers }
|
|
3312
3278
|
|
|
3313
3279
|
# @!attribute network_risk_score
|
|
3314
3280
|
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
|
@@ -4899,9 +4865,7 @@ module Increase
|
|
|
4899
4865
|
#
|
|
4900
4866
|
# @return [Array<Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service>]
|
|
4901
4867
|
required :services,
|
|
4902
|
-
-> {
|
|
4903
|
-
Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service]
|
|
4904
|
-
}
|
|
4868
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service] }
|
|
4905
4869
|
|
|
4906
4870
|
# @!attribute ticket_document_number
|
|
4907
4871
|
# Ticket document number.
|
|
@@ -5287,10 +5251,7 @@ module Increase
|
|
|
5287
5251
|
# Network-specific identifiers for a specific request or transaction.
|
|
5288
5252
|
#
|
|
5289
5253
|
# @return [Increase::Models::CardPayment::Element::CardReversal::NetworkIdentifiers]
|
|
5290
|
-
required :network_identifiers,
|
|
5291
|
-
-> {
|
|
5292
|
-
Increase::CardPayment::Element::CardReversal::NetworkIdentifiers
|
|
5293
|
-
}
|
|
5254
|
+
required :network_identifiers, -> { Increase::CardPayment::Element::CardReversal::NetworkIdentifiers }
|
|
5294
5255
|
|
|
5295
5256
|
# @!attribute pending_transaction_id
|
|
5296
5257
|
# The identifier of the Pending Transaction associated with this Card Reversal.
|
|
@@ -5620,10 +5581,7 @@ module Increase
|
|
|
5620
5581
|
# Network-specific identifiers for this refund.
|
|
5621
5582
|
#
|
|
5622
5583
|
# @return [Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers]
|
|
5623
|
-
required :network_identifiers,
|
|
5624
|
-
-> {
|
|
5625
|
-
Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers
|
|
5626
|
-
}
|
|
5584
|
+
required :network_identifiers, -> { Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers }
|
|
5627
5585
|
|
|
5628
5586
|
# @!attribute pending_transaction_id
|
|
5629
5587
|
# The identifier of the Pending Transaction associated with this Transaction.
|
|
@@ -5732,10 +5690,7 @@ module Increase
|
|
|
5732
5690
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
|
|
5733
5691
|
#
|
|
5734
5692
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Cashback::Currency]
|
|
5735
|
-
required :currency,
|
|
5736
|
-
enum: -> {
|
|
5737
|
-
Increase::CardPayment::Element::CardSettlement::Cashback::Currency
|
|
5738
|
-
}
|
|
5693
|
+
required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Cashback::Currency }
|
|
5739
5694
|
|
|
5740
5695
|
# @!method initialize(amount:, currency:)
|
|
5741
5696
|
# Some parameter documentations has been truncated, see
|
|
@@ -5829,10 +5784,7 @@ module Increase
|
|
|
5829
5784
|
# reimbursement.
|
|
5830
5785
|
#
|
|
5831
5786
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Interchange::Currency]
|
|
5832
|
-
required :currency,
|
|
5833
|
-
enum: -> {
|
|
5834
|
-
Increase::CardPayment::Element::CardSettlement::Interchange::Currency
|
|
5835
|
-
}
|
|
5787
|
+
required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Interchange::Currency }
|
|
5836
5788
|
|
|
5837
5789
|
# @!method initialize(amount:, code:, currency:)
|
|
5838
5790
|
# Some parameter documentations has been truncated, see
|
|
@@ -6592,9 +6544,7 @@ module Increase
|
|
|
6592
6544
|
#
|
|
6593
6545
|
# @return [Array<Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service>]
|
|
6594
6546
|
required :services,
|
|
6595
|
-
-> {
|
|
6596
|
-
Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service]
|
|
6597
|
-
}
|
|
6547
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service] }
|
|
6598
6548
|
|
|
6599
6549
|
# @!attribute ticket_document_number
|
|
6600
6550
|
# Ticket document number.
|
|
@@ -6925,10 +6875,7 @@ module Increase
|
|
|
6925
6875
|
# to provide more detailed information about the transaction.
|
|
6926
6876
|
#
|
|
6927
6877
|
# @return [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts]
|
|
6928
|
-
required :additional_amounts,
|
|
6929
|
-
-> {
|
|
6930
|
-
Increase::CardPayment::Element::CardValidation::AdditionalAmounts
|
|
6931
|
-
}
|
|
6878
|
+
required :additional_amounts, -> { Increase::CardPayment::Element::CardValidation::AdditionalAmounts }
|
|
6932
6879
|
|
|
6933
6880
|
# @!attribute card_payment_id
|
|
6934
6881
|
# The ID of the Card Payment this transaction belongs to.
|
|
@@ -7005,10 +6952,7 @@ module Increase
|
|
|
7005
6952
|
# Network-specific identifiers for a specific request or transaction.
|
|
7006
6953
|
#
|
|
7007
6954
|
# @return [Increase::Models::CardPayment::Element::CardValidation::NetworkIdentifiers]
|
|
7008
|
-
required :network_identifiers,
|
|
7009
|
-
-> {
|
|
7010
|
-
Increase::CardPayment::Element::CardValidation::NetworkIdentifiers
|
|
7011
|
-
}
|
|
6955
|
+
required :network_identifiers, -> { Increase::CardPayment::Element::CardValidation::NetworkIdentifiers }
|
|
7012
6956
|
|
|
7013
6957
|
# @!attribute network_risk_score
|
|
7014
6958
|
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
|
@@ -7506,10 +7450,7 @@ module Increase
|
|
|
7506
7450
|
# The payment network used to process this card authorization.
|
|
7507
7451
|
#
|
|
7508
7452
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category]
|
|
7509
|
-
required :category,
|
|
7510
|
-
enum: -> {
|
|
7511
|
-
Increase::CardPayment::Element::CardValidation::NetworkDetails::Category
|
|
7512
|
-
}
|
|
7453
|
+
required :category, enum: -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Category }
|
|
7513
7454
|
|
|
7514
7455
|
# @!attribute visa
|
|
7515
7456
|
# Fields specific to the `visa` network.
|
|
@@ -7791,9 +7732,7 @@ module Increase
|
|
|
7791
7732
|
#
|
|
7792
7733
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result]
|
|
7793
7734
|
required :result,
|
|
7794
|
-
enum: -> {
|
|
7795
|
-
Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result
|
|
7796
|
-
}
|
|
7735
|
+
enum: -> { Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result }
|
|
7797
7736
|
|
|
7798
7737
|
# @!method initialize(result:)
|
|
7799
7738
|
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
@@ -7853,9 +7792,7 @@ module Increase
|
|
|
7853
7792
|
#
|
|
7854
7793
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result]
|
|
7855
7794
|
required :result,
|
|
7856
|
-
enum: -> {
|
|
7857
|
-
Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result
|
|
7858
|
-
}
|
|
7795
|
+
enum: -> { Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result }
|
|
7859
7796
|
|
|
7860
7797
|
# @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
|
|
7861
7798
|
# Some parameter documentations has been truncated, see
|
|
@@ -478,10 +478,7 @@ module Increase
|
|
|
478
478
|
# check and defaults to the return address if unspecified.
|
|
479
479
|
#
|
|
480
480
|
# @return [Array<Increase::Models::CheckTransfer::PhysicalCheck::Payer>]
|
|
481
|
-
required :payer,
|
|
482
|
-
-> {
|
|
483
|
-
Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::Payer]
|
|
484
|
-
}
|
|
481
|
+
required :payer, -> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::Payer] }
|
|
485
482
|
|
|
486
483
|
# @!attribute recipient_name
|
|
487
484
|
# The name that will be printed on the check.
|
|
@@ -517,9 +514,7 @@ module Increase
|
|
|
517
514
|
#
|
|
518
515
|
# @return [Array<Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate>]
|
|
519
516
|
required :tracking_updates,
|
|
520
|
-
-> {
|
|
521
|
-
Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
|
|
522
|
-
}
|
|
517
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] }
|
|
523
518
|
|
|
524
519
|
# @!method initialize(attachment_file_id:, mailing_address:, memo:, note:, payer:, recipient_name:, return_address:, shipping_method:, signature_text:, tracking_updates:)
|
|
525
520
|
# Some parameter documentations has been truncated, see
|
|
@@ -138,9 +138,7 @@ module Increase
|
|
|
138
138
|
#
|
|
139
139
|
# @return [Array<Increase::Models::CheckTransferCreateParams::PhysicalCheck::Payer>, nil]
|
|
140
140
|
optional :payer,
|
|
141
|
-
-> {
|
|
142
|
-
Increase::Internal::Type::ArrayOf[Increase::CheckTransferCreateParams::PhysicalCheck::Payer]
|
|
143
|
-
}
|
|
141
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransferCreateParams::PhysicalCheck::Payer] }
|
|
144
142
|
|
|
145
143
|
# @!attribute return_address
|
|
146
144
|
# The return address to be printed on the check. If omitted this will default to
|
|
@@ -155,10 +153,7 @@ module Increase
|
|
|
155
153
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
156
154
|
#
|
|
157
155
|
# @return [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod, nil]
|
|
158
|
-
optional :shipping_method,
|
|
159
|
-
enum: -> {
|
|
160
|
-
Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod
|
|
161
|
-
}
|
|
156
|
+
optional :shipping_method, enum: -> { Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod }
|
|
162
157
|
|
|
163
158
|
# @!attribute signature_text
|
|
164
159
|
# The text that will appear as the signature on the check in cursive font. If not
|
|
@@ -444,10 +444,7 @@ module Increase
|
|
|
444
444
|
# to provide more detailed information about the transaction.
|
|
445
445
|
#
|
|
446
446
|
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts]
|
|
447
|
-
required :additional_amounts,
|
|
448
|
-
-> {
|
|
449
|
-
Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts
|
|
450
|
-
}
|
|
447
|
+
required :additional_amounts, -> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts }
|
|
451
448
|
|
|
452
449
|
# @!attribute amount
|
|
453
450
|
# The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1489,9 +1486,7 @@ module Increase
|
|
|
1489
1486
|
#
|
|
1490
1487
|
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode]
|
|
1491
1488
|
required :card_verification_code,
|
|
1492
|
-
-> {
|
|
1493
|
-
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode
|
|
1494
|
-
}
|
|
1489
|
+
-> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode }
|
|
1495
1490
|
|
|
1496
1491
|
# @!attribute cardholder_address
|
|
1497
1492
|
# Cardholder address provided in the authorization request and the address on file
|
|
@@ -1499,9 +1494,7 @@ module Increase
|
|
|
1499
1494
|
#
|
|
1500
1495
|
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress]
|
|
1501
1496
|
required :cardholder_address,
|
|
1502
|
-
-> {
|
|
1503
|
-
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress
|
|
1504
|
-
}
|
|
1497
|
+
-> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress }
|
|
1505
1498
|
|
|
1506
1499
|
# @!method initialize(card_verification_code:, cardholder_address:)
|
|
1507
1500
|
# Some parameter documentations has been truncated, see
|
|
@@ -1521,9 +1514,7 @@ module Increase
|
|
|
1521
1514
|
#
|
|
1522
1515
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result]
|
|
1523
1516
|
required :result,
|
|
1524
|
-
enum: -> {
|
|
1525
|
-
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result
|
|
1526
|
-
}
|
|
1517
|
+
enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result }
|
|
1527
1518
|
|
|
1528
1519
|
# @!method initialize(result:)
|
|
1529
1520
|
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
@@ -1583,9 +1574,7 @@ module Increase
|
|
|
1583
1574
|
#
|
|
1584
1575
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result]
|
|
1585
1576
|
required :result,
|
|
1586
|
-
enum: -> {
|
|
1587
|
-
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result
|
|
1588
|
-
}
|
|
1577
|
+
enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result }
|
|
1589
1578
|
|
|
1590
1579
|
# @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
|
|
1591
1580
|
# Some parameter documentations has been truncated, see
|
|
@@ -1819,10 +1808,7 @@ module Increase
|
|
|
1819
1808
|
# currency.
|
|
1820
1809
|
#
|
|
1821
1810
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::Currency]
|
|
1822
|
-
required :currency,
|
|
1823
|
-
enum: -> {
|
|
1824
|
-
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency
|
|
1825
|
-
}
|
|
1811
|
+
required :currency, enum: -> { Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency }
|
|
1826
1812
|
|
|
1827
1813
|
# @!attribute declined_transaction_id
|
|
1828
1814
|
# The identifier of the associated declined transaction.
|
|
@@ -1958,9 +1944,7 @@ module Increase
|
|
|
1958
1944
|
#
|
|
1959
1945
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency]
|
|
1960
1946
|
required :currency,
|
|
1961
|
-
enum: -> {
|
|
1962
|
-
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency
|
|
1963
|
-
}
|
|
1947
|
+
enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency }
|
|
1964
1948
|
|
|
1965
1949
|
# @!attribute debtor_account_number
|
|
1966
1950
|
# The account number of the account that sent the transfer.
|
|
@@ -1985,9 +1969,7 @@ module Increase
|
|
|
1985
1969
|
#
|
|
1986
1970
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason]
|
|
1987
1971
|
required :reason,
|
|
1988
|
-
enum: -> {
|
|
1989
|
-
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason
|
|
1990
|
-
}
|
|
1972
|
+
enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason }
|
|
1991
1973
|
|
|
1992
1974
|
# @!attribute remittance_information
|
|
1993
1975
|
# Additional information included with the transfer.
|
|
@@ -481,9 +481,7 @@ module Increase
|
|
|
481
481
|
#
|
|
482
482
|
# @return [Array<Increase::Models::Entity::GovernmentAuthority::AuthorizedPerson>]
|
|
483
483
|
required :authorized_persons,
|
|
484
|
-
-> {
|
|
485
|
-
Increase::Internal::Type::ArrayOf[Increase::Entity::GovernmentAuthority::AuthorizedPerson]
|
|
486
|
-
}
|
|
484
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::Entity::GovernmentAuthority::AuthorizedPerson] }
|
|
487
485
|
|
|
488
486
|
# @!attribute category
|
|
489
487
|
# The category of the government authority.
|
|
@@ -36,9 +36,7 @@ module Increase
|
|
|
36
36
|
#
|
|
37
37
|
# @return [Array<Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong>]
|
|
38
38
|
required :prongs,
|
|
39
|
-
-> {
|
|
40
|
-
Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong]
|
|
41
|
-
}
|
|
39
|
+
-> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong] }
|
|
42
40
|
|
|
43
41
|
# @!attribute company_title
|
|
44
42
|
# This person's role or title within the entity.
|
|
@@ -81,9 +79,7 @@ module Increase
|
|
|
81
79
|
#
|
|
82
80
|
# @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification]
|
|
83
81
|
required :identification,
|
|
84
|
-
-> {
|
|
85
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification
|
|
86
|
-
}
|
|
82
|
+
-> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification }
|
|
87
83
|
|
|
88
84
|
# @!attribute name
|
|
89
85
|
# The person's legal name.
|
|
@@ -202,9 +198,7 @@ module Increase
|
|
|
202
198
|
#
|
|
203
199
|
# @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, nil]
|
|
204
200
|
optional :drivers_license,
|
|
205
|
-
-> {
|
|
206
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense
|
|
207
|
-
}
|
|
201
|
+
-> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense }
|
|
208
202
|
|
|
209
203
|
# @!attribute other
|
|
210
204
|
# Information about the identification document provided. Required if `method` is
|
|
@@ -212,9 +206,7 @@ module Increase
|
|
|
212
206
|
#
|
|
213
207
|
# @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, nil]
|
|
214
208
|
optional :other,
|
|
215
|
-
-> {
|
|
216
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other
|
|
217
|
-
}
|
|
209
|
+
-> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other }
|
|
218
210
|
|
|
219
211
|
# @!attribute passport
|
|
220
212
|
# Information about the passport used for identification. Required if `method` is
|
|
@@ -222,9 +214,7 @@ module Increase
|
|
|
222
214
|
#
|
|
223
215
|
# @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport, nil]
|
|
224
216
|
optional :passport,
|
|
225
|
-
-> {
|
|
226
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
227
|
-
}
|
|
217
|
+
-> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport }
|
|
228
218
|
|
|
229
219
|
# @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
|
|
230
220
|
# Some parameter documentations has been truncated, see
|