increase 1.37.0 → 1.38.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -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/inbound_wire_transfer.rb +108 -1
  19. data/lib/increase/models/pending_transaction.rb +8 -27
  20. data/lib/increase/models/physical_card.rb +1 -3
  21. data/lib/increase/models/real_time_decision.rb +5 -18
  22. data/lib/increase/models/real_time_decision_action_params.rb +2 -8
  23. data/lib/increase/models/real_time_payments_transfer.rb +1 -4
  24. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -10
  25. data/lib/increase/models/simulations/card_token_create_params.rb +3 -9
  26. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +2 -7
  27. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +1 -3
  28. data/lib/increase/models/transaction.rb +10 -35
  29. data/lib/increase/version.rb +1 -1
  30. data/rbi/increase/errors.rbi +2 -2
  31. data/rbi/increase/models/inbound_wire_transfer.rbi +110 -0
  32. data/sig/increase/models/inbound_wire_transfer.rbs +65 -0
  33. 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.
@@ -65,12 +65,66 @@ module Increase
65
65
  # @return [Time]
66
66
  required :created_at, Time
67
67
 
68
+ # @!attribute creditor_address_line1
69
+ # A free-form address field set by the sender.
70
+ #
71
+ # @return [String, nil]
72
+ required :creditor_address_line1, String, nil?: true
73
+
74
+ # @!attribute creditor_address_line2
75
+ # A free-form address field set by the sender.
76
+ #
77
+ # @return [String, nil]
78
+ required :creditor_address_line2, String, nil?: true
79
+
80
+ # @!attribute creditor_address_line3
81
+ # A free-form address field set by the sender.
82
+ #
83
+ # @return [String, nil]
84
+ required :creditor_address_line3, String, nil?: true
85
+
86
+ # @!attribute creditor_name
87
+ # A name set by the sender.
88
+ #
89
+ # @return [String, nil]
90
+ required :creditor_name, String, nil?: true
91
+
92
+ # @!attribute debtor_address_line1
93
+ # A free-form address field set by the sender.
94
+ #
95
+ # @return [String, nil]
96
+ required :debtor_address_line1, String, nil?: true
97
+
98
+ # @!attribute debtor_address_line2
99
+ # A free-form address field set by the sender.
100
+ #
101
+ # @return [String, nil]
102
+ required :debtor_address_line2, String, nil?: true
103
+
104
+ # @!attribute debtor_address_line3
105
+ # A free-form address field set by the sender.
106
+ #
107
+ # @return [String, nil]
108
+ required :debtor_address_line3, String, nil?: true
109
+
110
+ # @!attribute debtor_name
111
+ # A name set by the sender.
112
+ #
113
+ # @return [String, nil]
114
+ required :debtor_name, String, nil?: true
115
+
68
116
  # @!attribute description
69
117
  # An Increase-constructed description of the transfer.
70
118
  #
71
119
  # @return [String]
72
120
  required :description, String
73
121
 
122
+ # @!attribute end_to_end_identification
123
+ # A free-form reference string set by the sender, to help identify the transfer.
124
+ #
125
+ # @return [String, nil]
126
+ required :end_to_end_identification, String, nil?: true
127
+
74
128
  # @!attribute input_message_accountability_data
75
129
  # A unique identifier available to the originating and receiving banks, commonly
76
130
  # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
@@ -79,6 +133,19 @@ module Increase
79
133
  # @return [String, nil]
80
134
  required :input_message_accountability_data, String, nil?: true
81
135
 
136
+ # @!attribute instructing_agent_routing_number
137
+ # The American Banking Association (ABA) routing number of the bank that sent the
138
+ # wire.
139
+ #
140
+ # @return [String, nil]
141
+ required :instructing_agent_routing_number, String, nil?: true
142
+
143
+ # @!attribute instruction_identification
144
+ # The sending bank's identifier for the wire transfer.
145
+ #
146
+ # @return [String, nil]
147
+ required :instruction_identification, String, nil?: true
148
+
82
149
  # @!attribute originator_address_line1
