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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/internal/transport/pooled_net_requester.rb +1 -9
  5. data/lib/increase/internal/type/base_model.rb +1 -8
  6. data/lib/increase/internal/util.rb +1 -1
  7. data/lib/increase/models/ach_transfer.rb +1 -3
  8. data/lib/increase/models/ach_transfer_create_params.rb +2 -6
  9. data/lib/increase/models/card_payment.rb +25 -88
  10. data/lib/increase/models/check_transfer.rb +2 -7
  11. data/lib/increase/models/check_transfer_create_params.rb +2 -7
  12. data/lib/increase/models/declined_transaction.rb +8 -26
  13. data/lib/increase/models/entity.rb +1 -3
  14. data/lib/increase/models/entity_create_beneficial_owner_params.rb +5 -15
  15. data/lib/increase/models/entity_create_params.rb +14 -47
  16. data/lib/increase/models/inbound_ach_transfer.rb +6 -19
  17. data/lib/increase/models/inbound_check_deposit.rb +1 -4
  18. data/lib/increase/models/pending_transaction.rb +8 -27
  19. data/lib/increase/models/physical_card.rb +1 -3
  20. data/lib/increase/models/real_time_decision.rb +5 -18
  21. data/lib/increase/models/real_time_decision_action_params.rb +2 -8
  22. data/lib/increase/models/real_time_payments_transfer.rb +1 -4
  23. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -10
  24. data/lib/increase/models/simulations/card_token_create_params.rb +3 -9
  25. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +2 -7
  26. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +1 -3
  27. data/lib/increase/models/transaction.rb +10 -35
  28. data/lib/increase/version.rb +1 -1
  29. data/rbi/increase/errors.rbi +2 -2
  30. metadata +2 -2
@@ -132,9 +132,7 @@ module Increase
132
132
  #
133
133
  # @return [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>]
134
134
  required :beneficial_owners,
135
- -> {
136
- Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Corporation::BeneficialOwner]
137
- }
135
+ -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Corporation::BeneficialOwner] }
138
136
 
139
137
  # @!attribute name
140
138
  # The legal name of the corporation.
@@ -267,9 +265,7 @@ module Increase
267
265
  #
268
266
  # @return [Array<Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Prong>]
269
267
  required :prongs,
270
- -> {
271
- Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateParams::Corporation::BeneficialOwner::Prong]
272
- }
268
+ -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateParams::Corporation::BeneficialOwner::Prong] }
273
269
 
274
270
  # @!attribute company_title
275
271
  # This person's role or title within the entity.
@@ -295,10 +291,7 @@ module Increase
295
291
  # PMB's are disallowed.
296
292
  #
297
293
  # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address]
298
- required :address,
299
- -> {
300
- Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address
301
- }
294
+ required :address, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address }
302
295
 
303
296
  # @!attribute date_of_birth
304
297
  # The person's date of birth in YYYY-MM-DD format.
@@ -311,9 +304,7 @@ module Increase
311
304
  #
312
305
  # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification]
313
306
  required :identification,
314
- -> {
315
- Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification
316
- }
307
+ -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification }
317
308
 
318
309
  # @!attribute name
319
310
  # The person's legal name.
@@ -432,9 +423,7 @@ module Increase
432
423
  #
433
424
  # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, nil]
434
425
  optional :drivers_license,
435
- -> {
436
- Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense
437
- }
426
+ -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense }
438
427
 
439
428
  # @!attribute other
440
429
  # Information about the identification document provided. Required if `method` is
@@ -442,9 +431,7 @@ module Increase
442
431
  #
443
432
  # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, nil]
444
433
  optional :other,
445
- -> {
446
- Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other
447
- }
434
+ -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other }
448
435
 
449
436
  # @!attribute passport
450
437
  # Information about the passport used for identification. Required if `method` is
@@ -452,9 +439,7 @@ module Increase
452
439
  #
453
440
  # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport, nil]
454
441
  optional :passport,
455
- -> {
456
- Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport
457
- }
442
+ -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport }
458
443
 
459
444
  # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
460
445
  # Some parameter documentations has been truncated, see
@@ -677,9 +662,7 @@ module Increase
677
662
  #
678
663
  # @return [Array<Increase::Models::EntityCreateParams::GovernmentAuthority::AuthorizedPerson>]
