increase 1.354.0 → 1.356.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/account_number.rb +1 -1
- data/lib/increase/models/account_number_create_params.rb +1 -1
- data/lib/increase/models/account_number_list_params.rb +1 -1
- data/lib/increase/models/account_number_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 +26 -1
- data/lib/increase/models/check_deposit.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +3 -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/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/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 +6 -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/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 +26 -1
- 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/account_number.rbi +1 -1
- data/rbi/increase/models/account_number_create_params.rbi +1 -1
- data/rbi/increase/models/account_number_list_params.rbi +1 -1
- data/rbi/increase/models/account_number_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 +52 -0
- data/rbi/increase/models/check_deposit.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +7 -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/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/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 +14 -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/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 +52 -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/account_number.rbs +1 -1
- data/sig/increase/models/account_number_create_params.rbs +1 -1
- data/sig/increase/models/account_number_list_params.rbs +1 -1
- data/sig/increase/models/account_number_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 +19 -0
- data/sig/increase/models/check_deposit.rbs +5 -1
- data/sig/increase/models/digital_wallet_token.rbs +5 -1
- 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/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/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 +10 -2
- 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/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 +19 -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,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type inbound_real_time_payments_requests_for_payment_retrieve_params =
|
|
4
|
+
{ inbound_real_time_payments_request_for_payment_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class InboundRealTimePaymentsRequestsForPaymentRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor inbound_real_time_payments_request_for_payment_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: Time,
|
|
7
|
+
idempotency_key: String?,
|
|
8
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
9
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
10
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
11
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
12
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class PhysicalCheckBatch < Increase::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor created_at: Time
|
|
19
|
+
|
|
20
|
+
attr_accessor idempotency_key: String?
|
|
21
|
+
|
|
22
|
+
attr_accessor mailing_address: Increase::PhysicalCheckBatch::MailingAddress
|
|
23
|
+
|
|
24
|
+
attr_accessor return_address: Increase::PhysicalCheckBatch::ReturnAddress
|
|
25
|
+
|
|
26
|
+
attr_accessor shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method
|
|
27
|
+
|
|
28
|
+
attr_accessor status: Increase::Models::PhysicalCheckBatch::status
|
|
29
|
+
|
|
30
|
+
attr_accessor type: Increase::Models::PhysicalCheckBatch::type_
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
created_at: Time,
|
|
35
|
+
idempotency_key: String?,
|
|
36
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
37
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
38
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
39
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
40
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
id: String,
|
|
45
|
+
created_at: Time,
|
|
46
|
+
idempotency_key: String?,
|
|
47
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
48
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
49
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
50
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
51
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type mailing_address =
|
|
55
|
+
{
|
|
56
|
+
city: String,
|
|
57
|
+
:line1 => String,
|
|
58
|
+
:line2 => String?,
|
|
59
|
+
name: String,
|
|
60
|
+
phone: String?,
|
|
61
|
+
postal_code: String,
|
|
62
|
+
state: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
66
|
+
attr_accessor city: String
|
|
67
|
+
|
|
68
|
+
attr_accessor line1: String
|
|
69
|
+
|
|
70
|
+
attr_accessor line2: String?
|
|
71
|
+
|
|
72
|
+
attr_accessor name: String
|
|
73
|
+
|
|
74
|
+
attr_accessor phone: String?
|
|
75
|
+
|
|
76
|
+
attr_accessor postal_code: String
|
|
77
|
+
|
|
78
|
+
attr_accessor state: String
|
|
79
|
+
|
|
80
|
+
def initialize: (
|
|
81
|
+
city: String,
|
|
82
|
+
line1: String,
|
|
83
|
+
line2: String?,
|
|
84
|
+
name: String,
|
|
85
|
+
phone: String?,
|
|
86
|
+
postal_code: String,
|
|
87
|
+
state: String
|
|
88
|
+
) -> void
|
|
89
|
+
|
|
90
|
+
def to_hash: -> {
|
|
91
|
+
city: String,
|
|
92
|
+
:line1 => String,
|
|
93
|
+
:line2 => String?,
|
|
94
|
+
name: String,
|
|
95
|
+
phone: String?,
|
|
96
|
+
postal_code: String,
|
|
97
|
+
state: String
|
|
98
|
+
}
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
type return_address =
|
|
102
|
+
{
|
|
103
|
+
city: String,
|
|
104
|
+
:line1 => String,
|
|
105
|
+
:line2 => String?,
|
|
106
|
+
name: String,
|
|
107
|
+
phone: String?,
|
|
108
|
+
postal_code: String,
|
|
109
|
+
state: String
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
113
|
+
attr_accessor city: String
|
|
114
|
+
|
|
115
|
+
attr_accessor line1: String
|
|
116
|
+
|
|
117
|
+
attr_accessor line2: String?
|
|
118
|
+
|
|
119
|
+
attr_accessor name: String
|
|
120
|
+
|
|
121
|
+
attr_accessor phone: String?
|
|
122
|
+
|
|
123
|
+
attr_accessor postal_code: String
|
|
124
|
+
|
|
125
|
+
attr_accessor state: String
|
|
126
|
+
|
|
127
|
+
def initialize: (
|
|
128
|
+
city: String,
|
|
129
|
+
line1: String,
|
|
130
|
+
line2: String?,
|
|
131
|
+
name: String,
|
|
132
|
+
phone: String?,
|
|
133
|
+
postal_code: String,
|
|
134
|
+
state: String
|
|
135
|
+
) -> void
|
|
136
|
+
|
|
137
|
+
def to_hash: -> {
|
|
138
|
+
city: String,
|
|
139
|
+
:line1 => String,
|
|
140
|
+
:line2 => String?,
|
|
141
|
+
name: String,
|
|
142
|
+
phone: String?,
|
|
143
|
+
postal_code: String,
|
|
144
|
+
state: String
|
|
145
|
+
}
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
type shipping_method = :usps_first_class | :fedex_overnight
|
|
149
|
+
|
|
150
|
+
module ShippingMethod
|
|
151
|
+
extend Increase::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
# USPS First Class
|
|
154
|
+
USPS_FIRST_CLASS: :usps_first_class
|
|
155
|
+
|
|
156
|
+
# FedEx Overnight
|
|
157
|
+
FEDEX_OVERNIGHT: :fedex_overnight
|
|
158
|
+
|
|
159
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::shipping_method]
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
type status = :pending | :completed | :canceled | :requires_attention
|
|
163
|
+
|
|
164
|
+
module Status
|
|
165
|
+
extend Increase::Internal::Type::Enum
|
|
166
|
+
|
|
167
|
+
# The batch is pending completion and is open to accepting new checks.
|
|
168
|
+
PENDING: :pending
|
|
169
|
+
|
|
170
|
+
# The batch has been completed.
|
|
171
|
+
COMPLETED: :completed
|
|
172
|
+
|
|
173
|
+
# The batch and all checks related to it have been canceled.
|
|
174
|
+
CANCELED: :canceled
|
|
175
|
+
|
|
176
|
+
# The batch requires attention from an Increase operator.
|
|
177
|
+
REQUIRES_ATTENTION: :requires_attention
|
|
178
|
+
|
|
179
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::status]
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
type type_ = :physical_check_batch
|
|
183
|
+
|
|
184
|
+
module Type
|
|
185
|
+
extend Increase::Internal::Type::Enum
|
|
186
|
+
|
|
187
|
+
PHYSICAL_CHECK_BATCH: :physical_check_batch
|
|
188
|
+
|
|
189
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::type_]
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch_cancel_params =
|
|
4
|
+
{ physical_check_batch_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class PhysicalCheckBatchCancelParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor physical_check_batch_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
physical_check_batch_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
physical_check_batch_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch_complete_params =
|
|
4
|
+
{ physical_check_batch_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class PhysicalCheckBatchCompleteParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor physical_check_batch_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
physical_check_batch_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
physical_check_batch_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch_create_params =
|
|
4
|
+
{
|
|
5
|
+
mailing_address: Increase::PhysicalCheckBatchCreateParams::MailingAddress,
|
|
6
|
+
return_address: Increase::PhysicalCheckBatchCreateParams::ReturnAddress,
|
|
7
|
+
shipping_method: Increase::Models::PhysicalCheckBatchCreateParams::shipping_method
|
|
8
|
+
}
|
|
9
|
+
& Increase::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class PhysicalCheckBatchCreateParams < Increase::Internal::Type::BaseModel
|
|
12
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Increase::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor mailing_address: Increase::PhysicalCheckBatchCreateParams::MailingAddress
|
|
16
|
+
|
|
17
|
+
attr_accessor return_address: Increase::PhysicalCheckBatchCreateParams::ReturnAddress
|
|
18
|
+
|
|
19
|
+
attr_reader shipping_method: Increase::Models::PhysicalCheckBatchCreateParams::shipping_method?
|
|
20
|
+
|
|
21
|
+
def shipping_method=: (
|
|
22
|
+
Increase::Models::PhysicalCheckBatchCreateParams::shipping_method
|
|
23
|
+
) -> Increase::Models::PhysicalCheckBatchCreateParams::shipping_method
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
mailing_address: Increase::PhysicalCheckBatchCreateParams::MailingAddress,
|
|
27
|
+
return_address: Increase::PhysicalCheckBatchCreateParams::ReturnAddress,
|
|
28
|
+
?shipping_method: Increase::Models::PhysicalCheckBatchCreateParams::shipping_method,
|
|
29
|
+
?request_options: Increase::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
mailing_address: Increase::PhysicalCheckBatchCreateParams::MailingAddress,
|
|
34
|
+
return_address: Increase::PhysicalCheckBatchCreateParams::ReturnAddress,
|
|
35
|
+
shipping_method: Increase::Models::PhysicalCheckBatchCreateParams::shipping_method,
|
|
36
|
+
request_options: Increase::RequestOptions
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
type mailing_address =
|
|
40
|
+
{
|
|
41
|
+
city: String,
|
|
42
|
+
:line1 => String,
|
|
43
|
+
name: String,
|
|
44
|
+
postal_code: String,
|
|
45
|
+
state: String,
|
|
46
|
+
:line2 => String,
|
|
47
|
+
phone: String
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
51
|
+
attr_accessor city: String
|
|
52
|
+
|
|
53
|
+
attr_accessor line1: String
|
|
54
|
+
|
|
55
|
+
attr_accessor name: String
|
|
56
|
+
|
|
57
|
+
attr_accessor postal_code: String
|
|
58
|
+
|
|
59
|
+
attr_accessor state: String
|
|
60
|
+
|
|
61
|
+
attr_reader line2: String?
|
|
62
|
+
|
|
63
|
+
def line2=: (String) -> String
|
|
64
|
+
|
|
65
|
+
attr_reader phone: String?
|
|
66
|
+
|
|
67
|
+
def phone=: (String) -> String
|
|
68
|
+
|
|
69
|
+
def initialize: (
|
|
70
|
+
city: String,
|
|
71
|
+
line1: String,
|
|
72
|
+
name: String,
|
|
73
|
+
postal_code: String,
|
|
74
|
+
state: String,
|
|
75
|
+
?line2: String,
|
|
76
|
+
?phone: String
|
|
77
|
+
) -> void
|
|
78
|
+
|
|
79
|
+
def to_hash: -> {
|
|
80
|
+
city: String,
|
|
81
|
+
:line1 => String,
|
|
82
|
+
name: String,
|
|
83
|
+
postal_code: String,
|
|
84
|
+
state: String,
|
|
85
|
+
:line2 => String,
|
|
86
|
+
phone: String
|
|
87
|
+
}
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
type return_address =
|
|
91
|
+
{
|
|
92
|
+
city: String,
|
|
93
|
+
:line1 => String,
|
|
94
|
+
name: String,
|
|
95
|
+
postal_code: String,
|
|
96
|
+
state: String,
|
|
97
|
+
:line2 => String,
|
|
98
|
+
phone: String
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
102
|
+
attr_accessor city: String
|
|
103
|
+
|
|
104
|
+
attr_accessor line1: String
|
|
105
|
+
|
|
106
|
+
attr_accessor name: String
|
|
107
|
+
|
|
108
|
+
attr_accessor postal_code: String
|
|
109
|
+
|
|
110
|
+
attr_accessor state: String
|
|
111
|
+
|
|
112
|
+
attr_reader line2: String?
|
|
113
|
+
|
|
114
|
+
def line2=: (String) -> String
|
|
115
|
+
|
|
116
|
+
attr_reader phone: String?
|
|
117
|
+
|
|
118
|
+
def phone=: (String) -> String
|
|
119
|
+
|
|
120
|
+
def initialize: (
|
|
121
|
+
city: String,
|
|
122
|
+
line1: String,
|
|
123
|
+
name: String,
|
|
124
|
+
postal_code: String,
|
|
125
|
+
state: String,
|
|
126
|
+
?line2: String,
|
|
127
|
+
?phone: String
|
|
128
|
+
) -> void
|
|
129
|
+
|
|
130
|
+
def to_hash: -> {
|
|
131
|
+
city: String,
|
|
132
|
+
:line1 => String,
|
|
133
|
+
name: String,
|
|
134
|
+
postal_code: String,
|
|
135
|
+
state: String,
|
|
136
|
+
:line2 => String,
|
|
137
|
+
phone: String
|
|
138
|
+
}
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
type shipping_method = :usps_first_class | :fedex_overnight
|
|
142
|
+
|
|
143
|
+
module ShippingMethod
|
|
144
|
+
extend Increase::Internal::Type::Enum
|
|
145
|
+
|
|
146
|
+
# USPS First Class
|
|
147
|
+
USPS_FIRST_CLASS: :usps_first_class
|
|
148
|
+
|
|
149
|
+
# FedEx Overnight
|
|
150
|
+
FEDEX_OVERNIGHT: :fedex_overnight
|
|
151
|
+
|
|
152
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatchCreateParams::shipping_method]
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
end
|
|
@@ -2597,7 +2597,8 @@ module Increase
|
|
|
2597
2597
|
def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel]
|
|
2598
2598
|
end
|
|
2599
2599
|
|
|
2600
|
-
type digital_wallet =
|
|
2600
|
+
type digital_wallet =
|
|
2601
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
2601
2602
|
|
|
2602
2603
|
module DigitalWallet
|
|
2603
2604
|
extend Increase::Internal::Type::Enum
|
|
@@ -2611,6 +2612,9 @@ module Increase
|
|
|
2611
2612
|
# Samsung Pay
|
|
2612
2613
|
SAMSUNG_PAY: :samsung_pay
|
|
2613
2614
|
|
|
2615
|
+
# Garmin Pay
|
|
2616
|
+
GARMIN_PAY: :garmin_pay
|
|
2617
|
+
|
|
2614
2618
|
# Unknown
|
|
2615
2619
|
UNKNOWN: :unknown
|
|
2616
2620
|
|
|
@@ -2687,7 +2691,8 @@ module Increase
|
|
|
2687
2691
|
def to_hash: -> { identifier: String? }
|
|
2688
2692
|
end
|
|
2689
2693
|
|
|
2690
|
-
type digital_wallet =
|
|
2694
|
+
type digital_wallet =
|
|
2695
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
2691
2696
|
|
|
2692
2697
|
module DigitalWallet
|
|
2693
2698
|
extend Increase::Internal::Type::Enum
|
|
@@ -2701,6 +2706,9 @@ module Increase
|
|
|
2701
2706
|
# Samsung Pay
|
|
2702
2707
|
SAMSUNG_PAY: :samsung_pay
|
|
2703
2708
|
|
|
2709
|
+
# Garmin Pay
|
|
2710
|
+
GARMIN_PAY: :garmin_pay
|
|
2711
|
+
|
|
2704
2712
|
# Unknown
|
|
2705
2713
|
UNKNOWN: :unknown
|
|
2706
2714
|
|