83
150
  # The address of the wire originator, set by the sending bank.
84
151
  #
@@ -166,13 +233,27 @@ module Increase
166
233
  # @return [Symbol, Increase::Models::InboundWireTransfer::Type]
167
234
  required :type, enum: -> { Increase::InboundWireTransfer::Type }
168
235
 
236
+ # @!attribute unique_end_to_end_transaction_reference
237
+ # The Unique End-to-end Transaction Reference
238
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
239
+ # of the transfer.
240
+ #
241
+ # @return [String, nil]
242
+ required :unique_end_to_end_transaction_reference, String, nil?: true
243
+
244
+ # @!attribute unstructured_remittance_information
245
+ # A free-form message set by the sender.
246
+ #
247
+ # @return [String, nil]
248
+ required :unstructured_remittance_information, String, nil?: true
249
+
169
250
  # @!attribute wire_drawdown_request_id
170
251
  # The wire drawdown request the inbound wire transfer is fulfilling.
171
252
  #
172
253
  # @return [String, nil]
173
254
  required :wire_drawdown_request_id, String, nil?: true
174
255
 
175
- # @!method initialize(id:, account_id:, account_number_id:, amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, created_at:, description:, input_message_accountability_data:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, reversal:, sender_reference:, status:, type:, wire_drawdown_request_id:)
256
+ # @!method initialize(id:, account_id:, account_number_id:, amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, reversal:, sender_reference:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
176
257
  # Some parameter documentations has been truncated, see
177
258
  # {Increase::Models::InboundWireTransfer} for more details.
178
259
  #
@@ -199,10 +280,32 @@ module Increase
199
280
  #
200
281
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
201
282
  #
283
+ # @param creditor_address_line1 [String, nil] A free-form address field set by the sender.
284
+ #
285
+ # @param creditor_address_line2 [String, nil] A free-form address field set by the sender.
286
+ #
287
+ # @param creditor_address_line3 [String, nil] A free-form address field set by the sender.
288
+ #
289
+ # @param creditor_name [String, nil] A name set by the sender.
290
+ #
291
+ # @param debtor_address_line1 [String, nil] A free-form address field set by the sender.
292
+ #
293
+ # @param debtor_address_line2 [String, nil] A free-form address field set by the sender.
294
+ #
295
+ # @param debtor_address_line3 [String, nil] A free-form address field set by the sender.
296
+ #
297
+ # @param debtor_name [String, nil] A name set by the sender.
298
+ #
202
299
  # @param description [String] An Increase-constructed description of the transfer.
203
300
  #
301
+ # @param end_to_end_identification [String, nil] A free-form reference string set by the sender, to help identify the transfer.
302
+ #
204
303
  # @param input_message_accountability_data [String, nil] A unique identifier available to the originating and receiving banks, commonly a
205
304
  #
305
+ # @param instructing_agent_routing_number [String, nil] The American Banking Association (ABA) routing number of the bank that sent the
306
+ #
307
+ # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
308
+ #
206
309
  # @param originator_address_line1 [String, nil] The address of the wire originator, set by the sending bank.
207
310
  #
208
311
  # @param originator_address_line2 [String, nil] The address of the wire originator, set by the sending bank.
@@ -231,6 +334,10 @@ module Increase
231
334
  #
232
335
  # @param type [Symbol, Increase::Models::InboundWireTransfer::Type] A constant representing the object's type. For this resource it will always be `
233
336
  #
337
+ # @param unique_end_to_end_transaction_reference [String, nil] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen
338
+ #
339
+ # @param unstructured_remittance_information [String, nil] A free-form message set by the sender.
340
+ #
234
341
  # @param wire_drawdown_request_id [String, nil] The wire drawdown request the inbound wire transfer is fulfilling.
235
342
 
236
343
  # @see Increase::Models::InboundWireTransfer#reversal
@@ -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.