679
664
  required :authorized_persons,
680
- -> {
681
- Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson]
682
- }
665
+ -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson] }
683
666
 
684
667
  # @!attribute category
685
668
  # The category of the government authority.
@@ -962,10 +945,7 @@ module Increase
962
945
  # equal to `passport`.
963
946
  #
964
947
  # @return [Increase::Models::EntityCreateParams::Joint::Individual::Identification::Passport, nil]
965
- optional :passport,
966
- -> {
967
- Increase::EntityCreateParams::Joint::Individual::Identification::Passport
968
- }
948
+ optional :passport, -> { Increase::EntityCreateParams::Joint::Individual::Identification::Passport }
969
949
 
970
950
  # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
971
951
  # Some parameter documentations has been truncated, see
@@ -1534,10 +1514,7 @@ module Increase
1534
1514
  # The trustees of the trust.
1535
1515
  #
1536
1516
  # @return [Array<Increase::Models::EntityCreateParams::Trust::Trustee>]
1537
- required :trustees,
1538
- -> {
1539
- Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Trust::Trustee]
1540
- }
1517
+ required :trustees, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Trust::Trustee] }
1541
1518
 
1542
1519
  # @!attribute formation_document_file_id
1543
1520
  # The identifier of the File containing the formation document of the trust.
@@ -1711,10 +1688,7 @@ module Increase
1711
1688
  # A means of verifying the person's identity.
1712
1689
  #
1713
1690
  # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification]
1714
- required :identification,
1715
- -> {
1716
- Increase::EntityCreateParams::Trust::Trustee::Individual::Identification
1717
- }
1691
+ required :identification, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification }
1718
1692
 
1719
1693
  # @!attribute name
1720
1694
  # The person's legal name.
@@ -1826,19 +1800,14 @@ module Increase
1826
1800
  #
1827
1801
  # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, nil]
1828
1802
  optional :drivers_license,
1829
- -> {
1830
- Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense
1831
- }
1803
+ -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense }
1832
1804
 
1833
1805
  # @!attribute other
1834
1806
  # Information about the identification document provided. Required if `method` is
1835
1807
  # equal to `other`.
1836
1808
  #
1837
1809
  # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, nil]
1838
- optional :other,
1839
- -> {
1840
- Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other
1841
- }
1810
+ optional :other, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other }
1842
1811
 
1843
1812
  # @!attribute passport
1844
1813
  # Information about the passport used for identification. Required if `method` is
@@ -1846,9 +1815,7 @@ module Increase
1846
1815
  #
1847
1816
  # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport, nil]
1848
1817
  optional :passport,
1849
- -> {
1850
- Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport
1851
- }
1818
+ -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport }
1852
1819
 
1853
1820
  # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
1854
1821
  # Some parameter documentations has been truncated, see
@@ -300,9 +300,7 @@ module Increase
300
300
  #
301
301
  # @return [Array<Increase::Models::InboundACHTransfer::Addenda::Freeform::Entry>]
302
302
  required :entries,
303
- -> {
304
- Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer::Addenda::Freeform::Entry]
305
- }
303
+ -> { Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer::Addenda::Freeform::Entry] }
306
304
 
307
305
  # @!method initialize(entries:)
308
306
  # Unstructured `payment_related_information` passed through by the originator.
@@ -467,9 +465,7 @@ module Increase
467
465
  #
468
466
  # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator]
469
467
  required :foreign_exchange_reference_indicator,
470
- enum: -> {
471
- Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator
472
- }
468
+ enum: -> { Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator }
473
469
 
474
470
  # @!attribute foreign_payment_amount
475
471
  # The amount in the minor unit of the foreign payment currency. For dollars, for
@@ -489,9 +485,7 @@ module Increase
489
485
  #
490
486
  # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode]
491
487
  required :international_transaction_type_code,
492
- enum: -> {
493
- Increase::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode
494
- }
488
+ enum: -> { Increase::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode }
495
489
 
496
490
  # @!attribute originating_currency_code
497
491
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
@@ -521,9 +515,7 @@ module Increase
521
515
  #
522
516
  # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier]
523
517
  required :originating_depository_financial_institution_id_qualifier,
524
- enum: -> {
525
- Increase::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier
526
- }
518
+ enum: -> { Increase::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier }
527
519
 
