increase 1.350.0 → 1.352.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_statement.rb +12 -4
- data/lib/increase/models/balance_lookup.rb +1 -59
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +19 -1
- data/lib/increase/models/entity_create_params.rb +33 -20
- data/lib/increase/models/entity_update_params.rb +33 -20
- 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/inbound_ach_transfer.rb +9 -1
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +3 -0
- data/lib/increase/models/pending_transaction.rb +121 -1
- data/lib/increase/models/pending_transaction_list_params.rb +6 -0
- data/lib/increase/models/simulations/physical_card_create_params.rb +9 -6
- data/lib/increase/models/transaction.rb +103 -1
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/resources/simulations/account_statements.rb +2 -1
- data/lib/increase/resources/simulations/physical_cards.rb +5 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_statement.rbi +12 -4
- data/rbi/increase/models/balance_lookup.rbi +3 -87
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +16 -0
- data/rbi/increase/models/entity_create_params.rbi +39 -21
- data/rbi/increase/models/entity_update_params.rbi +39 -21
- 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/inbound_ach_transfer.rbi +8 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +7 -0
- data/rbi/increase/models/pending_transaction.rbi +254 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +14 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +8 -6
- data/rbi/increase/models/transaction.rbi +178 -0
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/resources/simulations/account_statements.rbi +2 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +4 -3
- data/sig/increase/models/balance_lookup.rbs +3 -42
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +10 -0
- data/sig/increase/models/entity_create_params.rbs +20 -11
- data/sig/increase/models/entity_update_params.rbs +20 -11
- 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 +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +4 -0
- data/sig/increase/models/pending_transaction.rbs +84 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +50 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- metadata +2 -2
|
@@ -519,6 +519,28 @@ module Increase
|
|
|
519
519
|
end
|
|
520
520
|
attr_writer :real_time_payments_transfer_instruction
|
|
521
521
|
|
|
522
|
+
# A SEPA Instant Transfer Instruction object. This field will be present in the
|
|
523
|
+
# JSON response if and only if `category` is equal to
|
|
524
|
+
# `sepa_instant_transfer_instruction`.
|
|
525
|
+
sig do
|
|
526
|
+
returns(
|
|
527
|
+
T.nilable(
|
|
528
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction
|
|
529
|
+
)
|
|
530
|
+
)
|
|
531
|
+
end
|
|
532
|
+
attr_reader :sepa_instant_transfer_instruction
|
|
533
|
+
|
|
534
|
+
sig do
|
|
535
|
+
params(
|
|
536
|
+
sepa_instant_transfer_instruction:
|
|
537
|
+
T.nilable(
|
|
538
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::OrHash
|
|
539
|
+
)
|
|
540
|
+
).void
|
|
541
|
+
end
|
|
542
|
+
attr_writer :sepa_instant_transfer_instruction
|
|
543
|
+
|
|
522
544
|
# A Swift Transfer Instruction object. This field will be present in the JSON
|
|
523
545
|
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
|
524
546
|
sig do
|
|
@@ -540,6 +562,28 @@ module Increase
|
|
|
540
562
|
end
|
|
541
563
|
attr_writer :swift_transfer_instruction
|
|
542
564
|
|
|
565
|
+
# An UK Faster Payment System Transfer Instruction object. This field will be
|
|
566
|
+
# present in the JSON response if and only if `category` is equal to
|
|
567
|
+
# `uk_faster_payment_system_transfer_instruction`.
|
|
568
|
+
sig do
|
|
569
|
+
returns(
|
|
570
|
+
T.nilable(
|
|
571
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction
|
|
572
|
+
)
|
|
573
|
+
)
|
|
574
|
+
end
|
|
575
|
+
attr_reader :uk_faster_payment_system_transfer_instruction
|
|
576
|
+
|
|
577
|
+
sig do
|
|
578
|
+
params(
|
|
579
|
+
uk_faster_payment_system_transfer_instruction:
|
|
580
|
+
T.nilable(
|
|
581
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::OrHash
|
|
582
|
+
)
|
|
583
|
+
).void
|
|
584
|
+
end
|
|
585
|
+
attr_writer :uk_faster_payment_system_transfer_instruction
|
|
586
|
+
|
|
543
587
|
# An User Initiated Hold object. This field will be present in the JSON response
|
|
544
588
|
# if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
|
545
589
|
# initiates a hold on funds in their account.
|
|
@@ -623,10 +667,18 @@ module Increase
|
|
|
623
667
|
T.nilable(
|
|
624
668
|
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction::OrHash
|
|
625
669
|
),
|
|
670
|
+
sepa_instant_transfer_instruction:
|
|
671
|
+
T.nilable(
|
|
672
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::OrHash
|
|
673
|
+
),
|
|
626
674
|
swift_transfer_instruction:
|
|
627
675
|
T.nilable(
|
|
628
676
|
Increase::PendingTransaction::Source::SwiftTransferInstruction::OrHash
|
|
629
677
|
),
|
|
678
|
+
uk_faster_payment_system_transfer_instruction:
|
|
679
|
+
T.nilable(
|
|
680
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::OrHash
|
|
681
|
+
),
|
|
630
682
|
user_initiated_hold: T.nilable(T::Hash[Symbol, T.anything]),
|
|
631
683
|
wire_transfer_instruction:
|
|
632
684
|
T.nilable(
|
|
@@ -687,9 +739,17 @@ module Increase
|
|
|
687
739
|
# the JSON response if and only if `category` is equal to
|
|
688
740
|
# `real_time_payments_transfer_instruction`.
|
|
689
741
|
real_time_payments_transfer_instruction: nil,
|
|
742
|
+
# A SEPA Instant Transfer Instruction object. This field will be present in the
|
|
743
|
+
# JSON response if and only if `category` is equal to
|
|
744
|
+
# `sepa_instant_transfer_instruction`.
|
|
745
|
+
sepa_instant_transfer_instruction: nil,
|
|
690
746
|
# A Swift Transfer Instruction object. This field will be present in the JSON
|
|
691
747
|
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
|
692
748
|
swift_transfer_instruction: nil,
|
|
749
|
+
# An UK Faster Payment System Transfer Instruction object. This field will be
|
|
750
|
+
# present in the JSON response if and only if `category` is equal to
|
|
751
|
+
# `uk_faster_payment_system_transfer_instruction`.
|
|
752
|
+
uk_faster_payment_system_transfer_instruction: nil,
|
|
693
753
|
# An User Initiated Hold object. This field will be present in the JSON response
|
|
694
754
|
# if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
|
695
755
|
# initiates a hold on funds in their account.
|
|
@@ -754,10 +814,18 @@ module Increase
|
|
|
754
814
|
T.nilable(
|
|
755
815
|
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction
|
|
756
816
|
),
|
|
817
|
+
sepa_instant_transfer_instruction:
|
|
818
|
+
T.nilable(
|
|
819
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction
|
|
820
|
+
),
|
|
757
821
|
swift_transfer_instruction:
|
|
758
822
|
T.nilable(
|
|
759
823
|
Increase::PendingTransaction::Source::SwiftTransferInstruction
|
|
760
824
|
),
|
|
825
|
+
uk_faster_payment_system_transfer_instruction:
|
|
826
|
+
T.nilable(
|
|
827
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction
|
|
828
|
+
),
|
|
761
829
|
user_initiated_hold: T.nilable(T::Hash[Symbol, T.anything]),
|
|
762
830
|
wire_transfer_instruction:
|
|
763
831
|
T.nilable(
|
|
@@ -885,6 +953,20 @@ module Increase
|
|
|
885
953
|
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
|
886
954
|
)
|
|
887
955
|
|
|
956
|
+
# UK Faster Payment System Transfer Instruction: details will be under the `uk_faster_payment_system_transfer_instruction` object.
|
|
957
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_INSTRUCTION =
|
|
958
|
+
T.let(
|
|
959
|
+
:uk_faster_payment_system_transfer_instruction,
|
|
960
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
|
961
|
+
)
|
|
962
|
+
|
|
963
|
+
# SEPA Instant Transfer Instruction: details will be under the `sepa_instant_transfer_instruction` object.
|
|
964
|
+
SEPA_INSTANT_TRANSFER_INSTRUCTION =
|
|
965
|
+
T.let(
|
|
966
|
+
:sepa_instant_transfer_instruction,
|
|
967
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
|
968
|
+
)
|
|
969
|
+
|
|
888
970
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
889
971
|
OTHER =
|
|
890
972
|
T.let(
|
|
@@ -4892,6 +4974,92 @@ module Increase
|
|
|
4892
4974
|
end
|
|
4893
4975
|
end
|
|
4894
4976
|
|
|
4977
|
+
class SepaInstantTransferInstruction < Increase::Internal::Type::BaseModel
|
|
4978
|
+
OrHash =
|
|
4979
|
+
T.type_alias do
|
|
4980
|
+
T.any(
|
|
4981
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction,
|
|
4982
|
+
Increase::Internal::AnyHash
|
|
4983
|
+
)
|
|
4984
|
+
end
|
|
4985
|
+
|
|
4986
|
+
# The transfer amount in EUR cents.
|
|
4987
|
+
sig { returns(Integer) }
|
|
4988
|
+
attr_accessor :amount
|
|
4989
|
+
|
|
4990
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
4991
|
+
# transfer's currency. This is always `EUR`.
|
|
4992
|
+
sig do
|
|
4993
|
+
returns(
|
|
4994
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency::TaggedSymbol
|
|
4995
|
+
)
|
|
4996
|
+
end
|
|
4997
|
+
attr_accessor :currency
|
|
4998
|
+
|
|
4999
|
+
# A SEPA Instant Transfer Instruction object. This field will be present in the
|
|
5000
|
+
# JSON response if and only if `category` is equal to
|
|
5001
|
+
# `sepa_instant_transfer_instruction`.
|
|
5002
|
+
sig do
|
|
5003
|
+
params(
|
|
5004
|
+
amount: Integer,
|
|
5005
|
+
currency:
|
|
5006
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency::OrSymbol
|
|
5007
|
+
).returns(T.attached_class)
|
|
5008
|
+
end
|
|
5009
|
+
def self.new(
|
|
5010
|
+
# The transfer amount in EUR cents.
|
|
5011
|
+
amount:,
|
|
5012
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
5013
|
+
# transfer's currency. This is always `EUR`.
|
|
5014
|
+
currency:
|
|
5015
|
+
)
|
|
5016
|
+
end
|
|
5017
|
+
|
|
5018
|
+
sig do
|
|
5019
|
+
override.returns(
|
|
5020
|
+
{
|
|
5021
|
+
amount: Integer,
|
|
5022
|
+
currency:
|
|
5023
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency::TaggedSymbol
|
|
5024
|
+
}
|
|
5025
|
+
)
|
|
5026
|
+
end
|
|
5027
|
+
def to_hash
|
|
5028
|
+
end
|
|
5029
|
+
|
|
5030
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
5031
|
+
# transfer's currency. This is always `EUR`.
|
|
5032
|
+
module Currency
|
|
5033
|
+
extend Increase::Internal::Type::Enum
|
|
5034
|
+
|
|
5035
|
+
TaggedSymbol =
|
|
5036
|
+
T.type_alias do
|
|
5037
|
+
T.all(
|
|
5038
|
+
Symbol,
|
|
5039
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency
|
|
5040
|
+
)
|
|
5041
|
+
end
|
|
5042
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
5043
|
+
|
|
5044
|
+
# EUR
|
|
5045
|
+
EUR =
|
|
5046
|
+
T.let(
|
|
5047
|
+
:EUR,
|
|
5048
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency::TaggedSymbol
|
|
5049
|
+
)
|
|
5050
|
+
|
|
5051
|
+
sig do
|
|
5052
|
+
override.returns(
|
|
5053
|
+
T::Array[
|
|
5054
|
+
Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency::TaggedSymbol
|
|
5055
|
+
]
|
|
5056
|
+
)
|
|
5057
|
+
end
|
|
5058
|
+
def self.values
|
|
5059
|
+
end
|
|
5060
|
+
end
|
|
5061
|
+
end
|
|
5062
|
+
|
|
4895
5063
|
class SwiftTransferInstruction < Increase::Internal::Type::BaseModel
|
|
4896
5064
|
OrHash =
|
|
4897
5065
|
T.type_alias do
|
|
@@ -4919,6 +5087,92 @@ module Increase
|
|
|
4919
5087
|
end
|
|
4920
5088
|
end
|
|
4921
5089
|
|
|
5090
|
+
class UkFasterPaymentSystemTransferInstruction < Increase::Internal::Type::BaseModel
|
|
5091
|
+
OrHash =
|
|
5092
|
+
T.type_alias do
|
|
5093
|
+
T.any(
|
|
5094
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction,
|
|
5095
|
+
Increase::Internal::AnyHash
|
|
5096
|
+
)
|
|
5097
|
+
end
|
|
5098
|
+
|
|
5099
|
+
# The transfer amount in GBP pence.
|
|
5100
|
+
sig { returns(Integer) }
|
|
5101
|
+
attr_accessor :amount
|
|
5102
|
+
|
|
5103
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
5104
|
+
# transfer's currency. This is always `GBP`.
|
|
5105
|
+
sig do
|
|
5106
|
+
returns(
|
|
5107
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency::TaggedSymbol
|
|
5108
|
+
)
|
|
5109
|
+
end
|
|
5110
|
+
attr_accessor :currency
|
|
5111
|
+
|
|
5112
|
+
# An UK Faster Payment System Transfer Instruction object. This field will be
|
|
5113
|
+
# present in the JSON response if and only if `category` is equal to
|
|
5114
|
+
# `uk_faster_payment_system_transfer_instruction`.
|
|
5115
|
+
sig do
|
|
5116
|
+
params(
|
|
5117
|
+
amount: Integer,
|
|
5118
|
+
currency:
|
|
5119
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency::OrSymbol
|
|
5120
|
+
).returns(T.attached_class)
|
|
5121
|
+
end
|
|
5122
|
+
def self.new(
|
|
5123
|
+
# The transfer amount in GBP pence.
|
|
5124
|
+
amount:,
|
|
5125
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
5126
|
+
# transfer's currency. This is always `GBP`.
|
|
5127
|
+
currency:
|
|
5128
|
+
)
|
|
5129
|
+
end
|
|
5130
|
+
|
|
5131
|
+
sig do
|
|
5132
|
+
override.returns(
|
|
5133
|
+
{
|
|
5134
|
+
amount: Integer,
|
|
5135
|
+
currency:
|
|
5136
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency::TaggedSymbol
|
|
5137
|
+
}
|
|
5138
|
+
)
|
|
5139
|
+
end
|
|
5140
|
+
def to_hash
|
|
5141
|
+
end
|
|
5142
|
+
|
|
5143
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
|
|
5144
|
+
# transfer's currency. This is always `GBP`.
|
|
5145
|
+
module Currency
|
|
5146
|
+
extend Increase::Internal::Type::Enum
|
|
5147
|
+
|
|
5148
|
+
TaggedSymbol =
|
|
5149
|
+
T.type_alias do
|
|
5150
|
+
T.all(
|
|
5151
|
+
Symbol,
|
|
5152
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency
|
|
5153
|
+
)
|
|
5154
|
+
end
|
|
5155
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
5156
|
+
|
|
5157
|
+
# GBP
|
|
5158
|
+
GBP =
|
|
5159
|
+
T.let(
|
|
5160
|
+
:GBP,
|
|
5161
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency::TaggedSymbol
|
|
5162
|
+
)
|
|
5163
|
+
|
|
5164
|
+
sig do
|
|
5165
|
+
override.returns(
|
|
5166
|
+
T::Array[
|
|
5167
|
+
Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency::TaggedSymbol
|
|
5168
|
+
]
|
|
5169
|
+
)
|
|
5170
|
+
end
|
|
5171
|
+
def self.values
|
|
5172
|
+
end
|
|
5173
|
+
end
|
|
5174
|
+
end
|
|
5175
|
+
|
|
4922
5176
|
class WireTransferInstruction < Increase::Internal::Type::BaseModel
|
|
4923
5177
|
OrHash =
|
|
4924
5178
|
T.type_alias do
|
|
@@ -304,6 +304,20 @@ module Increase
|
|
|
304
304
|
Increase::PendingTransactionListParams::Category::In::TaggedSymbol
|
|
305
305
|
)
|
|
306
306
|
|
|
307
|
+
# UK Faster Payment System Transfer Instruction: details will be under the `uk_faster_payment_system_transfer_instruction` object.
|
|
308
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_INSTRUCTION =
|
|
309
|
+
T.let(
|
|
310
|
+
:uk_faster_payment_system_transfer_instruction,
|
|
311
|
+
Increase::PendingTransactionListParams::Category::In::TaggedSymbol
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
# SEPA Instant Transfer Instruction: details will be under the `sepa_instant_transfer_instruction` object.
|
|
315
|
+
SEPA_INSTANT_TRANSFER_INSTRUCTION =
|
|
316
|
+
T.let(
|
|
317
|
+
:sepa_instant_transfer_instruction,
|
|
318
|
+
Increase::PendingTransactionListParams::Category::In::TaggedSymbol
|
|
319
|
+
)
|
|
320
|
+
|
|
307
321
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
308
322
|
OTHER =
|
|
309
323
|
T.let(
|
|
@@ -35,21 +35,22 @@ module Increase
|
|
|
35
35
|
sig { params(carrier_estimated_delivery_at: Time).void }
|
|
36
36
|
attr_writer :carrier_estimated_delivery_at
|
|
37
37
|
|
|
38
|
-
# The city where the event took place.
|
|
38
|
+
# The city where the event took place. Required if postal_code is not provided.
|
|
39
39
|
sig { returns(T.nilable(String)) }
|
|
40
40
|
attr_reader :city
|
|
41
41
|
|
|
42
42
|
sig { params(city: String).void }
|
|
43
43
|
attr_writer :city
|
|
44
44
|
|
|
45
|
-
# The postal code where the event took place.
|
|
45
|
+
# The postal code where the event took place. Required unless both city and state
|
|
46
|
+
# are provided.
|
|
46
47
|
sig { returns(T.nilable(String)) }
|
|
47
48
|
attr_reader :postal_code
|
|
48
49
|
|
|
49
50
|
sig { params(postal_code: String).void }
|
|
50
51
|
attr_writer :postal_code
|
|
51
52
|
|
|
52
|
-
# The state where the event took place.
|
|
53
|
+
# The state where the event took place. Required if postal_code is not provided.
|
|
53
54
|
sig { returns(T.nilable(String)) }
|
|
54
55
|
attr_reader :state
|
|
55
56
|
|
|
@@ -76,11 +77,12 @@ module Increase
|
|
|
76
77
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the
|
|
77
78
|
# carrier expects the card to be delivered.
|
|
78
79
|
carrier_estimated_delivery_at: nil,
|
|
79
|
-
# The city where the event took place.
|
|
80
|
+
# The city where the event took place. Required if postal_code is not provided.
|
|
80
81
|
city: nil,
|
|
81
|
-
# The postal code where the event took place.
|
|
82
|
+
# The postal code where the event took place. Required unless both city and state
|
|
83
|
+
# are provided.
|
|
82
84
|
postal_code: nil,
|
|
83
|
-
# The state where the event took place.
|
|
85
|
+
# The state where the event took place. Required if postal_code is not provided.
|
|
84
86
|
state: nil,
|
|
85
87
|
request_options: {}
|
|
86
88
|
)
|
|
@@ -911,6 +911,30 @@ module Increase
|
|
|
911
911
|
end
|
|
912
912
|
attr_writer :sample_funds
|
|
913
913
|
|
|
914
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
915
|
+
# JSON response if and only if `category` is equal to
|
|
916
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
917
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
918
|
+
# recipient's bank.
|
|
919
|
+
sig do
|
|
920
|
+
returns(
|
|
921
|
+
T.nilable(
|
|
922
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance
|
|
923
|
+
)
|
|
924
|
+
)
|
|
925
|
+
end
|
|
926
|
+
attr_reader :sepa_instant_transfer_acceptance
|
|
927
|
+
|
|
928
|
+
sig do
|
|
929
|
+
params(
|
|
930
|
+
sepa_instant_transfer_acceptance:
|
|
931
|
+
T.nilable(
|
|
932
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance::OrHash
|
|
933
|
+
)
|
|
934
|
+
).void
|
|
935
|
+
end
|
|
936
|
+
attr_writer :sepa_instant_transfer_acceptance
|
|
937
|
+
|
|
914
938
|
# A Swift Transfer Intention object. This field will be present in the JSON
|
|
915
939
|
# response if and only if `category` is equal to `swift_transfer_intention`. A
|
|
916
940
|
# Swift Transfer initiated via Increase.
|
|
@@ -949,6 +973,30 @@ module Increase
|
|
|
949
973
|
end
|
|
950
974
|
attr_writer :swift_transfer_return
|
|
951
975
|
|
|
976
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
977
|
+
# present in the JSON response if and only if `category` is equal to
|
|
978
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
979
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
980
|
+
# from Increase is accepted by the recipient's bank.
|
|
981
|
+
sig do
|
|
982
|
+
returns(
|
|
983
|
+
T.nilable(
|
|
984
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance
|
|
985
|
+
)
|
|
986
|
+
)
|
|
987
|
+
end
|
|
988
|
+
attr_reader :uk_faster_payment_system_transfer_acceptance
|
|
989
|
+
|
|
990
|
+
sig do
|
|
991
|
+
params(
|
|
992
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
993
|
+
T.nilable(
|
|
994
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance::OrHash
|
|
995
|
+
)
|
|
996
|
+
).void
|
|
997
|
+
end
|
|
998
|
+
attr_writer :uk_faster_payment_system_transfer_acceptance
|
|
999
|
+
|
|
952
1000
|
# A Wire Transfer Intention object. This field will be present in the JSON
|
|
953
1001
|
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
|
|
954
1002
|
# Transfer initiated via Increase and sent to a different bank.
|
|
@@ -1099,6 +1147,10 @@ module Increase
|
|
|
1099
1147
|
),
|
|
1100
1148
|
sample_funds:
|
|
1101
1149
|
T.nilable(Increase::Transaction::Source::SampleFunds::OrHash),
|
|
1150
|
+
sepa_instant_transfer_acceptance:
|
|
1151
|
+
T.nilable(
|
|
1152
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance::OrHash
|
|
1153
|
+
),
|
|
1102
1154
|
swift_transfer_intention:
|
|
1103
1155
|
T.nilable(
|
|
1104
1156
|
Increase::Transaction::Source::SwiftTransferIntention::OrHash
|
|
@@ -1107,6 +1159,10 @@ module Increase
|
|
|
1107
1159
|
T.nilable(
|
|
1108
1160
|
Increase::Transaction::Source::SwiftTransferReturn::OrHash
|
|
1109
1161
|
),
|
|
1162
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
1163
|
+
T.nilable(
|
|
1164
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance::OrHash
|
|
1165
|
+
),
|
|
1110
1166
|
wire_transfer_intention:
|
|
1111
1167
|
T.nilable(
|
|
1112
1168
|
Increase::Transaction::Source::WireTransferIntention::OrHash
|
|
@@ -1302,6 +1358,12 @@ module Increase
|
|
|
1302
1358
|
# only if `category` is equal to `sample_funds`. Sample funds for testing
|
|
1303
1359
|
# purposes.
|
|
1304
1360
|
sample_funds: nil,
|
|
1361
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
1362
|
+
# JSON response if and only if `category` is equal to
|
|
1363
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
1364
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
1365
|
+
# recipient's bank.
|
|
1366
|
+
sepa_instant_transfer_acceptance: nil,
|
|
1305
1367
|
# A Swift Transfer Intention object. This field will be present in the JSON
|
|
1306
1368
|
# response if and only if `category` is equal to `swift_transfer_intention`. A
|
|
1307
1369
|
# Swift Transfer initiated via Increase.
|
|
@@ -1310,6 +1372,12 @@ module Increase
|
|
|
1310
1372
|
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
|
|
1311
1373
|
# Return is created when a Swift Transfer is returned by the receiving bank.
|
|
1312
1374
|
swift_transfer_return: nil,
|
|
1375
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
1376
|
+
# present in the JSON response if and only if `category` is equal to
|
|
1377
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
1378
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
1379
|
+
# from Increase is accepted by the recipient's bank.
|
|
1380
|
+
uk_faster_payment_system_transfer_acceptance: nil,
|
|
1313
1381
|
# A Wire Transfer Intention object. This field will be present in the JSON
|
|
1314
1382
|
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
|
|
1315
1383
|
# Transfer initiated via Increase and sent to a different bank.
|
|
@@ -1416,12 +1484,20 @@ module Increase
|
|
|
1416
1484
|
),
|
|
1417
1485
|
sample_funds:
|
|
1418
1486
|
T.nilable(Increase::Transaction::Source::SampleFunds),
|
|
1487
|
+
sepa_instant_transfer_acceptance:
|
|
1488
|
+
T.nilable(
|
|
1489
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance
|
|
1490
|
+
),
|
|
1419
1491
|
swift_transfer_intention:
|
|
1420
1492
|
T.nilable(
|
|
1421
1493
|
Increase::Transaction::Source::SwiftTransferIntention
|
|
1422
1494
|
),
|
|
1423
1495
|
swift_transfer_return:
|
|
1424
1496
|
T.nilable(Increase::Transaction::Source::SwiftTransferReturn),
|
|
1497
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
1498
|
+
T.nilable(
|
|
1499
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance
|
|
1500
|
+
),
|
|
1425
1501
|
wire_transfer_intention:
|
|
1426
1502
|
T.nilable(Increase::Transaction::Source::WireTransferIntention)
|
|
1427
1503
|
}
|
|
@@ -1707,6 +1783,20 @@ module Increase
|
|
|
1707
1783
|
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1708
1784
|
)
|
|
1709
1785
|
|
|
1786
|
+
# UK Faster Payment System Transfer Acceptance: details will be under the `uk_faster_payment_system_transfer_acceptance` object.
|
|
1787
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_ACCEPTANCE =
|
|
1788
|
+
T.let(
|
|
1789
|
+
:uk_faster_payment_system_transfer_acceptance,
|
|
1790
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1791
|
+
)
|
|
1792
|
+
|
|
1793
|
+
# SEPA Instant Transfer Acceptance: details will be under the `sepa_instant_transfer_acceptance` object.
|
|
1794
|
+
SEPA_INSTANT_TRANSFER_ACCEPTANCE =
|
|
1795
|
+
T.let(
|
|
1796
|
+
:sepa_instant_transfer_acceptance,
|
|
1797
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1798
|
+
)
|
|
1799
|
+
|
|
1710
1800
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
1711
1801
|
OTHER =
|
|
1712
1802
|
T.let(:other, Increase::Transaction::Source::Category::TaggedSymbol)
|
|
@@ -14242,6 +14332,50 @@ module Increase
|
|
|
14242
14332
|
end
|
|
14243
14333
|
end
|
|
14244
14334
|
|
|
14335
|
+
class SepaInstantTransferAcceptance < Increase::Internal::Type::BaseModel
|
|
14336
|
+
OrHash =
|
|
14337
|
+
T.type_alias do
|
|
14338
|
+
T.any(
|
|
14339
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance,
|
|
14340
|
+
Increase::Internal::AnyHash
|
|
14341
|
+
)
|
|
14342
|
+
end
|
|
14343
|
+
|
|
14344
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14345
|
+
# the recipient's bank accepted the transfer.
|
|
14346
|
+
sig { returns(Time) }
|
|
14347
|
+
attr_accessor :accepted_at
|
|
14348
|
+
|
|
14349
|
+
# The transfer amount in USD cents.
|
|
14350
|
+
sig { returns(Integer) }
|
|
14351
|
+
attr_accessor :settlement_amount
|
|
14352
|
+
|
|
14353
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
14354
|
+
# JSON response if and only if `category` is equal to
|
|
14355
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
14356
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
14357
|
+
# recipient's bank.
|
|
14358
|
+
sig do
|
|
14359
|
+
params(accepted_at: Time, settlement_amount: Integer).returns(
|
|
14360
|
+
T.attached_class
|
|
14361
|
+
)
|
|
14362
|
+
end
|
|
14363
|
+
def self.new(
|
|
14364
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14365
|
+
# the recipient's bank accepted the transfer.
|
|
14366
|
+
accepted_at:,
|
|
14367
|
+
# The transfer amount in USD cents.
|
|
14368
|
+
settlement_amount:
|
|
14369
|
+
)
|
|
14370
|
+
end
|
|
14371
|
+
|
|
14372
|
+
sig do
|
|
14373
|
+
override.returns({ accepted_at: Time, settlement_amount: Integer })
|
|
14374
|
+
end
|
|
14375
|
+
def to_hash
|
|
14376
|
+
end
|
|
14377
|
+
end
|
|
14378
|
+
|
|
14245
14379
|
class SwiftTransferIntention < Increase::Internal::Type::BaseModel
|
|
14246
14380
|
OrHash =
|
|
14247
14381
|
T.type_alias do
|
|
@@ -14298,6 +14432,50 @@ module Increase
|
|
|
14298
14432
|
end
|
|
14299
14433
|
end
|
|
14300
14434
|
|
|
14435
|
+
class UkFasterPaymentSystemTransferAcceptance < Increase::Internal::Type::BaseModel
|
|
14436
|
+
OrHash =
|
|
14437
|
+
T.type_alias do
|
|
14438
|
+
T.any(
|
|
14439
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance,
|
|
14440
|
+
Increase::Internal::AnyHash
|
|
14441
|
+
)
|
|
14442
|
+
end
|
|
14443
|
+
|
|
14444
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14445
|
+
# the recipient's bank accepted the transfer.
|
|
14446
|
+
sig { returns(Time) }
|
|
14447
|
+
attr_accessor :accepted_at
|
|
14448
|
+
|
|
14449
|
+
# The transfer amount in USD cents.
|
|
14450
|
+
sig { returns(Integer) }
|
|
14451
|
+
attr_accessor :settlement_amount
|
|
14452
|
+
|
|
14453
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
14454
|
+
# present in the JSON response if and only if `category` is equal to
|
|
14455
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
14456
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
14457
|
+
# from Increase is accepted by the recipient's bank.
|
|
14458
|
+
sig do
|
|
14459
|
+
params(accepted_at: Time, settlement_amount: Integer).returns(
|
|
14460
|
+
T.attached_class
|
|
14461
|
+
)
|
|
14462
|
+
end
|
|
14463
|
+
def self.new(
|
|
14464
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14465
|
+
# the recipient's bank accepted the transfer.
|
|
14466
|
+
accepted_at:,
|
|
14467
|
+
# The transfer amount in USD cents.
|
|
14468
|
+
settlement_amount:
|
|
14469
|
+
)
|
|
14470
|
+
end
|
|
14471
|
+
|
|
14472
|
+
sig do
|
|
14473
|
+
override.returns({ accepted_at: Time, settlement_amount: Integer })
|
|
14474
|
+
end
|
|
14475
|
+
def to_hash
|
|
14476
|
+
end
|
|
14477
|
+
end
|
|
14478
|
+
|
|
14301
14479
|
class WireTransferIntention < Increase::Internal::Type::BaseModel
|
|
14302
14480
|
OrHash =
|
|
14303
14481
|
T.type_alias do
|
|
@@ -436,6 +436,20 @@ module Increase
|
|
|
436
436
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
437
437
|
)
|
|
438
438
|
|
|
439
|
+
# UK Faster Payment System Transfer Acceptance: details will be under the `uk_faster_payment_system_transfer_acceptance` object.
|
|
440
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_ACCEPTANCE =
|
|
441
|
+
T.let(
|
|
442
|
+
:uk_faster_payment_system_transfer_acceptance,
|
|
443
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
444
|
+
)
|
|
445
|
+
|
|
446
|
+
# SEPA Instant Transfer Acceptance: details will be under the `sepa_instant_transfer_acceptance` object.
|
|
447
|
+
SEPA_INSTANT_TRANSFER_ACCEPTANCE =
|
|
448
|
+
T.let(
|
|
449
|
+
:sepa_instant_transfer_acceptance,
|
|
450
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
451
|
+
)
|
|
452
|
+
|
|
439
453
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
440
454
|
OTHER =
|
|
441
455
|
T.let(
|