increase 1.353.0 → 1.355.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/client.rb +18 -0
- data/lib/increase/models/ach_transfer.rb +3 -3
- data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
- data/lib/increase/models/card_create_details_token_params.rb +22 -0
- data/lib/increase/models/card_details_token.rb +57 -0
- data/lib/increase/models/card_payment.rb +29 -1
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +18 -0
- data/lib/increase/models/digital_wallet_token_request.rb +307 -0
- data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
- data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
- data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
- data/lib/increase/models/entity.rb +35 -7
- data/lib/increase/models/entity_beneficial_owner.rb +1 -1
- data/lib/increase/models/entity_create_params.rb +1 -1
- data/lib/increase/models/export.rb +19 -19
- data/lib/increase/models/export_create_params.rb +15 -15
- data/lib/increase/models/export_list_params.rb +19 -19
- data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
- data/lib/increase/models/inbound_wire_transfer.rb +10 -1
- data/lib/increase/models/physical_check_batch.rb +266 -0
- data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
- data/lib/increase/models/real_time_decision.rb +9 -0
- data/lib/increase/models/real_time_decision_action_params.rb +3 -0
- data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
- data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
- data/lib/increase/models/transaction.rb +36 -2
- data/lib/increase/models.rb +42 -0
- data/lib/increase/resources/cards.rb +23 -0
- data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
- data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
- data/lib/increase/resources/physical_check_batches.rb +86 -0
- data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
- data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +25 -0
- data/rbi/increase/client.rbi +14 -0
- data/rbi/increase/models/ach_transfer.rbi +3 -3
- data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
- data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
- data/rbi/increase/models/card_details_token.rbi +85 -0
- data/rbi/increase/models/card_payment.rbi +59 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +42 -0
- data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
- data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
- data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
- data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
- data/rbi/increase/models/entity.rbi +71 -6
- data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
- data/rbi/increase/models/entity_create_params.rbi +1 -1
- data/rbi/increase/models/export.rbi +32 -32
- data/rbi/increase/models/export_create_params.rbi +29 -29
- data/rbi/increase/models/export_list_params.rbi +37 -37
- data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/physical_check_batch.rbi +382 -0
- data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
- data/rbi/increase/models/real_time_decision.rbi +21 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
- data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
- data/rbi/increase/models/transaction.rbi +60 -0
- data/rbi/increase/models.rbi +50 -0
- data/rbi/increase/resources/cards.rbi +17 -0
- data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
- data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
- data/rbi/increase/resources/physical_check_batches.rbi +66 -0
- data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
- data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +8 -0
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
- data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
- data/sig/increase/models/card_create_details_token_params.rbs +23 -0
- data/sig/increase/models/card_details_token.rbs +40 -0
- data/sig/increase/models/card_payment.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +36 -3
- data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
- data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
- data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
- data/sig/increase/models/entity.rbs +25 -6
- data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
- data/sig/increase/models/entity_create_params.rbs +1 -1
- data/sig/increase/models/export.rbs +28 -28
- data/sig/increase/models/export_create_params.rbs +22 -22
- data/sig/increase/models/export_list_params.rbs +28 -28
- data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/physical_check_batch.rbs +193 -0
- data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
- data/sig/increase/models/real_time_decision.rbs +14 -2
- data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
- data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
- data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
- data/sig/increase/models/transaction.rbs +24 -0
- data/sig/increase/models.rbs +36 -0
- data/sig/increase/resources/cards.rbs +5 -0
- data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
- data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
- data/sig/increase/resources/physical_check_batches.rbs +24 -0
- data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
- data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +77 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class PhysicalCheckBatchCompleteParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::PhysicalCheckBatchCompleteParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Physical Check Batch to complete.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :physical_check_batch_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
physical_check_batch_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Physical Check Batch to complete.
|
|
29
|
+
physical_check_batch_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{
|
|
37
|
+
physical_check_batch_id: String,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
end
|
|
42
|
+
def to_hash
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class PhysicalCheckBatchCreateParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::PhysicalCheckBatchCreateParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Details for where the parcel will be mailed.
|
|
18
|
+
sig { returns(Increase::PhysicalCheckBatchCreateParams::MailingAddress) }
|
|
19
|
+
attr_reader :mailing_address
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
mailing_address:
|
|
24
|
+
Increase::PhysicalCheckBatchCreateParams::MailingAddress::OrHash
|
|
25
|
+
).void
|
|
26
|
+
end
|
|
27
|
+
attr_writer :mailing_address
|
|
28
|
+
|
|
29
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
30
|
+
sig { returns(Increase::PhysicalCheckBatchCreateParams::ReturnAddress) }
|
|
31
|
+
attr_reader :return_address
|
|
32
|
+
|
|
33
|
+
sig do
|
|
34
|
+
params(
|
|
35
|
+
return_address:
|
|
36
|
+
Increase::PhysicalCheckBatchCreateParams::ReturnAddress::OrHash
|
|
37
|
+
).void
|
|
38
|
+
end
|
|
39
|
+
attr_writer :return_address
|
|
40
|
+
|
|
41
|
+
# How to ship the batch.
|
|
42
|
+
#
|
|
43
|
+
# Defaults to `usps_first_class`.
|
|
44
|
+
sig do
|
|
45
|
+
returns(
|
|
46
|
+
T.nilable(
|
|
47
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::OrSymbol
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
end
|
|
51
|
+
attr_reader :shipping_method
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
shipping_method:
|
|
56
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::OrSymbol
|
|
57
|
+
).void
|
|
58
|
+
end
|
|
59
|
+
attr_writer :shipping_method
|
|
60
|
+
|
|
61
|
+
sig do
|
|
62
|
+
params(
|
|
63
|
+
mailing_address:
|
|
64
|
+
Increase::PhysicalCheckBatchCreateParams::MailingAddress::OrHash,
|
|
65
|
+
return_address:
|
|
66
|
+
Increase::PhysicalCheckBatchCreateParams::ReturnAddress::OrHash,
|
|
67
|
+
shipping_method:
|
|
68
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::OrSymbol,
|
|
69
|
+
request_options: Increase::RequestOptions::OrHash
|
|
70
|
+
).returns(T.attached_class)
|
|
71
|
+
end
|
|
72
|
+
def self.new(
|
|
73
|
+
# Details for where the parcel will be mailed.
|
|
74
|
+
mailing_address:,
|
|
75
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
76
|
+
return_address:,
|
|
77
|
+
# How to ship the batch.
|
|
78
|
+
#
|
|
79
|
+
# Defaults to `usps_first_class`.
|
|
80
|
+
shipping_method: nil,
|
|
81
|
+
request_options: {}
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
sig do
|
|
86
|
+
override.returns(
|
|
87
|
+
{
|
|
88
|
+
mailing_address:
|
|
89
|
+
Increase::PhysicalCheckBatchCreateParams::MailingAddress,
|
|
90
|
+
return_address:
|
|
91
|
+
Increase::PhysicalCheckBatchCreateParams::ReturnAddress,
|
|
92
|
+
shipping_method:
|
|
93
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::OrSymbol,
|
|
94
|
+
request_options: Increase::RequestOptions
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
end
|
|
98
|
+
def to_hash
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
102
|
+
OrHash =
|
|
103
|
+
T.type_alias do
|
|
104
|
+
T.any(
|
|
105
|
+
Increase::PhysicalCheckBatchCreateParams::MailingAddress,
|
|
106
|
+
Increase::Internal::AnyHash
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# The city of the destination address.
|
|
111
|
+
sig { returns(String) }
|
|
112
|
+
attr_accessor :city
|
|
113
|
+
|
|
114
|
+
# The first line of the destination address.
|
|
115
|
+
sig { returns(String) }
|
|
116
|
+
attr_accessor :line1
|
|
117
|
+
|
|
118
|
+
# The recipient at the destination address.
|
|
119
|
+
sig { returns(String) }
|
|
120
|
+
attr_accessor :name
|
|
121
|
+
|
|
122
|
+
# The postal code of the destination address.
|
|
123
|
+
sig { returns(String) }
|
|
124
|
+
attr_accessor :postal_code
|
|
125
|
+
|
|
126
|
+
# The US state of the destination address.
|
|
127
|
+
sig { returns(String) }
|
|
128
|
+
attr_accessor :state
|
|
129
|
+
|
|
130
|
+
# The second line of the destination address.
|
|
131
|
+
sig { returns(T.nilable(String)) }
|
|
132
|
+
attr_reader :line2
|
|
133
|
+
|
|
134
|
+
sig { params(line2: String).void }
|
|
135
|
+
attr_writer :line2
|
|
136
|
+
|
|
137
|
+
# The phone number used for delivery issues at the destination address. Only used
|
|
138
|
+
# when `shipping_method` is `fedex_overnight`.
|
|
139
|
+
sig { returns(T.nilable(String)) }
|
|
140
|
+
attr_reader :phone
|
|
141
|
+
|
|
142
|
+
sig { params(phone: String).void }
|
|
143
|
+
attr_writer :phone
|
|
144
|
+
|
|
145
|
+
# Details for where the parcel will be mailed.
|
|
146
|
+
sig do
|
|
147
|
+
params(
|
|
148
|
+
city: String,
|
|
149
|
+
line1: String,
|
|
150
|
+
name: String,
|
|
151
|
+
postal_code: String,
|
|
152
|
+
state: String,
|
|
153
|
+
line2: String,
|
|
154
|
+
phone: String
|
|
155
|
+
).returns(T.attached_class)
|
|
156
|
+
end
|
|
157
|
+
def self.new(
|
|
158
|
+
# The city of the destination address.
|
|
159
|
+
city:,
|
|
160
|
+
# The first line of the destination address.
|
|
161
|
+
line1:,
|
|
162
|
+
# The recipient at the destination address.
|
|
163
|
+
name:,
|
|
164
|
+
# The postal code of the destination address.
|
|
165
|
+
postal_code:,
|
|
166
|
+
# The US state of the destination address.
|
|
167
|
+
state:,
|
|
168
|
+
# The second line of the destination address.
|
|
169
|
+
line2: nil,
|
|
170
|
+
# The phone number used for delivery issues at the destination address. Only used
|
|
171
|
+
# when `shipping_method` is `fedex_overnight`.
|
|
172
|
+
phone: nil
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
sig do
|
|
177
|
+
override.returns(
|
|
178
|
+
{
|
|
179
|
+
city: String,
|
|
180
|
+
line1: String,
|
|
181
|
+
name: String,
|
|
182
|
+
postal_code: String,
|
|
183
|
+
state: String,
|
|
184
|
+
line2: String,
|
|
185
|
+
phone: String
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
end
|
|
189
|
+
def to_hash
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
194
|
+
OrHash =
|
|
195
|
+
T.type_alias do
|
|
196
|
+
T.any(
|
|
197
|
+
Increase::PhysicalCheckBatchCreateParams::ReturnAddress,
|
|
198
|
+
Increase::Internal::AnyHash
|
|
199
|
+
)
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# The city of the return address.
|
|
203
|
+
sig { returns(String) }
|
|
204
|
+
attr_accessor :city
|
|
205
|
+
|
|
206
|
+
# The first line of the return address.
|
|
207
|
+
sig { returns(String) }
|
|
208
|
+
attr_accessor :line1
|
|
209
|
+
|
|
210
|
+
# The recipient at the return address.
|
|
211
|
+
sig { returns(String) }
|
|
212
|
+
attr_accessor :name
|
|
213
|
+
|
|
214
|
+
# The postal code of the return address.
|
|
215
|
+
sig { returns(String) }
|
|
216
|
+
attr_accessor :postal_code
|
|
217
|
+
|
|
218
|
+
# The US state of the return address.
|
|
219
|
+
sig { returns(String) }
|
|
220
|
+
attr_accessor :state
|
|
221
|
+
|
|
222
|
+
# The second line of the return address.
|
|
223
|
+
sig { returns(T.nilable(String)) }
|
|
224
|
+
attr_reader :line2
|
|
225
|
+
|
|
226
|
+
sig { params(line2: String).void }
|
|
227
|
+
attr_writer :line2
|
|
228
|
+
|
|
229
|
+
# The phone number used for delivery issues at the return address. Only used when
|
|
230
|
+
# `shipping_method` is `fedex_overnight`.
|
|
231
|
+
sig { returns(T.nilable(String)) }
|
|
232
|
+
attr_reader :phone
|
|
233
|
+
|
|
234
|
+
sig { params(phone: String).void }
|
|
235
|
+
attr_writer :phone
|
|
236
|
+
|
|
237
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
238
|
+
sig do
|
|
239
|
+
params(
|
|
240
|
+
city: String,
|
|
241
|
+
line1: String,
|
|
242
|
+
name: String,
|
|
243
|
+
postal_code: String,
|
|
244
|
+
state: String,
|
|
245
|
+
line2: String,
|
|
246
|
+
phone: String
|
|
247
|
+
).returns(T.attached_class)
|
|
248
|
+
end
|
|
249
|
+
def self.new(
|
|
250
|
+
# The city of the return address.
|
|
251
|
+
city:,
|
|
252
|
+
# The first line of the return address.
|
|
253
|
+
line1:,
|
|
254
|
+
# The recipient at the return address.
|
|
255
|
+
name:,
|
|
256
|
+
# The postal code of the return address.
|
|
257
|
+
postal_code:,
|
|
258
|
+
# The US state of the return address.
|
|
259
|
+
state:,
|
|
260
|
+
# The second line of the return address.
|
|
261
|
+
line2: nil,
|
|
262
|
+
# The phone number used for delivery issues at the return address. Only used when
|
|
263
|
+
# `shipping_method` is `fedex_overnight`.
|
|
264
|
+
phone: nil
|
|
265
|
+
)
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
sig do
|
|
269
|
+
override.returns(
|
|
270
|
+
{
|
|
271
|
+
city: String,
|
|
272
|
+
line1: String,
|
|
273
|
+
name: String,
|
|
274
|
+
postal_code: String,
|
|
275
|
+
state: String,
|
|
276
|
+
line2: String,
|
|
277
|
+
phone: String
|
|
278
|
+
}
|
|
279
|
+
)
|
|
280
|
+
end
|
|
281
|
+
def to_hash
|
|
282
|
+
end
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# How to ship the batch.
|
|
286
|
+
#
|
|
287
|
+
# Defaults to `usps_first_class`.
|
|
288
|
+
module ShippingMethod
|
|
289
|
+
extend Increase::Internal::Type::Enum
|
|
290
|
+
|
|
291
|
+
TaggedSymbol =
|
|
292
|
+
T.type_alias do
|
|
293
|
+
T.all(
|
|
294
|
+
Symbol,
|
|
295
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod
|
|
296
|
+
)
|
|
297
|
+
end
|
|
298
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
299
|
+
|
|
300
|
+
# USPS First Class
|
|
301
|
+
USPS_FIRST_CLASS =
|
|
302
|
+
T.let(
|
|
303
|
+
:usps_first_class,
|
|
304
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::TaggedSymbol
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
# FedEx Overnight
|
|
308
|
+
FEDEX_OVERNIGHT =
|
|
309
|
+
T.let(
|
|
310
|
+
:fedex_overnight,
|
|
311
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::TaggedSymbol
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
sig do
|
|
315
|
+
override.returns(
|
|
316
|
+
T::Array[
|
|
317
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::TaggedSymbol
|
|
318
|
+
]
|
|
319
|
+
)
|
|
320
|
+
end
|
|
321
|
+
def self.values
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
end
|
|
@@ -3075,6 +3075,13 @@ module Increase
|
|
|
3075
3075
|
Increase::RealTimeDecision::CardAuthorization::Decline::Reason::TaggedSymbol
|
|
3076
3076
|
)
|
|
3077
3077
|
|
|
3078
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
3079
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
|
|
3080
|
+
T.let(
|
|
3081
|
+
:additional_customer_authentication_required,
|
|
3082
|
+
Increase::RealTimeDecision::CardAuthorization::Decline::Reason::TaggedSymbol
|
|
3083
|
+
)
|
|
3084
|
+
|
|
3078
3085
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
3079
3086
|
OTHER =
|
|
3080
3087
|
T.let(
|
|
@@ -7095,6 +7102,13 @@ module Increase
|
|
|
7095
7102
|
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
|
7096
7103
|
)
|
|
7097
7104
|
|
|
7105
|
+
# Garmin Pay
|
|
7106
|
+
GARMIN_PAY =
|
|
7107
|
+
T.let(
|
|
7108
|
+
:garmin_pay,
|
|
7109
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
|
7110
|
+
)
|
|
7111
|
+
|
|
7098
7112
|
# Unknown
|
|
7099
7113
|
UNKNOWN =
|
|
7100
7114
|
T.let(
|
|
@@ -7341,6 +7355,13 @@ module Increase
|
|
|
7341
7355
|
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
|
7342
7356
|
)
|
|
7343
7357
|
|
|
7358
|
+
# Garmin Pay
|
|
7359
|
+
GARMIN_PAY =
|
|
7360
|
+
T.let(
|
|
7361
|
+
:garmin_pay,
|
|
7362
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
|
7363
|
+
)
|
|
7364
|
+
|
|
7344
7365
|
# Unknown
|
|
7345
7366
|
UNKNOWN =
|
|
7346
7367
|
T.let(
|
|
@@ -877,6 +877,13 @@ module Increase
|
|
|
877
877
|
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
|
878
878
|
)
|
|
879
879
|
|
|
880
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
881
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
|
|
882
|
+
T.let(
|
|
883
|
+
:additional_customer_authentication_required,
|
|
884
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
|
885
|
+
)
|
|
886
|
+
|
|
880
887
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
881
888
|
OTHER =
|
|
882
889
|
T.let(
|