528
520
  # @!attribute originating_depository_financial_institution_name
529
521
  # The name of the originating bank. Sometimes this will refer to an American bank
@@ -654,9 +646,7 @@ module Increase
654
646
  #
655
647
  # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier]
656
648
  required :receiving_depository_financial_institution_id_qualifier,
657
- enum: -> {
658
- Increase::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier
659
- }
649
+ enum: -> { Increase::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier }
660
650
 
661
651
  # @!attribute receiving_depository_financial_institution_name
662
652
  # The name of the receiving bank, as set by the sending financial institution.
@@ -923,10 +913,7 @@ module Increase
923
913
  # The settlement schedule this transfer follows.
924
914
  #
925
915
  # @return [Symbol, Increase::Models::InboundACHTransfer::Settlement::SettlementSchedule]
926
- required :settlement_schedule,
927
- enum: -> {
928
- Increase::InboundACHTransfer::Settlement::SettlementSchedule
929
- }
916
+ required :settlement_schedule, enum: -> { Increase::InboundACHTransfer::Settlement::SettlementSchedule }
930
917
 
931
918
  # @!method initialize(settled_at:, settlement_schedule:)
932
919
  # Some parameter documentations has been truncated, see
@@ -35,10 +35,7 @@ module Increase
35
35
  # contain details of the adjustments.
36
36
  #
37
37
  # @return [Array<Increase::Models::InboundCheckDeposit::Adjustment>]
38
- required :adjustments,
39
- -> {
40
- Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit::Adjustment]
41
- }
38
+ required :adjustments, -> { Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit::Adjustment] }
42
39
 
43
40
  # @!attribute amount
44
41
  # The deposited amount in USD cents.
@@ -570,10 +570,7 @@ module Increase
570
570
  # Fields specific to the `network`.
571
571
  #
572
572
  # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails]
573
- required :network_details,
574
- -> {
575
- Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails
576
- }
573
+ required :network_details, -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails }
577
574
 
578
575
  # @!attribute network_identifiers
579
576
  # Network-specific identifiers for a specific request or transaction.
@@ -1152,9 +1149,7 @@ module Increase
1152
1149
  #
1153
1150
  # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category]
1154
1151
  required :category,
1155
- enum: -> {
1156
- Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category
1157
- }
1152
+ enum: -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category }
1158
1153
 
1159
1154
  # @!attribute visa
1160
1155
  # Fields specific to the `visa` network.
@@ -1444,9 +1439,7 @@ module Increase
1444
1439
  #
1445
1440
  # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode]
1446
1441
  required :card_verification_code,
1447
- -> {
1448
- Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode
1449
- }
1442
+ -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode }
1450
1443
 
1451
1444
  # @!attribute cardholder_address
1452
1445
  # Cardholder address provided in the authorization request and the address on file
@@ -1454,9 +1447,7 @@ module Increase
1454
1447
  #
1455
1448
  # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress]
1456
1449
  required :cardholder_address,
1457
- -> {
1458
- Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress
1459
- }
1450
+ -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress }
1460
1451
 
1461
1452
  # @!method initialize(card_verification_code:, cardholder_address:)
1462
1453
  # Some parameter documentations has been truncated, see
@@ -1476,9 +1467,7 @@ module Increase
1476
1467
  #
1477
1468
  # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result]
1478
1469
  required :result,
1479
- enum: -> {
1480
- Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result
1481
- }
1470
+ enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result }
1482
1471
 
1483
1472
  # @!method initialize(result:)
1484
1473
  # Fields related to verification of the Card Verification Code, a 3-digit code on
@@ -1538,9 +1527,7 @@ module Increase
1538
1527
  #
1539
1528
  # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result]
1540
1529
  required :result,
1541
- enum: -> {
1542
- Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result
1543
- }
1530
+ enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result }
1544
1531
 
1545
1532
  # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
1546
1533
  # Some parameter documentations has been truncated, see
@@ -1690,10 +1677,7 @@ module Increase
1690
1677
  # transaction's currency.
1691
1678
  #
1692
1679
  # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckDepositInstruction::Currency]
1693
- required :currency,
1694
- enum: -> {
1695
- Increase::PendingTransaction::Source::CheckDepositInstruction::Currency
1696
- }
1680
+ required :currency, enum: -> { Increase::PendingTransaction::Source::CheckDepositInstruction::Currency }
1697
1681
 
