increase 1.347.0 → 1.349.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/models/account_create_params.rb +15 -15
- data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +2 -2
- data/lib/increase/models/ach_transfer_create_params.rb +1 -24
- data/lib/increase/models/balance_lookup.rb +49 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
- data/lib/increase/models/card.rb +43 -1
- data/lib/increase/models/card_create_params.rb +42 -1
- data/lib/increase/models/card_dispute.rb +1 -1
- data/lib/increase/models/card_dispute_list_params.rb +1 -1
- data/lib/increase/models/card_payment.rb +18 -1
- data/lib/increase/models/check_transfer.rb +13 -1
- data/lib/increase/models/check_transfer_create_params.rb +25 -13
- data/lib/increase/models/entity.rb +315 -5
- data/lib/increase/models/entity_update_params.rb +754 -1
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/file.rb +7 -6
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +5 -2
- data/lib/increase/models/inbound_fednow_transfer.rb +18 -1
- data/lib/increase/models/pending_transaction.rb +25 -8
- data/lib/increase/models/pending_transaction_list_params.rb +1 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -1
- data/lib/increase/models/real_time_payments_transfer.rb +30 -19
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
- data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
- data/lib/increase/models/transaction.rb +5 -2
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_transfer_create_params.rb +100 -42
- data/lib/increase/resources/ach_prenotifications.rb +1 -1
- data/lib/increase/resources/ach_transfers.rb +1 -4
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/cards.rb +5 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +2 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
- data/rbi/increase/models/balance_lookup.rbi +48 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
- data/rbi/increase/models/card.rbi +63 -0
- data/rbi/increase/models/card_create_params.rbi +65 -0
- data/rbi/increase/models/card_dispute.rbi +1 -1
- data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
- data/rbi/increase/models/card_payment.rbi +16 -0
- data/rbi/increase/models/check_transfer.rbi +15 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
- data/rbi/increase/models/entity.rbi +552 -3
- data/rbi/increase/models/entity_update_params.rbi +1326 -3
- data/rbi/increase/models/event.rbi +28 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/file.rbi +7 -6
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +4 -2
- data/rbi/increase/models/inbound_fednow_transfer.rbi +16 -0
- data/rbi/increase/models/pending_transaction.rbi +23 -7
- data/rbi/increase/models/pending_transaction_list_params.rbi +1 -1
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +16 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
- data/rbi/increase/models/transaction.rbi +4 -2
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
- data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
- data/rbi/increase/resources/ach_transfers.rbi +0 -4
- data/rbi/increase/resources/beneficial_owners.rbi +3 -0
- data/rbi/increase/resources/cards.rbi +4 -0
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
- data/sig/increase/models/balance_lookup.rbs +30 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
- data/sig/increase/models/card.rbs +19 -0
- data/sig/increase/models/card_create_params.rbs +25 -0
- data/sig/increase/models/card_dispute.rbs +1 -1
- data/sig/increase/models/card_dispute_list_params.rbs +1 -1
- data/sig/increase/models/card_payment.rbs +5 -0
- data/sig/increase/models/check_transfer.rbs +9 -0
- data/sig/increase/models/check_transfer_create_params.rbs +7 -0
- data/sig/increase/models/entity.rbs +248 -5
- data/sig/increase/models/entity_update_params.rbs +585 -3
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
- data/sig/increase/models/inbound_fednow_transfer.rbs +10 -0
- data/sig/increase/models/pending_transaction.rbs +6 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/real_time_decision.rbs +5 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
- data/sig/increase/resources/ach_transfers.rbs +0 -1
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/cards.rbs +1 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -231,93 +231,135 @@ module Increase
|
|
|
231
231
|
)
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
#
|
|
234
|
+
# Structured address components. City and country are required.
|
|
235
235
|
sig do
|
|
236
236
|
returns(
|
|
237
237
|
T.nilable(
|
|
238
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
238
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured
|
|
239
239
|
)
|
|
240
240
|
)
|
|
241
241
|
end
|
|
242
|
-
attr_reader :
|
|
242
|
+
attr_reader :structured
|
|
243
243
|
|
|
244
244
|
sig do
|
|
245
245
|
params(
|
|
246
|
-
|
|
247
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
246
|
+
structured:
|
|
247
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured::OrHash
|
|
248
248
|
).void
|
|
249
249
|
end
|
|
250
|
-
attr_writer :
|
|
250
|
+
attr_writer :structured
|
|
251
251
|
|
|
252
252
|
# The person or business's address.
|
|
253
253
|
sig do
|
|
254
254
|
params(
|
|
255
|
-
|
|
256
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
255
|
+
structured:
|
|
256
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured::OrHash
|
|
257
257
|
).returns(T.attached_class)
|
|
258
258
|
end
|
|
259
259
|
def self.new(
|
|
260
|
-
#
|
|
261
|
-
|
|
260
|
+
# Structured address components. City and country are required.
|
|
261
|
+
structured: nil
|
|
262
262
|
)
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
sig do
|
|
266
266
|
override.returns(
|
|
267
267
|
{
|
|
268
|
-
|
|
269
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
268
|
+
structured:
|
|
269
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured
|
|
270
270
|
}
|
|
271
271
|
)
|
|
272
272
|
end
|
|
273
273
|
def to_hash
|
|
274
274
|
end
|
|
275
275
|
|
|
276
|
-
class
|
|
276
|
+
class Structured < Increase::Internal::Type::BaseModel
|
|
277
277
|
OrHash =
|
|
278
278
|
T.type_alias do
|
|
279
279
|
T.any(
|
|
280
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
280
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured,
|
|
281
281
|
Increase::Internal::AnyHash
|
|
282
282
|
)
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
# The
|
|
285
|
+
# The city, district, town, or village of the address.
|
|
286
|
+
sig { returns(String) }
|
|
287
|
+
attr_accessor :city
|
|
288
|
+
|
|
289
|
+
# The two-letter
|
|
290
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
291
|
+
# the country of the address.
|
|
286
292
|
sig { returns(String) }
|
|
287
|
-
attr_accessor :
|
|
293
|
+
attr_accessor :country
|
|
294
|
+
|
|
295
|
+
# The first line of the address.
|
|
296
|
+
sig { returns(T.nilable(String)) }
|
|
297
|
+
attr_reader :line1
|
|
288
298
|
|
|
289
|
-
|
|
299
|
+
sig { params(line1: String).void }
|
|
300
|
+
attr_writer :line1
|
|
301
|
+
|
|
302
|
+
# The second line of the address.
|
|
290
303
|
sig { returns(T.nilable(String)) }
|
|
291
304
|
attr_reader :line2
|
|
292
305
|
|
|
293
306
|
sig { params(line2: String).void }
|
|
294
307
|
attr_writer :line2
|
|
295
308
|
|
|
296
|
-
# The
|
|
309
|
+
# The postal code of the address.
|
|
310
|
+
sig { returns(T.nilable(String)) }
|
|
311
|
+
attr_reader :postal_code
|
|
312
|
+
|
|
313
|
+
sig { params(postal_code: String).void }
|
|
314
|
+
attr_writer :postal_code
|
|
315
|
+
|
|
316
|
+
# The address state.
|
|
297
317
|
sig { returns(T.nilable(String)) }
|
|
298
|
-
attr_reader :
|
|
318
|
+
attr_reader :state
|
|
299
319
|
|
|
300
|
-
sig { params(
|
|
301
|
-
attr_writer :
|
|
320
|
+
sig { params(state: String).void }
|
|
321
|
+
attr_writer :state
|
|
302
322
|
|
|
303
|
-
#
|
|
323
|
+
# Structured address components. City and country are required.
|
|
304
324
|
sig do
|
|
305
|
-
params(
|
|
306
|
-
|
|
307
|
-
|
|
325
|
+
params(
|
|
326
|
+
city: String,
|
|
327
|
+
country: String,
|
|
328
|
+
line1: String,
|
|
329
|
+
line2: String,
|
|
330
|
+
postal_code: String,
|
|
331
|
+
state: String
|
|
332
|
+
).returns(T.attached_class)
|
|
308
333
|
end
|
|
309
334
|
def self.new(
|
|
310
|
-
# The
|
|
311
|
-
|
|
312
|
-
# The
|
|
335
|
+
# The city, district, town, or village of the address.
|
|
336
|
+
city:,
|
|
337
|
+
# The two-letter
|
|
338
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
339
|
+
# the country of the address.
|
|
340
|
+
country:,
|
|
341
|
+
# The first line of the address.
|
|
342
|
+
line1: nil,
|
|
343
|
+
# The second line of the address.
|
|
313
344
|
line2: nil,
|
|
314
|
-
# The
|
|
315
|
-
|
|
345
|
+
# The postal code of the address.
|
|
346
|
+
postal_code: nil,
|
|
347
|
+
# The address state.
|
|
348
|
+
state: nil
|
|
316
349
|
)
|
|
317
350
|
end
|
|
318
351
|
|
|
319
352
|
sig do
|
|
320
|
-
override.returns(
|
|
353
|
+
override.returns(
|
|
354
|
+
{
|
|
355
|
+
city: String,
|
|
356
|
+
country: String,
|
|
357
|
+
line1: String,
|
|
358
|
+
line2: String,
|
|
359
|
+
postal_code: String,
|
|
360
|
+
state: String
|
|
361
|
+
}
|
|
362
|
+
)
|
|
321
363
|
end
|
|
322
364
|
def to_hash
|
|
323
365
|
end
|
|
@@ -597,93 +639,135 @@ module Increase
|
|
|
597
639
|
)
|
|
598
640
|
end
|
|
599
641
|
|
|
600
|
-
#
|
|
642
|
+
# Structured address components. City and country are required.
|
|
601
643
|
sig do
|
|
602
644
|
returns(
|
|
603
645
|
T.nilable(
|
|
604
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
646
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured
|
|
605
647
|
)
|
|
606
648
|
)
|
|
607
649
|
end
|
|
608
|
-
attr_reader :
|
|
650
|
+
attr_reader :structured
|
|
609
651
|
|
|
610
652
|
sig do
|
|
611
653
|
params(
|
|
612
|
-
|
|
613
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
654
|
+
structured:
|
|
655
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured::OrHash
|
|
614
656
|
).void
|
|
615
657
|
end
|
|
616
|
-
attr_writer :
|
|
658
|
+
attr_writer :structured
|
|
617
659
|
|
|
618
660
|
# The person or business's address.
|
|
619
661
|
sig do
|
|
620
662
|
params(
|
|
621
|
-
|
|
622
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
663
|
+
structured:
|
|
664
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured::OrHash
|
|
623
665
|
).returns(T.attached_class)
|
|
624
666
|
end
|
|
625
667
|
def self.new(
|
|
626
|
-
#
|
|
627
|
-
|
|
668
|
+
# Structured address components. City and country are required.
|
|
669
|
+
structured: nil
|
|
628
670
|
)
|
|
629
671
|
end
|
|
630
672
|
|
|
631
673
|
sig do
|
|
632
674
|
override.returns(
|
|
633
675
|
{
|
|
634
|
-
|
|
635
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
676
|
+
structured:
|
|
677
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured
|
|
636
678
|
}
|
|
637
679
|
)
|
|
638
680
|
end
|
|
639
681
|
def to_hash
|
|
640
682
|
end
|
|
641
683
|
|
|
642
|
-
class
|
|
684
|
+
class Structured < Increase::Internal::Type::BaseModel
|
|
643
685
|
OrHash =
|
|
644
686
|
T.type_alias do
|
|
645
687
|
T.any(
|
|
646
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
688
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured,
|
|
647
689
|
Increase::Internal::AnyHash
|
|
648
690
|
)
|
|
649
691
|
end
|
|
650
692
|
|
|
651
|
-
# The
|
|
693
|
+
# The city, district, town, or village of the address.
|
|
694
|
+
sig { returns(String) }
|
|
695
|
+
attr_accessor :city
|
|
696
|
+
|
|
697
|
+
# The two-letter
|
|
698
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
699
|
+
# the country of the address.
|
|
652
700
|
sig { returns(String) }
|
|
653
|
-
attr_accessor :
|
|
701
|
+
attr_accessor :country
|
|
702
|
+
|
|
703
|
+
# The first line of the address.
|
|
704
|
+
sig { returns(T.nilable(String)) }
|
|
705
|
+
attr_reader :line1
|
|
654
706
|
|
|
655
|
-
|
|
707
|
+
sig { params(line1: String).void }
|
|
708
|
+
attr_writer :line1
|
|
709
|
+
|
|
710
|
+
# The second line of the address.
|
|
656
711
|
sig { returns(T.nilable(String)) }
|
|
657
712
|
attr_reader :line2
|
|
658
713
|
|
|
659
714
|
sig { params(line2: String).void }
|
|
660
715
|
attr_writer :line2
|
|
661
716
|
|
|
662
|
-
# The
|
|
717
|
+
# The postal code of the address.
|
|
718
|
+
sig { returns(T.nilable(String)) }
|
|
719
|
+
attr_reader :postal_code
|
|
720
|
+
|
|
721
|
+
sig { params(postal_code: String).void }
|
|
722
|
+
attr_writer :postal_code
|
|
723
|
+
|
|
724
|
+
# The address state.
|
|
663
725
|
sig { returns(T.nilable(String)) }
|
|
664
|
-
attr_reader :
|
|
726
|
+
attr_reader :state
|
|
665
727
|
|
|
666
|
-
sig { params(
|
|
667
|
-
attr_writer :
|
|
728
|
+
sig { params(state: String).void }
|
|
729
|
+
attr_writer :state
|
|
668
730
|
|
|
669
|
-
#
|
|
731
|
+
# Structured address components. City and country are required.
|
|
670
732
|
sig do
|
|
671
|
-
params(
|
|
672
|
-
|
|
673
|
-
|
|
733
|
+
params(
|
|
734
|
+
city: String,
|
|
735
|
+
country: String,
|
|
736
|
+
line1: String,
|
|
737
|
+
line2: String,
|
|
738
|
+
postal_code: String,
|
|
739
|
+
state: String
|
|
740
|
+
).returns(T.attached_class)
|
|
674
741
|
end
|
|
675
742
|
def self.new(
|
|
676
|
-
# The
|
|
677
|
-
|
|
678
|
-
# The
|
|
743
|
+
# The city, district, town, or village of the address.
|
|
744
|
+
city:,
|
|
745
|
+
# The two-letter
|
|
746
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
747
|
+
# the country of the address.
|
|
748
|
+
country:,
|
|
749
|
+
# The first line of the address.
|
|
750
|
+
line1: nil,
|
|
751
|
+
# The second line of the address.
|
|
679
752
|
line2: nil,
|
|
680
|
-
# The
|
|
681
|
-
|
|
753
|
+
# The postal code of the address.
|
|
754
|
+
postal_code: nil,
|
|
755
|
+
# The address state.
|
|
756
|
+
state: nil
|
|
682
757
|
)
|
|
683
758
|
end
|
|
684
759
|
|
|
685
760
|
sig do
|
|
686
|
-
override.returns(
|
|
761
|
+
override.returns(
|
|
762
|
+
{
|
|
763
|
+
city: String,
|
|
764
|
+
country: String,
|
|
765
|
+
line1: String,
|
|
766
|
+
line2: String,
|
|
767
|
+
postal_code: String,
|
|
768
|
+
state: String
|
|
769
|
+
}
|
|
770
|
+
)
|
|
687
771
|
end
|
|
688
772
|
def to_hash
|
|
689
773
|
end
|
|
@@ -51,7 +51,7 @@ module Increase
|
|
|
51
51
|
effective_date: nil,
|
|
52
52
|
# Your identifier for the recipient.
|
|
53
53
|
individual_id: nil,
|
|
54
|
-
# The name of
|
|
54
|
+
# The name of the recipient. This value is informational and not verified by the
|
|
55
55
|
# recipient's bank.
|
|
56
56
|
individual_name: nil,
|
|
57
57
|
# The
|
|
@@ -27,8 +27,6 @@ module Increase
|
|
|
27
27
|
routing_number: String,
|
|
28
28
|
standard_entry_class_code:
|
|
29
29
|
Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
|
|
30
|
-
transaction_timing:
|
|
31
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
|
|
32
30
|
request_options: Increase::RequestOptions::OrHash
|
|
33
31
|
).returns(Increase::ACHTransfer)
|
|
34
32
|
end
|
|
@@ -103,8 +101,6 @@ module Increase
|
|
|
103
101
|
# to use for the transfer. If not provided, the default is
|
|
104
102
|
# `corporate_credit_or_debit`.
|
|
105
103
|
standard_entry_class_code: nil,
|
|
106
|
-
# The timing of the transaction.
|
|
107
|
-
transaction_timing: nil,
|
|
108
104
|
request_options: {}
|
|
109
105
|
)
|
|
110
106
|
end
|
|
@@ -50,6 +50,7 @@ module Increase
|
|
|
50
50
|
entity_beneficial_owner_id: String,
|
|
51
51
|
address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
|
|
52
52
|
confirmed_no_us_tax_id: T::Boolean,
|
|
53
|
+
date_of_birth: Date,
|
|
53
54
|
identification:
|
|
54
55
|
Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
|
|
55
56
|
name: String,
|
|
@@ -69,6 +70,8 @@ module Increase
|
|
|
69
70
|
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
70
71
|
# Number).
|
|
71
72
|
confirmed_no_us_tax_id: nil,
|
|
73
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
74
|
+
date_of_birth: nil,
|
|
72
75
|
# A means of verifying the person's identity.
|
|
73
76
|
identification: nil,
|
|
74
77
|
# The individual's legal name.
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
authorization_controls:
|
|
11
11
|
Increase::CardCreateParams::AuthorizationControls::OrHash,
|
|
12
12
|
billing_address: Increase::CardCreateParams::BillingAddress::OrHash,
|
|
13
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash,
|
|
13
14
|
description: String,
|
|
14
15
|
digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
|
|
15
16
|
entity_id: String,
|
|
@@ -23,6 +24,9 @@ module Increase
|
|
|
23
24
|
authorization_controls: nil,
|
|
24
25
|
# The card's billing address.
|
|
25
26
|
billing_address: nil,
|
|
27
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
28
|
+
# from acquirers in Card Validations.
|
|
29
|
+
cardholder_name: nil,
|
|
26
30
|
# The description you choose to give the card.
|
|
27
31
|
description: nil,
|
|
28
32
|
# The contact information used in the two-factor steps for digital wallet card
|
|
@@ -16,7 +16,8 @@ module Increase
|
|
|
16
16
|
def create(
|
|
17
17
|
# The underlying card representing this physical card.
|
|
18
18
|
card_id:,
|
|
19
|
-
# Details about the cardholder, as it will appear on the physical card.
|
|
19
|
+
# Details about the cardholder, as it will appear on the physical card. The
|
|
20
|
+
# combined first name and last name cannot exceed 25 characters.
|
|
20
21
|
cardholder:,
|
|
21
22
|
# The details used to ship this physical card.
|
|
22
23
|
shipment:,
|
|
@@ -13,6 +13,7 @@ module Increase
|
|
|
13
13
|
account_number: String,
|
|
14
14
|
debtor_name: String,
|
|
15
15
|
external_account_id: String,
|
|
16
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
16
17
|
require_approval: T::Boolean,
|
|
17
18
|
routing_number: String,
|
|
18
19
|
ultimate_creditor_name: String,
|
|
@@ -38,6 +39,9 @@ module Increase
|
|
|
38
39
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
39
40
|
# provided, `account_number` and `routing_number` must be absent.
|
|
40
41
|
external_account_id: nil,
|
|
42
|
+
# The ID of an Inbound Real-Time Payments Request for Payment in response to which
|
|
43
|
+
# this transfer is being sent.
|
|
44
|
+
inbound_real_time_payments_request_for_payment_id: nil,
|
|
41
45
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
42
46
|
require_approval: nil,
|
|
43
47
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
@@ -50,7 +50,10 @@ module Increase
|
|
|
50
50
|
def adjustment(
|
|
51
51
|
# The identifier of the Inbound Check Deposit to adjust.
|
|
52
52
|
inbound_check_deposit_id,
|
|
53
|
-
# The adjustment amount in cents.
|
|
53
|
+
# The adjustment amount in cents. A positive amount means that the funds are being
|
|
54
|
+
# returned to you by the other bank and is a credit to your account, as happens
|
|
55
|
+
# for a `wrong_payee_credit`. A negative amount is a debit to your account, as
|
|
56
|
+
# happens for a `late_return`. Defaults to the amount of the Inbound Check
|
|
54
57
|
# Deposit.
|
|
55
58
|
amount: nil,
|
|
56
59
|
# The reason for the adjustment. Defaults to `wrong_payee_credit`.
|
|
@@ -79,38 +79,46 @@ module Increase
|
|
|
79
79
|
{
|
|
80
80
|
credit_limit: Integer,
|
|
81
81
|
grace_period_days: Integer,
|
|
82
|
+
maturity_date: Date,
|
|
82
83
|
statement_day_of_month: Integer,
|
|
83
|
-
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
84
|
-
maturity_date: Date
|
|
84
|
+
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
class Loan < Increase::Internal::Type::BaseModel
|
|
88
88
|
attr_accessor credit_limit: Integer
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
attr_reader grace_period_days: Integer?
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
attr_accessor statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
92
|
+
def grace_period_days=: (Integer) -> Integer
|
|
95
93
|
|
|
96
94
|
attr_reader maturity_date: Date?
|
|
97
95
|
|
|
98
96
|
def maturity_date=: (Date) -> Date
|
|
99
97
|
|
|
98
|
+
attr_reader statement_day_of_month: Integer?
|
|
99
|
+
|
|
100
|
+
def statement_day_of_month=: (Integer) -> Integer
|
|
101
|
+
|
|
102
|
+
attr_reader statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type?
|
|
103
|
+
|
|
104
|
+
def statement_payment_type=: (
|
|
105
|
+
Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
106
|
+
) -> Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
107
|
+
|
|
100
108
|
def initialize: (
|
|
101
109
|
credit_limit: Integer,
|
|
102
|
-
grace_period_days: Integer,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
?
|
|
110
|
+
?grace_period_days: Integer,
|
|
111
|
+
?maturity_date: Date,
|
|
112
|
+
?statement_day_of_month: Integer,
|
|
113
|
+
?statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
106
114
|
) -> void
|
|
107
115
|
|
|
108
116
|
def to_hash: -> {
|
|
109
117
|
credit_limit: Integer,
|
|
110
118
|
grace_period_days: Integer,
|
|
119
|
+
maturity_date: Date,
|
|
111
120
|
statement_day_of_month: Integer,
|
|
112
|
-
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
113
|
-
maturity_date: Date
|
|
121
|
+
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
114
122
|
}
|
|
115
123
|
|
|
116
124
|
type statement_payment_type = :balance | :interest_until_maturity
|
|
@@ -19,8 +19,7 @@ module Increase
|
|
|
19
19
|
preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate,
|
|
20
20
|
require_approval: bool,
|
|
21
21
|
routing_number: String,
|
|
22
|
-
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
23
|
-
transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
22
|
+
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
24
23
|
}
|
|
25
24
|
& Increase::Internal::Type::request_parameters
|
|
26
25
|
|
|
@@ -104,12 +103,6 @@ module Increase
|
|
|
104
103
|
Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
105
104
|
) -> Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
106
105
|
|
|
107
|
-
attr_reader transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing?
|
|
108
|
-
|
|
109
|
-
def transaction_timing=: (
|
|
110
|
-
Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
111
|
-
) -> Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
112
|
-
|
|
113
106
|
def initialize: (
|
|
114
107
|
account_id: String,
|
|
115
108
|
amount: Integer,
|
|
@@ -129,7 +122,6 @@ module Increase
|
|
|
129
122
|
?require_approval: bool,
|
|
130
123
|
?routing_number: String,
|
|
131
124
|
?standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code,
|
|
132
|
-
?transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing,
|
|
133
125
|
?request_options: Increase::request_opts
|
|
134
126
|
) -> void
|
|
135
127
|
|
|
@@ -152,7 +144,6 @@ module Increase
|
|
|
152
144
|
require_approval: bool,
|
|
153
145
|
routing_number: String,
|
|
154
146
|
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code,
|
|
155
|
-
transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing,
|
|
156
147
|
request_options: Increase::RequestOptions
|
|
157
148
|
}
|
|
158
149
|
|
|
@@ -366,20 +357,6 @@ module Increase
|
|
|
366
357
|
|
|
367
358
|
def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::standard_entry_class_code]
|
|
368
359
|
end
|
|
369
|
-
|
|
370
|
-
type transaction_timing = :synchronous | :asynchronous
|
|
371
|
-
|
|
372
|
-
module TransactionTiming
|
|
373
|
-
extend Increase::Internal::Type::Enum
|
|
374
|
-
|
|
375
|
-
# A Transaction will be created immediately.
|
|
376
|
-
SYNCHRONOUS: :synchronous
|
|
377
|
-
|
|
378
|
-
# A Transaction will be created when the funds settle at the Federal Reserve.
|
|
379
|
-
ASYNCHRONOUS: :asynchronous
|
|
380
|
-
|
|
381
|
-
def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::transaction_timing]
|
|
382
|
-
end
|
|
383
360
|
end
|
|
384
361
|
end
|
|
385
362
|
end
|
|
@@ -40,6 +40,12 @@ module Increase
|
|
|
40
40
|
{
|
|
41
41
|
due_at: Time?,
|
|
42
42
|
due_balance: Integer,
|
|
43
|
+
due_fees: Integer?,
|
|
44
|
+
due_interest: Integer?,
|
|
45
|
+
due_principal: Integer?,
|
|
46
|
+
not_due_fees: Integer?,
|
|
47
|
+
not_due_interest: Integer?,
|
|
48
|
+
not_due_principal: Integer?,
|
|
43
49
|
past_due_balance: Integer,
|
|
44
50
|
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
45
51
|
}
|
|
@@ -49,6 +55,18 @@ module Increase
|
|
|
49
55
|
|
|
50
56
|
attr_accessor due_balance: Integer
|
|
51
57
|
|
|
58
|
+
attr_accessor due_fees: Integer?
|
|
59
|
+
|
|
60
|
+
attr_accessor due_interest: Integer?
|
|
61
|
+
|
|
62
|
+
attr_accessor due_principal: Integer?
|
|
63
|
+
|
|
64
|
+
attr_accessor not_due_fees: Integer?
|
|
65
|
+
|
|
66
|
+
attr_accessor not_due_interest: Integer?
|
|
67
|
+
|
|
68
|
+
attr_accessor not_due_principal: Integer?
|
|
69
|
+
|
|
52
70
|
attr_accessor past_due_balance: Integer
|
|
53
71
|
|
|
54
72
|
attr_accessor receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
@@ -56,6 +74,12 @@ module Increase
|
|
|
56
74
|
def initialize: (
|
|
57
75
|
due_at: Time?,
|
|
58
76
|
due_balance: Integer,
|
|
77
|
+
due_fees: Integer?,
|
|
78
|
+
due_interest: Integer?,
|
|
79
|
+
due_principal: Integer?,
|
|
80
|
+
not_due_fees: Integer?,
|
|
81
|
+
not_due_interest: Integer?,
|
|
82
|
+
not_due_principal: Integer?,
|
|
59
83
|
past_due_balance: Integer,
|
|
60
84
|
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
61
85
|
) -> void
|
|
@@ -63,6 +87,12 @@ module Increase
|
|
|
63
87
|
def to_hash: -> {
|
|
64
88
|
due_at: Time?,
|
|
65
89
|
due_balance: Integer,
|
|
90
|
+
due_fees: Integer?,
|
|
91
|
+
due_interest: Integer?,
|
|
92
|
+
due_principal: Integer?,
|
|
93
|
+
not_due_fees: Integer?,
|
|
94
|
+
not_due_interest: Integer?,
|
|
95
|
+
not_due_principal: Integer?,
|
|
66
96
|
past_due_balance: Integer,
|
|
67
97
|
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
68
98
|
}
|
|
@@ -5,6 +5,7 @@ module Increase
|
|
|
5
5
|
entity_beneficial_owner_id: String,
|
|
6
6
|
address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
7
7
|
confirmed_no_us_tax_id: bool,
|
|
8
|
+
date_of_birth: Date,
|
|
8
9
|
identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
9
10
|
name: String,
|
|
10
11
|
prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
|
|
@@ -27,6 +28,10 @@ module Increase
|
|
|
27
28
|
|
|
28
29
|
def confirmed_no_us_tax_id=: (bool) -> bool
|
|
29
30
|
|
|
31
|
+
attr_reader date_of_birth: Date?
|
|
32
|
+
|
|
33
|
+
def date_of_birth=: (Date) -> Date
|
|
34
|
+
|
|
30
35
|
attr_reader identification: Increase::BeneficialOwnerUpdateParams::Identification?
|
|
31
36
|
|
|
32
37
|
def identification=: (
|
|
@@ -47,6 +52,7 @@ module Increase
|
|
|
47
52
|
entity_beneficial_owner_id: String,
|
|
48
53
|
?address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
49
54
|
?confirmed_no_us_tax_id: bool,
|
|
55
|
+
?date_of_birth: Date,
|
|
50
56
|
?identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
51
57
|
?name: String,
|
|
52
58
|
?prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
|
|
@@ -57,6 +63,7 @@ module Increase
|
|
|
57
63
|
entity_beneficial_owner_id: String,
|
|
58
64
|
address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
59
65
|
confirmed_no_us_tax_id: bool,
|
|
66
|
+
date_of_birth: Date,
|
|
60
67
|
identification: Increase::BeneficialOwnerUpdateParams::Identification,
|
|
61
68
|
name: String,
|
|
62
69
|
prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
|