increase 1.351.0 → 1.353.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/beneficial_owner_create_params.rb +3 -0
- data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +1174 -2
- data/lib/increase/models/check_transfer.rb +15 -9
- data/lib/increase/models/entity.rb +18 -0
- data/lib/increase/models/entity_beneficial_owner.rb +3 -0
- data/lib/increase/models/entity_create_params.rb +36 -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/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 +1277 -3
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +3 -3
- data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
- 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/beneficial_owner_create_params.rbi +7 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +5276 -2964
- data/rbi/increase/models/check_transfer.rbi +15 -9
- data/rbi/increase/models/entity.rbi +42 -0
- data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
- data/rbi/increase/models/entity_create_params.rbi +46 -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/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 +4848 -2358
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
- data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
- 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/beneficial_owner_create_params.rbs +4 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +1186 -0
- data/sig/increase/models/entity.rbs +24 -0
- data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
- data/sig/increase/models/entity_create_params.rbs +24 -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/pending_transaction.rbs +84 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +1236 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +4 -4
- data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
- 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
|
)
|