1698
1682
  # @!attribute front_image_file_id
1699
1683
  # The identifier of the File containing the image of the front of the check that
@@ -1763,10 +1747,7 @@ module Increase
1763
1747
  # currency.
1764
1748
  #
1765
1749
  # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckTransferInstruction::Currency]
1766
- required :currency,
1767
- enum: -> {
1768
- Increase::PendingTransaction::Source::CheckTransferInstruction::Currency
1769
- }
1750
+ required :currency, enum: -> { Increase::PendingTransaction::Source::CheckTransferInstruction::Currency }
1770
1751
 
1771
1752
  # @!attribute transfer_id
1772
1753
  # The identifier of the Check Transfer that led to this Pending Transaction.
@@ -343,9 +343,7 @@ module Increase
343
343
  #
344
344
  # @return [Array<Increase::Models::PhysicalCard::Shipment::Tracking::Update>]
345
345
  required :updates,
346
- -> {
347
- Increase::Internal::Type::ArrayOf[Increase::PhysicalCard::Shipment::Tracking::Update]
348
- }
346
+ -> { Increase::Internal::Type::ArrayOf[Increase::PhysicalCard::Shipment::Tracking::Update] }
349
347
 
350
348
  # @!method initialize(number:, return_number:, return_reason:, shipped_at:, updates:)
351
349
  # Some parameter documentations has been truncated, see
@@ -337,10 +337,7 @@ module Increase
337
337
  # Network-specific identifiers for a specific request or transaction.
338
338
  #
339
339
  # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkIdentifiers]
340
- required :network_identifiers,
341
- -> {
342
- Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers
343
- }
340
+ required :network_identifiers, -> { Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers }
344
341
 
345
342
  # @!attribute network_risk_score
346
343
  # The risk score generated by the card network. For Visa this is the Visa Advanced
@@ -861,10 +858,7 @@ module Increase
861
858
  # The payment network used to process this card authorization.
862
859
  #
863
860
  # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category]
864
- required :category,
865
- enum: -> {
866
- Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category
867
- }
861
+ required :category, enum: -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category }
868
862
 
869
863
  # @!attribute visa
870
864
  # Fields specific to the `visa` network.
@@ -1142,10 +1136,7 @@ module Increase
1142
1136
  # authorization).
1143
1137
  #
1144
1138
  # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::Category]
1145
- required :category,
1146
- enum: -> {
1147
- Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category
1148
- }
1139
+ required :category, enum: -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category }
1149
1140
 
1150
1141
  # @!attribute incremental_authorization
1151
1142
  # Fields specific to the category `incremental_authorization`.
@@ -1257,9 +1248,7 @@ module Increase
1257
1248
  #
1258
1249
  # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result]
1259
1250
  required :result,
1260
- enum: -> {
1261
- Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result
1262
- }
1251
+ enum: -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result }
1263
1252
 
1264
1253
  # @!method initialize(result:)
1265
1254
  # Fields related to verification of the Card Verification Code, a 3-digit code on
@@ -1319,9 +1308,7 @@ module Increase
1319
1308
  #
1320
1309
  # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result]
1321
1310
  required :result,
1322
- enum: -> {
1323
- Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result
1324
- }
1311
+ enum: -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result }
1325
1312
 
1326
1313
  # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
1327
1314
  # Some parameter documentations has been truncated, see
@@ -99,10 +99,7 @@ module Increase
99
99
  # cardholder.
100
100
  #
101
101
  # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result]
102
- required :result,
103
- enum: -> {
104
- Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result
105
- }
102
+ required :result, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result }
106
103
 
107
104
  # @!method initialize(result:)
108
105
  # Some parameter documentations has been truncated, see
@@ -210,10 +207,7 @@ module Increase
210
207
  # Whether your application was able to deliver the one-time passcode.
211
208
  #
212
209
  # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result]
213
- required :result,
214
- enum: -> {
215
- Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result
216
- }
210
+ required :result, enum: -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result }
217
211
 
218
212
  # @!attribute success
219
213
  #
@@ -444,10 +444,7 @@ module Increase
444
444
  # Real-Time Payments network.
445
445
  #
446
446
  # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::Rejection::RejectReasonCode]
