increase 1.113.0 → 1.115.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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +8 -0
- data/lib/increase/models/card_payment.rb +160 -4
- data/lib/increase/models/declined_transaction.rb +40 -1
- data/lib/increase/models/fednow_transfer.rb +516 -0
- data/lib/increase/models/fednow_transfer_approve_params.rb +14 -0
- data/lib/increase/models/fednow_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/fednow_transfer_create_params.rb +188 -0
- data/lib/increase/models/fednow_transfer_list_params.rb +170 -0
- data/lib/increase/models/fednow_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_fednow_transfer.rb +278 -0
- data/lib/increase/models/inbound_fednow_transfer_list_params.rb +100 -0
- data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/pending_transaction.rb +42 -1
- data/lib/increase/models/real_time_decision.rb +40 -1
- data/lib/increase/models/simulations/inbound_fednow_transfer_create_params.rb +64 -0
- data/lib/increase/models/transaction.rb +40 -1
- data/lib/increase/models.rb +18 -0
- data/lib/increase/resources/fednow_transfers.rb +159 -0
- data/lib/increase/resources/inbound_fednow_transfers.rb +68 -0
- data/lib/increase/resources/simulations/inbound_fednow_transfers.rb +49 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +13 -0
- data/rbi/increase/client.rbi +6 -0
- data/rbi/increase/models/card_payment.rbi +288 -0
- data/rbi/increase/models/declined_transaction.rbi +72 -0
- data/rbi/increase/models/fednow_transfer.rbi +877 -0
- data/rbi/increase/models/fednow_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/fednow_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/fednow_transfer_create_params.rbi +289 -0
- data/rbi/increase/models/fednow_transfer_list_params.rbi +334 -0
- data/rbi/increase/models/fednow_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_fednow_transfer.rbi +444 -0
- data/rbi/increase/models/inbound_fednow_transfer_list_params.rbi +177 -0
- data/rbi/increase/models/inbound_fednow_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/pending_transaction.rbi +72 -0
- data/rbi/increase/models/real_time_decision.rbi +72 -0
- data/rbi/increase/models/simulations/inbound_fednow_transfer_create_params.rbi +100 -0
- data/rbi/increase/models/transaction.rbi +72 -0
- data/rbi/increase/models.rbi +20 -0
- data/rbi/increase/resources/fednow_transfers.rbi +138 -0
- data/rbi/increase/resources/inbound_fednow_transfers.rbi +54 -0
- data/rbi/increase/resources/simulations/inbound_fednow_transfers.rbi +44 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +68 -0
- data/sig/increase/models/declined_transaction.rbs +17 -0
- data/sig/increase/models/fednow_transfer.rbs +404 -0
- data/sig/increase/models/fednow_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/fednow_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/fednow_transfer_create_params.rbs +155 -0
- data/sig/increase/models/fednow_transfer_list_params.rbs +174 -0
- data/sig/increase/models/fednow_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_fednow_transfer.rbs +223 -0
- data/sig/increase/models/inbound_fednow_transfer_list_params.rbs +93 -0
- data/sig/increase/models/inbound_fednow_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/pending_transaction.rbs +17 -0
- data/sig/increase/models/real_time_decision.rbs +17 -0
- data/sig/increase/models/simulations/inbound_fednow_transfer_create_params.rbs +61 -0
- data/sig/increase/models/transaction.rbs +17 -0
- data/sig/increase/models.rbs +18 -0
- data/sig/increase/resources/fednow_transfers.rbs +49 -0
- data/sig/increase/resources/inbound_fednow_transfers.rbs +21 -0
- data/sig/increase/resources/simulations/inbound_fednow_transfers.rbs +19 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +41 -2
|
@@ -84,6 +84,9 @@ module Increase
|
|
|
84
84
|
end
|
|
85
85
|
attr_reader :inbound_real_time_payments_transfers
|
|
86
86
|
|
|
87
|
+
sig { returns(Increase::Resources::Simulations::InboundFednowTransfers) }
|
|
88
|
+
attr_reader :inbound_fednow_transfers
|
|
89
|
+
|
|
87
90
|
sig { returns(Increase::Resources::Simulations::CheckDeposits) }
|
|
88
91
|
attr_reader :check_deposits
|
|
89
92
|
|
data/sig/increase/client.rbs
CHANGED
|
@@ -65,6 +65,10 @@ module Increase
|
|
|
65
65
|
|
|
66
66
|
attr_reader inbound_real_time_payments_transfers: Increase::Resources::InboundRealTimePaymentsTransfers
|
|
67
67
|
|
|
68
|
+
attr_reader fednow_transfers: Increase::Resources::FednowTransfers
|
|
69
|
+
|
|
70
|
+
attr_reader inbound_fednow_transfers: Increase::Resources::InboundFednowTransfers
|
|
71
|
+
|
|
68
72
|
attr_reader check_deposits: Increase::Resources::CheckDeposits
|
|
69
73
|
|
|
70
74
|
attr_reader lockboxes: Increase::Resources::Lockboxes
|
|
@@ -608,6 +608,7 @@ module Increase
|
|
|
608
608
|
{
|
|
609
609
|
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
610
610
|
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
611
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
611
612
|
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
612
613
|
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
613
614
|
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
@@ -622,6 +623,8 @@ module Increase
|
|
|
622
623
|
|
|
623
624
|
attr_accessor dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?
|
|
624
625
|
|
|
626
|
+
attr_accessor original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?
|
|
627
|
+
|
|
625
628
|
attr_accessor prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?
|
|
626
629
|
|
|
627
630
|
attr_accessor surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?
|
|
@@ -639,6 +642,7 @@ module Increase
|
|
|
639
642
|
def initialize: (
|
|
640
643
|
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
641
644
|
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
645
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
642
646
|
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
643
647
|
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
644
648
|
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
@@ -651,6 +655,7 @@ module Increase
|
|
|
651
655
|
def to_hash: -> {
|
|
652
656
|
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
653
657
|
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
658
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
654
659
|
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
655
660
|
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
656
661
|
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
@@ -684,6 +689,18 @@ module Increase
|
|
|
684
689
|
def to_hash: -> { amount: Integer, currency: String }
|
|
685
690
|
end
|
|
686
691
|
|
|
692
|
+
type original = { amount: Integer, currency: String }
|
|
693
|
+
|
|
694
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
695
|
+
attr_accessor amount: Integer
|
|
696
|
+
|
|
697
|
+
attr_accessor currency: String
|
|
698
|
+
|
|
699
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
700
|
+
|
|
701
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
702
|
+
end
|
|
703
|
+
|
|
687
704
|
type prescription = { amount: Integer, currency: String }
|
|
688
705
|
|
|
689
706
|
class Prescription < Increase::Internal::Type::BaseModel
|
|
@@ -1482,6 +1499,7 @@ module Increase
|
|
|
1482
1499
|
{
|
|
1483
1500
|
clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
|
|
1484
1501
|
dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
|
|
1502
|
+
original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
|
|
1485
1503
|
prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
|
|
1486
1504
|
surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
|
|
1487
1505
|
total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -1496,6 +1514,8 @@ module Increase
|
|
|
1496
1514
|
|
|
1497
1515
|
attr_accessor dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?
|
|
1498
1516
|
|
|
1517
|
+
attr_accessor original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?
|
|
1518
|
+
|
|
1499
1519
|
attr_accessor prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?
|
|
1500
1520
|
|
|
1501
1521
|
attr_accessor surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?
|
|
@@ -1513,6 +1533,7 @@ module Increase
|
|
|
1513
1533
|
def initialize: (
|
|
1514
1534
|
clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
|
|
1515
1535
|
dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
|
|
1536
|
+
original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
|
|
1516
1537
|
prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
|
|
1517
1538
|
surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
|
|
1518
1539
|
total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -1525,6 +1546,7 @@ module Increase
|
|
|
1525
1546
|
def to_hash: -> {
|
|
1526
1547
|
clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
|
|
1527
1548
|
dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
|
|
1549
|
+
original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
|
|
1528
1550
|
prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
|
|
1529
1551
|
surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
|
|
1530
1552
|
total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -1558,6 +1580,18 @@ module Increase
|
|
|
1558
1580
|
def to_hash: -> { amount: Integer, currency: String }
|
|
1559
1581
|
end
|
|
1560
1582
|
|
|
1583
|
+
type original = { amount: Integer, currency: String }
|
|
1584
|
+
|
|
1585
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
1586
|
+
attr_accessor amount: Integer
|
|
1587
|
+
|
|
1588
|
+
attr_accessor currency: String
|
|
1589
|
+
|
|
1590
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
1591
|
+
|
|
1592
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1561
1595
|
type prescription = { amount: Integer, currency: String }
|
|
1562
1596
|
|
|
1563
1597
|
class Prescription < Increase::Internal::Type::BaseModel
|
|
@@ -2438,6 +2472,7 @@ module Increase
|
|
|
2438
2472
|
{
|
|
2439
2473
|
clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
|
|
2440
2474
|
dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
|
|
2475
|
+
original: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original?,
|
|
2441
2476
|
prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
|
|
2442
2477
|
surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
|
|
2443
2478
|
total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
|
|
@@ -2452,6 +2487,8 @@ module Increase
|
|
|
2452
2487
|
|
|
2453
2488
|
attr_accessor dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?
|
|
2454
2489
|
|
|
2490
|
+
attr_accessor original: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original?
|
|
2491
|
+
|
|
2455
2492
|
attr_accessor prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?
|
|
2456
2493
|
|
|
2457
2494
|
attr_accessor surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?
|
|
@@ -2469,6 +2506,7 @@ module Increase
|
|
|
2469
2506
|
def initialize: (
|
|
2470
2507
|
clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
|
|
2471
2508
|
dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
|
|
2509
|
+
original: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original?,
|
|
2472
2510
|
prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
|
|
2473
2511
|
surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
|
|
2474
2512
|
total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
|
|
@@ -2481,6 +2519,7 @@ module Increase
|
|
|
2481
2519
|
def to_hash: -> {
|
|
2482
2520
|
clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
|
|
2483
2521
|
dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
|
|
2522
|
+
original: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original?,
|
|
2484
2523
|
prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
|
|
2485
2524
|
surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
|
|
2486
2525
|
total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
|
|
@@ -2514,6 +2553,18 @@ module Increase
|
|
|
2514
2553
|
def to_hash: -> { amount: Integer, currency: String }
|
|
2515
2554
|
end
|
|
2516
2555
|
|
|
2556
|
+
type original = { amount: Integer, currency: String }
|
|
2557
|
+
|
|
2558
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
2559
|
+
attr_accessor amount: Integer
|
|
2560
|
+
|
|
2561
|
+
attr_accessor currency: String
|
|
2562
|
+
|
|
2563
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
2564
|
+
|
|
2565
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
2566
|
+
end
|
|
2567
|
+
|
|
2517
2568
|
type prescription = { amount: Integer, currency: String }
|
|
2518
2569
|
|
|
2519
2570
|
class Prescription < Increase::Internal::Type::BaseModel
|
|
@@ -5153,6 +5204,7 @@ module Increase
|
|
|
5153
5204
|
{
|
|
5154
5205
|
clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
|
|
5155
5206
|
dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
|
|
5207
|
+
original: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Original?,
|
|
5156
5208
|
prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
|
|
5157
5209
|
surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
|
|
5158
5210
|
total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
|
|
@@ -5167,6 +5219,8 @@ module Increase
|
|
|
5167
5219
|
|
|
5168
5220
|
attr_accessor dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?
|
|
5169
5221
|
|
|
5222
|
+
attr_accessor original: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Original?
|
|
5223
|
+
|
|
5170
5224
|
attr_accessor prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?
|
|
5171
5225
|
|
|
5172
5226
|
attr_accessor surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?
|
|
@@ -5184,6 +5238,7 @@ module Increase
|
|
|
5184
5238
|
def initialize: (
|
|
5185
5239
|
clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
|
|
5186
5240
|
dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
|
|
5241
|
+
original: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Original?,
|
|
5187
5242
|
prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
|
|
5188
5243
|
surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
|
|
5189
5244
|
total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
|
|
@@ -5196,6 +5251,7 @@ module Increase
|
|
|
5196
5251
|
def to_hash: -> {
|
|
5197
5252
|
clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
|
|
5198
5253
|
dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
|
|
5254
|
+
original: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Original?,
|
|
5199
5255
|
prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
|
|
5200
5256
|
surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
|
|
5201
5257
|
total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
|
|
@@ -5229,6 +5285,18 @@ module Increase
|
|
|
5229
5285
|
def to_hash: -> { amount: Integer, currency: String }
|
|
5230
5286
|
end
|
|
5231
5287
|
|
|
5288
|
+
type original = { amount: Integer, currency: String }
|
|
5289
|
+
|
|
5290
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
5291
|
+
attr_accessor amount: Integer
|
|
5292
|
+
|
|
5293
|
+
attr_accessor currency: String
|
|
5294
|
+
|
|
5295
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
5296
|
+
|
|
5297
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
5298
|
+
end
|
|
5299
|
+
|
|
5232
5300
|
type prescription = { amount: Integer, currency: String }
|
|
5233
5301
|
|
|
5234
5302
|
class Prescription < Increase::Internal::Type::BaseModel
|
|
@@ -495,6 +495,7 @@ module Increase
|
|
|
495
495
|
{
|
|
496
496
|
clinic: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic?,
|
|
497
497
|
dental: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental?,
|
|
498
|
+
original: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original?,
|
|
498
499
|
prescription: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription?,
|
|
499
500
|
surcharge: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge?,
|
|
500
501
|
total_cumulative: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -509,6 +510,8 @@ module Increase
|
|
|
509
510
|
|
|
510
511
|
attr_accessor dental: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental?
|
|
511
512
|
|
|
513
|
+
attr_accessor original: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original?
|
|
514
|
+
|
|
512
515
|
attr_accessor prescription: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription?
|
|
513
516
|
|
|
514
517
|
attr_accessor surcharge: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge?
|
|
@@ -526,6 +529,7 @@ module Increase
|
|
|
526
529
|
def initialize: (
|
|
527
530
|
clinic: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic?,
|
|
528
531
|
dental: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental?,
|
|
532
|
+
original: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original?,
|
|
529
533
|
prescription: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription?,
|
|
530
534
|
surcharge: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge?,
|
|
531
535
|
total_cumulative: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -538,6 +542,7 @@ module Increase
|
|
|
538
542
|
def to_hash: -> {
|
|
539
543
|
clinic: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic?,
|
|
540
544
|
dental: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental?,
|
|
545
|
+
original: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original?,
|
|
541
546
|
prescription: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription?,
|
|
542
547
|
surcharge: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge?,
|
|
543
548
|
total_cumulative: Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalCumulative?,
|
|
@@ -571,6 +576,18 @@ module Increase
|
|
|
571
576
|
def to_hash: -> { amount: Integer, currency: String }
|
|
572
577
|
end
|
|
573
578
|
|
|
579
|
+
type original = { amount: Integer, currency: String }
|
|
580
|
+
|
|
581
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
582
|
+
attr_accessor amount: Integer
|
|
583
|
+
|
|
584
|
+
attr_accessor currency: String
|
|
585
|
+
|
|
586
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
587
|
+
|
|
588
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
589
|
+
end
|
|
590
|
+
|
|
574
591
|
type prescription = { amount: Integer, currency: String }
|
|
575
592
|
|
|
576
593
|
class Prescription < Increase::Internal::Type::BaseModel
|
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type fednow_transfer =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
account_id: String,
|
|
7
|
+
account_number: String,
|
|
8
|
+
acknowledgement: Increase::FednowTransfer::Acknowledgement?,
|
|
9
|
+
amount: Integer,
|
|
10
|
+
created_at: Time,
|
|
11
|
+
created_by: Increase::FednowTransfer::CreatedBy?,
|
|
12
|
+
creditor_name: String,
|
|
13
|
+
currency: Increase::Models::FednowTransfer::currency,
|
|
14
|
+
debtor_name: String,
|
|
15
|
+
external_account_id: String?,
|
|
16
|
+
idempotency_key: String?,
|
|
17
|
+
pending_transaction_id: String?,
|
|
18
|
+
rejection: Increase::FednowTransfer::Rejection?,
|
|
19
|
+
routing_number: String,
|
|
20
|
+
source_account_number_id: String,
|
|
21
|
+
status: Increase::Models::FednowTransfer::status,
|
|
22
|
+
submission: Increase::FednowTransfer::Submission?,
|
|
23
|
+
transaction_id: String?,
|
|
24
|
+
type: Increase::Models::FednowTransfer::type_,
|
|
25
|
+
unique_end_to_end_transaction_reference: String,
|
|
26
|
+
unstructured_remittance_information: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class FednowTransfer < Increase::Internal::Type::BaseModel
|
|
30
|
+
attr_accessor id: String
|
|
31
|
+
|
|
32
|
+
attr_accessor account_id: String
|
|
33
|
+
|
|
34
|
+
attr_accessor account_number: String
|
|
35
|
+
|
|
36
|
+
attr_accessor acknowledgement: Increase::FednowTransfer::Acknowledgement?
|
|
37
|
+
|
|
38
|
+
attr_accessor amount: Integer
|
|
39
|
+
|
|
40
|
+
attr_accessor created_at: Time
|
|
41
|
+
|
|
42
|
+
attr_accessor created_by: Increase::FednowTransfer::CreatedBy?
|
|
43
|
+
|
|
44
|
+
attr_accessor creditor_name: String
|
|
45
|
+
|
|
46
|
+
attr_accessor currency: Increase::Models::FednowTransfer::currency
|
|
47
|
+
|
|
48
|
+
attr_accessor debtor_name: String
|
|
49
|
+
|
|
50
|
+
attr_accessor external_account_id: String?
|
|
51
|
+
|
|
52
|
+
attr_accessor idempotency_key: String?
|
|
53
|
+
|
|
54
|
+
attr_accessor pending_transaction_id: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor rejection: Increase::FednowTransfer::Rejection?
|
|
57
|
+
|
|
58
|
+
attr_accessor routing_number: String
|
|
59
|
+
|
|
60
|
+
attr_accessor source_account_number_id: String
|
|
61
|
+
|
|
62
|
+
attr_accessor status: Increase::Models::FednowTransfer::status
|
|
63
|
+
|
|
64
|
+
attr_accessor submission: Increase::FednowTransfer::Submission?
|
|
65
|
+
|
|
66
|
+
attr_accessor transaction_id: String?
|
|
67
|
+
|
|
68
|
+
attr_accessor type: Increase::Models::FednowTransfer::type_
|
|
69
|
+
|
|
70
|
+
attr_accessor unique_end_to_end_transaction_reference: String
|
|
71
|
+
|
|
72
|
+
attr_accessor unstructured_remittance_information: String
|
|
73
|
+
|
|
74
|
+
def initialize: (
|
|
75
|
+
id: String,
|
|
76
|
+
account_id: String,
|
|
77
|
+
account_number: String,
|
|
78
|
+
acknowledgement: Increase::FednowTransfer::Acknowledgement?,
|
|
79
|
+
amount: Integer,
|
|
80
|
+
created_at: Time,
|
|
81
|
+
created_by: Increase::FednowTransfer::CreatedBy?,
|
|
82
|
+
creditor_name: String,
|
|
83
|
+
currency: Increase::Models::FednowTransfer::currency,
|
|
84
|
+
debtor_name: String,
|
|
85
|
+
external_account_id: String?,
|
|
86
|
+
idempotency_key: String?,
|
|
87
|
+
pending_transaction_id: String?,
|
|
88
|
+
rejection: Increase::FednowTransfer::Rejection?,
|
|
89
|
+
routing_number: String,
|
|
90
|
+
source_account_number_id: String,
|
|
91
|
+
status: Increase::Models::FednowTransfer::status,
|
|
92
|
+
submission: Increase::FednowTransfer::Submission?,
|
|
93
|
+
transaction_id: String?,
|
|
94
|
+
type: Increase::Models::FednowTransfer::type_,
|
|
95
|
+
unique_end_to_end_transaction_reference: String,
|
|
96
|
+
unstructured_remittance_information: String
|
|
97
|
+
) -> void
|
|
98
|
+
|
|
99
|
+
def to_hash: -> {
|
|
100
|
+
id: String,
|
|
101
|
+
account_id: String,
|
|
102
|
+
account_number: String,
|
|
103
|
+
acknowledgement: Increase::FednowTransfer::Acknowledgement?,
|
|
104
|
+
amount: Integer,
|
|
105
|
+
created_at: Time,
|
|
106
|
+
created_by: Increase::FednowTransfer::CreatedBy?,
|
|
107
|
+
creditor_name: String,
|
|
108
|
+
currency: Increase::Models::FednowTransfer::currency,
|
|
109
|
+
debtor_name: String,
|
|
110
|
+
external_account_id: String?,
|
|
111
|
+
idempotency_key: String?,
|
|
112
|
+
pending_transaction_id: String?,
|
|
113
|
+
rejection: Increase::FednowTransfer::Rejection?,
|
|
114
|
+
routing_number: String,
|
|
115
|
+
source_account_number_id: String,
|
|
116
|
+
status: Increase::Models::FednowTransfer::status,
|
|
117
|
+
submission: Increase::FednowTransfer::Submission?,
|
|
118
|
+
transaction_id: String?,
|
|
119
|
+
type: Increase::Models::FednowTransfer::type_,
|
|
120
|
+
unique_end_to_end_transaction_reference: String,
|
|
121
|
+
unstructured_remittance_information: String
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
type acknowledgement = { acknowledged_at: Time }
|
|
125
|
+
|
|
126
|
+
class Acknowledgement < Increase::Internal::Type::BaseModel
|
|
127
|
+
attr_accessor acknowledged_at: Time
|
|
128
|
+
|
|
129
|
+
def initialize: (acknowledged_at: Time) -> void
|
|
130
|
+
|
|
131
|
+
def to_hash: -> { acknowledged_at: Time }
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
type created_by =
|
|
135
|
+
{
|
|
136
|
+
api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
|
|
137
|
+
category: Increase::Models::FednowTransfer::CreatedBy::category,
|
|
138
|
+
oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
|
|
139
|
+
user: Increase::FednowTransfer::CreatedBy::User?
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
143
|
+
attr_accessor api_key: Increase::FednowTransfer::CreatedBy::APIKey?
|
|
144
|
+
|
|
145
|
+
attr_accessor category: Increase::Models::FednowTransfer::CreatedBy::category
|
|
146
|
+
|
|
147
|
+
attr_accessor oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?
|
|
148
|
+
|
|
149
|
+
attr_accessor user: Increase::FednowTransfer::CreatedBy::User?
|
|
150
|
+
|
|
151
|
+
def initialize: (
|
|
152
|
+
api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
|
|
153
|
+
category: Increase::Models::FednowTransfer::CreatedBy::category,
|
|
154
|
+
oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
|
|
155
|
+
user: Increase::FednowTransfer::CreatedBy::User?
|
|
156
|
+
) -> void
|
|
157
|
+
|
|
158
|
+
def to_hash: -> {
|
|
159
|
+
api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
|
|
160
|
+
category: Increase::Models::FednowTransfer::CreatedBy::category,
|
|
161
|
+
oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
|
|
162
|
+
user: Increase::FednowTransfer::CreatedBy::User?
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
type api_key = { description: String? }
|
|
166
|
+
|
|
167
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
168
|
+
attr_accessor description: String?
|
|
169
|
+
|
|
170
|
+
def initialize: (description: String?) -> void
|
|
171
|
+
|
|
172
|
+
def to_hash: -> { description: String? }
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
type category = :api_key | :oauth_application | :user
|
|
176
|
+
|
|
177
|
+
module Category
|
|
178
|
+
extend Increase::Internal::Type::Enum
|
|
179
|
+
|
|
180
|
+
# An API key. Details will be under the `api_key` object.
|
|
181
|
+
API_KEY: :api_key
|
|
182
|
+
|
|
183
|
+
# An OAuth application you connected to Increase. Details will be under the `oauth_application` object.
|
|
184
|
+
OAUTH_APPLICATION: :oauth_application
|
|
185
|
+
|
|
186
|
+
# A User in the Increase dashboard. Details will be under the `user` object.
|
|
187
|
+
USER: :user
|
|
188
|
+
|
|
189
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::CreatedBy::category]
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
type oauth_application = { name: String }
|
|
193
|
+
|
|
194
|
+
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
195
|
+
attr_accessor name: String
|
|
196
|
+
|
|
197
|
+
def initialize: (name: String) -> void
|
|
198
|
+
|
|
199
|
+
def to_hash: -> { name: String }
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
type user = { email: String }
|
|
203
|
+
|
|
204
|
+
class User < Increase::Internal::Type::BaseModel
|
|
205
|
+
attr_accessor email: String
|
|
206
|
+
|
|
207
|
+
def initialize: (email: String) -> void
|
|
208
|
+
|
|
209
|
+
def to_hash: -> { email: String }
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
|
|
214
|
+
|
|
215
|
+
module Currency
|
|
216
|
+
extend Increase::Internal::Type::Enum
|
|
217
|
+
|
|
218
|
+
# Canadian Dollar (CAD)
|
|
219
|
+
CAD: :CAD
|
|
220
|
+
|
|
221
|
+
# Swiss Franc (CHF)
|
|
222
|
+
CHF: :CHF
|
|
223
|
+
|
|
224
|
+
# Euro (EUR)
|
|
225
|
+
EUR: :EUR
|
|
226
|
+
|
|
227
|
+
# British Pound (GBP)
|
|
228
|
+
GBP: :GBP
|
|
229
|
+
|
|
230
|
+
# Japanese Yen (JPY)
|
|
231
|
+
JPY: :JPY
|
|
232
|
+
|
|
233
|
+
# US Dollar (USD)
|
|
234
|
+
USD: :USD
|
|
235
|
+
|
|
236
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::currency]
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
type rejection =
|
|
240
|
+
{
|
|
241
|
+
reject_reason_additional_information: String?,
|
|
242
|
+
reject_reason_code: Increase::Models::FednowTransfer::Rejection::reject_reason_code,
|
|
243
|
+
rejected_at: Time?
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
class Rejection < Increase::Internal::Type::BaseModel
|
|
247
|
+
attr_accessor reject_reason_additional_information: String?
|
|
248
|
+
|
|
249
|
+
attr_accessor reject_reason_code: Increase::Models::FednowTransfer::Rejection::reject_reason_code
|
|
250
|
+
|
|
251
|
+
attr_accessor rejected_at: Time?
|
|
252
|
+
|
|
253
|
+
def initialize: (
|
|
254
|
+
reject_reason_additional_information: String?,
|
|
255
|
+
reject_reason_code: Increase::Models::FednowTransfer::Rejection::reject_reason_code,
|
|
256
|
+
rejected_at: Time?
|
|
257
|
+
) -> void
|
|
258
|
+
|
|
259
|
+
def to_hash: -> {
|
|
260
|
+
reject_reason_additional_information: String?,
|
|
261
|
+
reject_reason_code: Increase::Models::FednowTransfer::Rejection::reject_reason_code,
|
|
262
|
+
rejected_at: Time?
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
type reject_reason_code =
|
|
266
|
+
:account_closed
|
|
267
|
+
| :account_blocked
|
|
268
|
+
| :invalid_creditor_account_type
|
|
269
|
+
| :invalid_creditor_account_number
|
|
270
|
+
| :invalid_creditor_financial_institution_identifier
|
|
271
|
+
| :end_customer_deceased
|
|
272
|
+
| :narrative
|
|
273
|
+
| :transaction_forbidden
|
|
274
|
+
| :transaction_type_not_supported
|
|
275
|
+
| :amount_exceeds_bank_limits
|
|
276
|
+
| :invalid_creditor_address
|
|
277
|
+
| :invalid_debtor_address
|
|
278
|
+
| :timeout
|
|
279
|
+
| :processing_error
|
|
280
|
+
| :other
|
|
281
|
+
|
|
282
|
+
module RejectReasonCode
|
|
283
|
+
extend Increase::Internal::Type::Enum
|
|
284
|
+
|
|
285
|
+
# The destination account is closed. Corresponds to the FedNow reason code `AC04`.
|
|
286
|
+
ACCOUNT_CLOSED: :account_closed
|
|
287
|
+
|
|
288
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
|
|
289
|
+
ACCOUNT_BLOCKED: :account_blocked
|
|
290
|
+
|
|
291
|
+
# The destination account is ineligible to receive FedNow transfers. Corresponds to the FedNow reason code `AC14`.
|
|
292
|
+
INVALID_CREDITOR_ACCOUNT_TYPE: :invalid_creditor_account_type
|
|
293
|
+
|
|
294
|
+
# The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
|
|
295
|
+
INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
|
|
296
|
+
|
|
297
|
+
# The destination routing number is invalid. Corresponds to the FedNow reason code `RC04`.
|
|
298
|
+
INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER: :invalid_creditor_financial_institution_identifier
|
|
299
|
+
|
|
300
|
+
# The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
|
|
301
|
+
END_CUSTOMER_DECEASED: :end_customer_deceased
|
|
302
|
+
|
|
303
|
+
# The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
|
|
304
|
+
NARRATIVE: :narrative
|
|
305
|
+
|
|
306
|
+
# FedNow transfers are not allowed to the destination account. Corresponds to the FedNow reason code `AG01`.
|
|
307
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
308
|
+
|
|
309
|
+
# FedNow transfers are not enabled for the destination account. Corresponds to the FedNow reason code `AG03`.
|
|
310
|
+
TRANSACTION_TYPE_NOT_SUPPORTED: :transaction_type_not_supported
|
|
311
|
+
|
|
312
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the FedNow reason code `E990`.
|
|
313
|
+
AMOUNT_EXCEEDS_BANK_LIMITS: :amount_exceeds_bank_limits
|
|
314
|
+
|
|
315
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the FedNow reason code `BE04`.
|
|
316
|
+
INVALID_CREDITOR_ADDRESS: :invalid_creditor_address
|
|
317
|
+
|
|
318
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the FedNow reason code `BE07`.
|
|
319
|
+
INVALID_DEBTOR_ADDRESS: :invalid_debtor_address
|
|
320
|
+
|
|
321
|
+
# There was a timeout processing the transfer. Corresponds to the FedNow reason code `E997`.
|
|
322
|
+
TIMEOUT: :timeout
|
|
323
|
+
|
|
324
|
+
# The transfer was rejected due to an internal Increase issue. We have been notified.
|
|
325
|
+
PROCESSING_ERROR: :processing_error
|
|
326
|
+
|
|
327
|
+
# Some other error or issue has occurred.
|
|
328
|
+
OTHER: :other
|
|
329
|
+
|
|
330
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::Rejection::reject_reason_code]
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
type status =
|
|
335
|
+
:pending_reviewing
|
|
336
|
+
| :canceled
|
|
337
|
+
| :reviewing_rejected
|
|
338
|
+
| :requires_attention
|
|
339
|
+
| :pending_approval
|
|
340
|
+
| :pending_submitting
|
|
341
|
+
| :pending_response
|
|
342
|
+
| :complete
|
|
343
|
+
| :rejected
|
|
344
|
+
|
|
345
|
+
module Status
|
|
346
|
+
extend Increase::Internal::Type::Enum
|
|
347
|
+
|
|
348
|
+
# The transfer is pending review by Increase.
|
|
349
|
+
PENDING_REVIEWING: :pending_reviewing
|
|
350
|
+
|
|
351
|
+
# The transfer has been canceled.
|
|
352
|
+
CANCELED: :canceled
|
|
353
|
+
|
|
354
|
+
# The transfer has been rejected by Increase.
|
|
355
|
+
REVIEWING_REJECTED: :reviewing_rejected
|
|
356
|
+
|
|
357
|
+
# The transfer requires attention from an Increase operator.
|
|
358
|
+
REQUIRES_ATTENTION: :requires_attention
|
|
359
|
+
|
|
360
|
+
# The transfer is pending approval.
|
|
361
|
+
PENDING_APPROVAL: :pending_approval
|
|
362
|
+
|
|
363
|
+
# The transfer is queued to be submitted to FedNow.
|
|
364
|
+
PENDING_SUBMITTING: :pending_submitting
|
|
365
|
+
|
|
366
|
+
# The transfer has been submitted and is pending a response from FedNow.
|
|
367
|
+
PENDING_RESPONSE: :pending_response
|
|
368
|
+
|
|
369
|
+
# The transfer has been sent successfully and is complete.
|
|
370
|
+
COMPLETE: :complete
|
|
371
|
+
|
|
372
|
+
# The transfer was rejected by the network or the recipient's bank.
|
|
373
|
+
REJECTED: :rejected
|
|
374
|
+
|
|
375
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::status]
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
type submission = { message_identification: String, submitted_at: Time? }
|
|
379
|
+
|
|
380
|
+
class Submission < Increase::Internal::Type::BaseModel
|
|
381
|
+
attr_accessor message_identification: String
|
|
382
|
+
|
|
383
|
+
attr_accessor submitted_at: Time?
|
|
384
|
+
|
|
385
|
+
def initialize: (
|
|
386
|
+
message_identification: String,
|
|
387
|
+
submitted_at: Time?
|
|
388
|
+
) -> void
|
|
389
|
+
|
|
390
|
+
def to_hash: -> { message_identification: String, submitted_at: Time? }
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
type type_ = :fednow_transfer
|
|
394
|
+
|
|
395
|
+
module Type
|
|
396
|
+
extend Increase::Internal::Type::Enum
|
|
397
|
+
|
|
398
|
+
FEDNOW_TRANSFER: :fednow_transfer
|
|
399
|
+
|
|
400
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::type_]
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
end
|
|
404
|
+
end
|