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,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
|
|
@@ -1100,6 +1100,7 @@ module Increase
|
|
|
1100
1100
|
| :exceeds_approval_limit
|
|
1101
1101
|
| :card_temporarily_disabled
|
|
1102
1102
|
| :suspected_fraud
|
|
1103
|
+
| :additional_customer_authentication_required
|
|
1103
1104
|
| :other
|
|
1104
1105
|
|
|
1105
1106
|
module Reason
|
|
@@ -1120,6 +1121,9 @@ module Increase
|
|
|
1120
1121
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
1121
1122
|
SUSPECTED_FRAUD: :suspected_fraud
|
|
1122
1123
|
|
|
1124
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
1125
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
|
|
1126
|
+
|
|
1123
1127
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
1124
1128
|
OTHER: :other
|
|
1125
1129
|
|
|
@@ -2593,7 +2597,8 @@ module Increase
|
|
|
2593
2597
|
def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel]
|
|
2594
2598
|
end
|
|
2595
2599
|
|
|
2596
|
-
type digital_wallet =
|
|
2600
|
+
type digital_wallet =
|
|
2601
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
2597
2602
|
|
|
2598
2603
|
module DigitalWallet
|
|
2599
2604
|
extend Increase::Internal::Type::Enum
|
|
@@ -2607,6 +2612,9 @@ module Increase
|
|
|
2607
2612
|
# Samsung Pay
|
|
2608
2613
|
SAMSUNG_PAY: :samsung_pay
|
|
2609
2614
|
|
|
2615
|
+
# Garmin Pay
|
|
2616
|
+
GARMIN_PAY: :garmin_pay
|
|
2617
|
+
|
|
2610
2618
|
# Unknown
|
|
2611
2619
|
UNKNOWN: :unknown
|
|
2612
2620
|
|
|
@@ -2683,7 +2691,8 @@ module Increase
|
|
|
2683
2691
|
def to_hash: -> { identifier: String? }
|
|
2684
2692
|
end
|
|
2685
2693
|
|
|
2686
|
-
type digital_wallet =
|
|
2694
|
+
type digital_wallet =
|
|
2695
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
2687
2696
|
|
|
2688
2697
|
module DigitalWallet
|
|
2689
2698
|
extend Increase::Internal::Type::Enum
|
|
@@ -2697,6 +2706,9 @@ module Increase
|
|
|
2697
2706
|
# Samsung Pay
|
|
2698
2707
|
SAMSUNG_PAY: :samsung_pay
|
|
2699
2708
|
|
|
2709
|
+
# Garmin Pay
|
|
2710
|
+
GARMIN_PAY: :garmin_pay
|
|
2711
|
+
|
|
2700
2712
|
# Unknown
|
|
2701
2713
|
UNKNOWN: :unknown
|
|
2702
2714
|
|
|
@@ -314,6 +314,7 @@ module Increase
|
|
|
314
314
|
| :exceeds_approval_limit
|
|
315
315
|
| :card_temporarily_disabled
|
|
316
316
|
| :suspected_fraud
|
|
317
|
+
| :additional_customer_authentication_required
|
|
317
318
|
| :other
|
|
318
319
|
|
|
319
320
|
module Reason
|
|
@@ -334,6 +335,9 @@ module Increase
|
|
|
334
335
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
335
336
|
SUSPECTED_FRAUD: :suspected_fraud
|
|
336
337
|
|
|
338
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
339
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
|
|
340
|
+
|
|
337
341
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
338
342
|
OTHER: :other
|
|
339
343
|
|