447
- required :reject_reason_code,
448
- enum: -> {
449
- Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode
450
- }
447
+ required :reject_reason_code, enum: -> { Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode }
451
448
 
452
449
  # @!attribute rejected_at
453
450
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -32,10 +32,7 @@ module Increase
32
32
  # sent.
33
33
  #
34
34
  # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::DeclineReason, nil]
35
- optional :decline_reason,
36
- enum: -> {
37
- Increase::Simulations::CardAuthorizationCreateParams::DeclineReason
38
- }
35
+ optional :decline_reason, enum: -> { Increase::Simulations::CardAuthorizationCreateParams::DeclineReason }
39
36
 
40
37
  # @!attribute digital_wallet_token_id
41
38
  # The identifier of the Digital Wallet Token to be authorized.
@@ -252,9 +249,7 @@ module Increase
252
249
  #
253
250
  # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason, nil]
254
251
  optional :stand_in_processing_reason,
255
- enum: -> {
256
- Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason
257
- }
252
+ enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason }
258
253
 
259
254
  # @!method initialize(stand_in_processing_reason: nil)
260
255
  # Fields specific to the Visa network.
@@ -303,9 +298,7 @@ module Increase
303
298
  #
304
299
  # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category]
305
300
  required :category,
306
- enum: -> {
307
- Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category
308
- }
301
+ enum: -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category }
309
302
 
310
303
  # @!method initialize(category:)
311
304
  # Some parameter documentations has been truncated, see
@@ -13,9 +13,7 @@ module Increase
13
13
  #
14
14
  # @return [Array<Increase::Models::Simulations::CardTokenCreateParams::Capability>, nil]
15
15
  optional :capabilities,
16
- -> {
17
- Increase::Internal::Type::ArrayOf[Increase::Simulations::CardTokenCreateParams::Capability]
18
- }
16
+ -> { Increase::Internal::Type::ArrayOf[Increase::Simulations::CardTokenCreateParams::Capability] }
19
17
 
20
18
  # @!attribute expiration
21
19
  # The expiration date of the card.
@@ -60,18 +58,14 @@ module Increase
60
58
  #
61
59
  # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers]
62
60
  required :cross_border_push_transfers,
63
- enum: -> {
64
- Increase::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers
65
- }
61
+ enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers }
66
62
 
67
63
  # @!attribute domestic_push_transfers
68
64
  # The domestic push transfers capability.
69
65
  #
70
66
  # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers]
71
67
  required :domestic_push_transfers,
72
- enum: -> {
73
- Increase::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers
74
- }
68
+ enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers }
75
69
 
76
70
  # @!attribute route
77
71
  # The route of the capability.
@@ -120,10 +120,7 @@ module Increase
120
120
  # The type of addenda to simulate being sent with the transfer.
121
121
  #
122
122
  # @return [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Category]
123
- required :category,
124
- enum: -> {
125
- Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category
126
- }
123
+ required :category, enum: -> { Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category }
127
124
 
128
125
  # @!attribute freeform
129
126
  # Unstructured `payment_related_information` passed through with the transfer.
@@ -158,9 +155,7 @@ module Increase
158
155
  #
159
156
  # @return [Array<Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry>]
160
157
  required :entries,
161
- -> {
162
- Increase::Internal::Type::ArrayOf[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry]
163
- }
158
+ -> { Increase::Internal::Type::ArrayOf[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] }
164
159
 
165
160
  # @!method initialize(entries:)
166
161
  # Unstructured `payment_related_information` passed through with the transfer.
@@ -25,9 +25,7 @@ module Increase
25
25
  #
26
26
  # @return [Symbol, Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode]
27
27
  required :reject_reason_code,
28
- enum: -> {
29
- Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode
30
- }
28
+ enum: -> { Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode }
31
29
 
32
30
  # @!method initialize(reject_reason_code:)
33
31
  # If set, the simulation will reject the transfer.
@@ -1135,10 +1135,7 @@ module Increase
1135
1135
  # The type of card dispute financial event.
1136
1136
  #
1137
1137
  # @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType]
1138
- required :event_type,
1139
- enum: -> {
1140
- Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
1141
- }
1138
+ required :event_type, enum: -> { Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType }
1142
1139
 
1143
1140
  # @!method initialize(event_type:)
1144
1141
  # Information for events related to card dispute for card payments processed over
@@ -2294,9 +2291,7 @@ module Increase
2294
2291
  #
2295
2292
  # @return [Array<Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service>]
2296
2293
  required :services,
2297
- -> {
2298
- Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service]
2299
- }
2294
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service] }
2300
2295
 
2301
2296
  # @!attribute ticket_document_number
2302
2297
  # Ticket document number.
@@ -2783,10 +2778,7 @@ module Increase
2783
2778
  # Network-specific identifiers for this refund.
2784
2779
  #
2785
2780
  # @return [Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers]
2786
- required :network_identifiers,
2787
- -> {
2788
- Increase::Transaction::Source::CardSettlement::NetworkIdentifiers
2789
- }
2781
+ required :network_identifiers, -> { Increase::Transaction::Source::CardSettlement::NetworkIdentifiers }
2790
2782
 
2791
2783
  # @!attribute pending_transaction_id
2792
2784
  # The identifier of the Pending Transaction associated with this Transaction.
@@ -2989,10 +2981,7 @@ module Increase
2989
2981
  # reimbursement.
2990
2982
  #
2991
2983
  # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Interchange::Currency]
2992
- required :currency,
2993
- enum: -> {
2994
- Increase::Transaction::Source::CardSettlement::Interchange::Currency
2995
- }
2984
+ required :currency, enum: -> { Increase::Transaction::Source::CardSettlement::Interchange::Currency }
2996
2985
 
2997
2986
  # @!method initialize(amount:, code:, currency:)
2998
2987
  # Some parameter documentations has been truncated, see
@@ -3752,9 +3741,7 @@ module Increase
3752
3741
  #
3753
3742
  # @return [Array<Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service>]
3754
3743
  required :services,
3755
- -> {
3756
- Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service]
3757
- }
3744
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service] }
3758
3745
 
3759
3746
  # @!attribute ticket_document_number
3760
3747
  # Ticket document number.
@@ -4383,10 +4370,7 @@ module Increase
4383
4370
  # against.
4384
4371
  #
4385
4372
  # @return [Symbol, Increase::Models::Transaction::Source::CheckDepositReturn::ReturnReason]
4386
- required :return_reason,
4387
- enum: -> {
4388
- Increase::Transaction::Source::CheckDepositReturn::ReturnReason
4389
- }
4373
+ required :return_reason, enum: -> { Increase::Transaction::Source::CheckDepositReturn::ReturnReason }
4390
4374
 
4391
4375
  # @!attribute returned_at
4392
4376
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -4824,10 +4808,7 @@ module Increase
4824
4808
  # The type of addendum.
4825
4809
  #
4826
4810
  # @return [Symbol, Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Category]
4827
- required :category,
4828
- enum: -> {
4829
- Increase::Transaction::Source::InboundACHTransfer::Addenda::Category
4830
- }
4811
+ required :category, enum: -> { Increase::Transaction::Source::InboundACHTransfer::Addenda::Category }
4831
4812
 
4832
4813
  # @!attribute freeform
4833
4814
  # Unstructured `payment_related_information` passed through by the originator.
@@ -4864,9 +4845,7 @@ module Increase
4864
4845
  #
4865
4846
  # @return [Array<Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry>]
4866
4847
  required :entries,
4867
- -> {
4868
- Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry]
4869
- }
4848
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry] }
4870
4849
 
4871
4850
  # @!method initialize(entries:)
4872
4851
  # Unstructured `payment_related_information` passed through by the originator.
@@ -5007,9 +4986,7 @@ module Increase
5007
4986
  #
5008
4987
  # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency]
5009
4988
  required :currency,
5010
- enum: -> {
5011
- Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency
5012
- }
4989
+ enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency }
5013
4990
 
5014
4991
  # @!attribute debtor_account_number
5015
4992
  # The account number of the account that sent the transfer.
@@ -5128,9 +5105,7 @@ module Increase
5128
5105
  #
5129
5106
  # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency]
5130
5107
  required :currency,
5131
- enum: -> {
5132
- Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency
5133
- }
5108
+ enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency }
5134
5109
 
5135
5110
  # @!attribute debtor_account_number
5136
5111
  # The account number of the account that sent the transfer.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.37.0"
4
+ VERSION = "1.37.1"
5
5
  end