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,266 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::PhysicalCheckBatches#create
|
|
6
|
+
class PhysicalCheckBatch < Increase::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# The Physical Check Batch's identifier.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute created_at
|
|
14
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
15
|
+
# the Physical Check Batch was created.
|
|
16
|
+
#
|
|
17
|
+
# @return [Time]
|
|
18
|
+
required :created_at, Time
|
|
19
|
+
|
|
20
|
+
# @!attribute idempotency_key
|
|
21
|
+
# The idempotency key you chose for this object. This value is unique across
|
|
22
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
23
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
required :idempotency_key, String, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute mailing_address
|
|
29
|
+
# The mailing address of the parcel.
|
|
30
|
+
#
|
|
31
|
+
# @return [Increase::Models::PhysicalCheckBatch::MailingAddress]
|
|
32
|
+
required :mailing_address, -> { Increase::PhysicalCheckBatch::MailingAddress }
|
|
33
|
+
|
|
34
|
+
# @!attribute return_address
|
|
35
|
+
# The return address of the parcel.
|
|
36
|
+
#
|
|
37
|
+
# @return [Increase::Models::PhysicalCheckBatch::ReturnAddress]
|
|
38
|
+
required :return_address, -> { Increase::PhysicalCheckBatch::ReturnAddress }
|
|
39
|
+
|
|
40
|
+
# @!attribute shipping_method
|
|
41
|
+
# The shipping method for the parcel.
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Increase::Models::PhysicalCheckBatch::ShippingMethod]
|
|
44
|
+
required :shipping_method, enum: -> { Increase::PhysicalCheckBatch::ShippingMethod }
|
|
45
|
+
|
|
46
|
+
# @!attribute status
|
|
47
|
+
# The lifecycle status of the Physical Check Batch.
|
|
48
|
+
#
|
|
49
|
+
# @return [Symbol, Increase::Models::PhysicalCheckBatch::Status]
|
|
50
|
+
required :status, enum: -> { Increase::PhysicalCheckBatch::Status }
|
|
51
|
+
|
|
52
|
+
# @!attribute type
|
|
53
|
+
# A constant representing the object's type. For this resource it will always be
|
|
54
|
+
# `physical_check_batch`.
|
|
55
|
+
#
|
|
56
|
+
# @return [Symbol, Increase::Models::PhysicalCheckBatch::Type]
|
|
57
|
+
required :type, enum: -> { Increase::PhysicalCheckBatch::Type }
|
|
58
|
+
|
|
59
|
+
# @!method initialize(id:, created_at:, idempotency_key:, mailing_address:, return_address:, shipping_method:, status:, type:)
|
|
60
|
+
# Physical Check Batches are groups of checks that are mailed in the same parcel.
|
|
61
|
+
# Tracking updates are propagated to every related Check Transfer.
|
|
62
|
+
#
|
|
63
|
+
# @param id [String] The Physical Check Batch's identifier.
|
|
64
|
+
#
|
|
65
|
+
# @param created_at [Time]
|
|
66
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
67
|
+
# the Physical Check Batch was created.
|
|
68
|
+
#
|
|
69
|
+
# @param idempotency_key [String, nil]
|
|
70
|
+
# The idempotency key you chose for this object. This value is unique across
|
|
71
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
72
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
73
|
+
#
|
|
74
|
+
# @param mailing_address [Increase::Models::PhysicalCheckBatch::MailingAddress]
|
|
75
|
+
# The mailing address of the parcel.
|
|
76
|
+
#
|
|
77
|
+
# @param return_address [Increase::Models::PhysicalCheckBatch::ReturnAddress]
|
|
78
|
+
# The return address of the parcel.
|
|
79
|
+
#
|
|
80
|
+
# @param shipping_method [Symbol, Increase::Models::PhysicalCheckBatch::ShippingMethod]
|
|
81
|
+
# The shipping method for the parcel.
|
|
82
|
+
#
|
|
83
|
+
# @param status [Symbol, Increase::Models::PhysicalCheckBatch::Status]
|
|
84
|
+
# The lifecycle status of the Physical Check Batch.
|
|
85
|
+
#
|
|
86
|
+
# @param type [Symbol, Increase::Models::PhysicalCheckBatch::Type]
|
|
87
|
+
# A constant representing the object's type. For this resource it will always be
|
|
88
|
+
# `physical_check_batch`.
|
|
89
|
+
|
|
90
|
+
# @see Increase::Models::PhysicalCheckBatch#mailing_address
|
|
91
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
92
|
+
# @!attribute city
|
|
93
|
+
# The city of the address.
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
required :city, String
|
|
97
|
+
|
|
98
|
+
# @!attribute line1
|
|
99
|
+
# The first line of the address.
|
|
100
|
+
#
|
|
101
|
+
# @return [String]
|
|
102
|
+
required :line1, String
|
|
103
|
+
|
|
104
|
+
# @!attribute line2
|
|
105
|
+
# The second line of the address.
|
|
106
|
+
#
|
|
107
|
+
# @return [String, nil]
|
|
108
|
+
required :line2, String, nil?: true
|
|
109
|
+
|
|
110
|
+
# @!attribute name
|
|
111
|
+
# The name component of the address.
|
|
112
|
+
#
|
|
113
|
+
# @return [String]
|
|
114
|
+
required :name, String
|
|
115
|
+
|
|
116
|
+
# @!attribute phone
|
|
117
|
+
# The phone number that is used for delivery issues.
|
|
118
|
+
#
|
|
119
|
+
# @return [String, nil]
|
|
120
|
+
required :phone, String, nil?: true
|
|
121
|
+
|
|
122
|
+
# @!attribute postal_code
|
|
123
|
+
# The postal code of the address.
|
|
124
|
+
#
|
|
125
|
+
# @return [String]
|
|
126
|
+
required :postal_code, String
|
|
127
|
+
|
|
128
|
+
# @!attribute state
|
|
129
|
+
# The state of the address.
|
|
130
|
+
#
|
|
131
|
+
# @return [String]
|
|
132
|
+
required :state, String
|
|
133
|
+
|
|
134
|
+
# @!method initialize(city:, line1:, line2:, name:, phone:, postal_code:, state:)
|
|
135
|
+
# The mailing address of the parcel.
|
|
136
|
+
#
|
|
137
|
+
# @param city [String] The city of the address.
|
|
138
|
+
#
|
|
139
|
+
# @param line1 [String] The first line of the address.
|
|
140
|
+
#
|
|
141
|
+
# @param line2 [String, nil] The second line of the address.
|
|
142
|
+
#
|
|
143
|
+
# @param name [String] The name component of the address.
|
|
144
|
+
#
|
|
145
|
+
# @param phone [String, nil] The phone number that is used for delivery issues.
|
|
146
|
+
#
|
|
147
|
+
# @param postal_code [String] The postal code of the address.
|
|
148
|
+
#
|
|
149
|
+
# @param state [String] The state of the address.
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# @see Increase::Models::PhysicalCheckBatch#return_address
|
|
153
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
154
|
+
# @!attribute city
|
|
155
|
+
# The city of the return address.
|
|
156
|
+
#
|
|
157
|
+
# @return [String]
|
|
158
|
+
required :city, String
|
|
159
|
+
|
|
160
|
+
# @!attribute line1
|
|
161
|
+
# The first line of the return address.
|
|
162
|
+
#
|
|
163
|
+
# @return [String]
|
|
164
|
+
required :line1, String
|
|
165
|
+
|
|
166
|
+
# @!attribute line2
|
|
167
|
+
# The second line of the return address.
|
|
168
|
+
#
|
|
169
|
+
# @return [String, nil]
|
|
170
|
+
required :line2, String, nil?: true
|
|
171
|
+
|
|
172
|
+
# @!attribute name
|
|
173
|
+
# The name component of the return address.
|
|
174
|
+
#
|
|
175
|
+
# @return [String]
|
|
176
|
+
required :name, String
|
|
177
|
+
|
|
178
|
+
# @!attribute phone
|
|
179
|
+
# The phone number that is used for delivery issues.
|
|
180
|
+
#
|
|
181
|
+
# @return [String, nil]
|
|
182
|
+
required :phone, String, nil?: true
|
|
183
|
+
|
|
184
|
+
# @!attribute postal_code
|
|
185
|
+
# The postal code of the return address.
|
|
186
|
+
#
|
|
187
|
+
# @return [String]
|
|
188
|
+
required :postal_code, String
|
|
189
|
+
|
|
190
|
+
# @!attribute state
|
|
191
|
+
# The state of the return address.
|
|
192
|
+
#
|
|
193
|
+
# @return [String]
|
|
194
|
+
required :state, String
|
|
195
|
+
|
|
196
|
+
# @!method initialize(city:, line1:, line2:, name:, phone:, postal_code:, state:)
|
|
197
|
+
# The return address of the parcel.
|
|
198
|
+
#
|
|
199
|
+
# @param city [String] The city of the return address.
|
|
200
|
+
#
|
|
201
|
+
# @param line1 [String] The first line of the return address.
|
|
202
|
+
#
|
|
203
|
+
# @param line2 [String, nil] The second line of the return address.
|
|
204
|
+
#
|
|
205
|
+
# @param name [String] The name component of the return address.
|
|
206
|
+
#
|
|
207
|
+
# @param phone [String, nil] The phone number that is used for delivery issues.
|
|
208
|
+
#
|
|
209
|
+
# @param postal_code [String] The postal code of the return address.
|
|
210
|
+
#
|
|
211
|
+
# @param state [String] The state of the return address.
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# The shipping method for the parcel.
|
|
215
|
+
#
|
|
216
|
+
# @see Increase::Models::PhysicalCheckBatch#shipping_method
|
|
217
|
+
module ShippingMethod
|
|
218
|
+
extend Increase::Internal::Type::Enum
|
|
219
|
+
|
|
220
|
+
# USPS First Class
|
|
221
|
+
USPS_FIRST_CLASS = :usps_first_class
|
|
222
|
+
|
|
223
|
+
# FedEx Overnight
|
|
224
|
+
FEDEX_OVERNIGHT = :fedex_overnight
|
|
225
|
+
|
|
226
|
+
# @!method self.values
|
|
227
|
+
# @return [Array<Symbol>]
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# The lifecycle status of the Physical Check Batch.
|
|
231
|
+
#
|
|
232
|
+
# @see Increase::Models::PhysicalCheckBatch#status
|
|
233
|
+
module Status
|
|
234
|
+
extend Increase::Internal::Type::Enum
|
|
235
|
+
|
|
236
|
+
# The batch is pending completion and is open to accepting new checks.
|
|
237
|
+
PENDING = :pending
|
|
238
|
+
|
|
239
|
+
# The batch has been completed.
|
|
240
|
+
COMPLETED = :completed
|
|
241
|
+
|
|
242
|
+
# The batch and all checks related to it have been canceled.
|
|
243
|
+
CANCELED = :canceled
|
|
244
|
+
|
|
245
|
+
# The batch requires attention from an Increase operator.
|
|
246
|
+
REQUIRES_ATTENTION = :requires_attention
|
|
247
|
+
|
|
248
|
+
# @!method self.values
|
|
249
|
+
# @return [Array<Symbol>]
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# A constant representing the object's type. For this resource it will always be
|
|
253
|
+
# `physical_check_batch`.
|
|
254
|
+
#
|
|
255
|
+
# @see Increase::Models::PhysicalCheckBatch#type
|
|
256
|
+
module Type
|
|
257
|
+
extend Increase::Internal::Type::Enum
|
|
258
|
+
|
|
259
|
+
PHYSICAL_CHECK_BATCH = :physical_check_batch
|
|
260
|
+
|
|
261
|
+
# @!method self.values
|
|
262
|
+
# @return [Array<Symbol>]
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::PhysicalCheckBatches#cancel
|
|
6
|
+
class PhysicalCheckBatchCancelParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute physical_check_batch_id
|
|
11
|
+
# The identifier of the pending Physical Check Batch to cancel.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :physical_check_batch_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(physical_check_batch_id:, request_options: {})
|
|
17
|
+
# @param physical_check_batch_id [String] The identifier of the pending Physical Check Batch to cancel.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::PhysicalCheckBatches#complete
|
|
6
|
+
class PhysicalCheckBatchCompleteParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute physical_check_batch_id
|
|
11
|
+
# The identifier of the Physical Check Batch to complete.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :physical_check_batch_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(physical_check_batch_id:, request_options: {})
|
|
17
|
+
# @param physical_check_batch_id [String] The identifier of the Physical Check Batch to complete.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::PhysicalCheckBatches#create
|
|
6
|
+
class PhysicalCheckBatchCreateParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute mailing_address
|
|
11
|
+
# Details for where the parcel will be mailed.
|
|
12
|
+
#
|
|
13
|
+
# @return [Increase::Models::PhysicalCheckBatchCreateParams::MailingAddress]
|
|
14
|
+
required :mailing_address, -> { Increase::PhysicalCheckBatchCreateParams::MailingAddress }
|
|
15
|
+
|
|
16
|
+
# @!attribute return_address
|
|
17
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
18
|
+
#
|
|
19
|
+
# @return [Increase::Models::PhysicalCheckBatchCreateParams::ReturnAddress]
|
|
20
|
+
required :return_address, -> { Increase::PhysicalCheckBatchCreateParams::ReturnAddress }
|
|
21
|
+
|
|
22
|
+
# @!attribute shipping_method
|
|
23
|
+
# How to ship the batch.
|
|
24
|
+
#
|
|
25
|
+
# Defaults to `usps_first_class`.
|
|
26
|
+
#
|
|
27
|
+
# @return [Symbol, Increase::Models::PhysicalCheckBatchCreateParams::ShippingMethod, nil]
|
|
28
|
+
optional :shipping_method, enum: -> { Increase::PhysicalCheckBatchCreateParams::ShippingMethod }
|
|
29
|
+
|
|
30
|
+
# @!method initialize(mailing_address:, return_address:, shipping_method: nil, request_options: {})
|
|
31
|
+
# @param mailing_address [Increase::Models::PhysicalCheckBatchCreateParams::MailingAddress]
|
|
32
|
+
# Details for where the parcel will be mailed.
|
|
33
|
+
#
|
|
34
|
+
# @param return_address [Increase::Models::PhysicalCheckBatchCreateParams::ReturnAddress]
|
|
35
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
36
|
+
#
|
|
37
|
+
# @param shipping_method [Symbol, Increase::Models::PhysicalCheckBatchCreateParams::ShippingMethod]
|
|
38
|
+
# How to ship the batch.
|
|
39
|
+
#
|
|
40
|
+
# Defaults to `usps_first_class`.
|
|
41
|
+
#
|
|
42
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
43
|
+
|
|
44
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
45
|
+
# @!attribute city
|
|
46
|
+
# The city of the destination address.
|
|
47
|
+
#
|
|
48
|
+
# @return [String]
|
|
49
|
+
required :city, String
|
|
50
|
+
|
|
51
|
+
# @!attribute line1
|
|
52
|
+
# The first line of the destination address.
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
required :line1, String
|
|
56
|
+
|
|
57
|
+
# @!attribute name
|
|
58
|
+
# The recipient at the destination address.
|
|
59
|
+
#
|
|
60
|
+
# @return [String]
|
|
61
|
+
required :name, String
|
|
62
|
+
|
|
63
|
+
# @!attribute postal_code
|
|
64
|
+
# The postal code of the destination address.
|
|
65
|
+
#
|
|
66
|
+
# @return [String]
|
|
67
|
+
required :postal_code, String
|
|
68
|
+
|
|
69
|
+
# @!attribute state
|
|
70
|
+
# The US state of the destination address.
|
|
71
|
+
#
|
|
72
|
+
# @return [String]
|
|
73
|
+
required :state, String
|
|
74
|
+
|
|
75
|
+
# @!attribute line2
|
|
76
|
+
# The second line of the destination address.
|
|
77
|
+
#
|
|
78
|
+
# @return [String, nil]
|
|
79
|
+
optional :line2, String
|
|
80
|
+
|
|
81
|
+
# @!attribute phone
|
|
82
|
+
# The phone number used for delivery issues at the destination address. Only used
|
|
83
|
+
# when `shipping_method` is `fedex_overnight`.
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
optional :phone, String
|
|
87
|
+
|
|
88
|
+
# @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, phone: nil)
|
|
89
|
+
# Details for where the parcel will be mailed.
|
|
90
|
+
#
|
|
91
|
+
# @param city [String] The city of the destination address.
|
|
92
|
+
#
|
|
93
|
+
# @param line1 [String] The first line of the destination address.
|
|
94
|
+
#
|
|
95
|
+
# @param name [String] The recipient at the destination address.
|
|
96
|
+
#
|
|
97
|
+
# @param postal_code [String] The postal code of the destination address.
|
|
98
|
+
#
|
|
99
|
+
# @param state [String] The US state of the destination address.
|
|
100
|
+
#
|
|
101
|
+
# @param line2 [String] The second line of the destination address.
|
|
102
|
+
#
|
|
103
|
+
# @param phone [String]
|
|
104
|
+
# The phone number used for delivery issues at the destination address. Only used
|
|
105
|
+
# when `shipping_method` is `fedex_overnight`.
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
109
|
+
# @!attribute city
|
|
110
|
+
# The city of the return address.
|
|
111
|
+
#
|
|
112
|
+
# @return [String]
|
|
113
|
+
required :city, String
|
|
114
|
+
|
|
115
|
+
# @!attribute line1
|
|
116
|
+
# The first line of the return address.
|
|
117
|
+
#
|
|
118
|
+
# @return [String]
|
|
119
|
+
required :line1, String
|
|
120
|
+
|
|
121
|
+
# @!attribute name
|
|
122
|
+
# The recipient at the return address.
|
|
123
|
+
#
|
|
124
|
+
# @return [String]
|
|
125
|
+
required :name, String
|
|
126
|
+
|
|
127
|
+
# @!attribute postal_code
|
|
128
|
+
# The postal code of the return address.
|
|
129
|
+
#
|
|
130
|
+
# @return [String]
|
|
131
|
+
required :postal_code, String
|
|
132
|
+
|
|
133
|
+
# @!attribute state
|
|
134
|
+
# The US state of the return address.
|
|
135
|
+
#
|
|
136
|
+
# @return [String]
|
|
137
|
+
required :state, String
|
|
138
|
+
|
|
139
|
+
# @!attribute line2
|
|
140
|
+
# The second line of the return address.
|
|
141
|
+
#
|
|
142
|
+
# @return [String, nil]
|
|
143
|
+
optional :line2, String
|
|
144
|
+
|
|
145
|
+
# @!attribute phone
|
|
146
|
+
# The phone number used for delivery issues at the return address. Only used when
|
|
147
|
+
# `shipping_method` is `fedex_overnight`.
|
|
148
|
+
#
|
|
149
|
+
# @return [String, nil]
|
|
150
|
+
optional :phone, String
|
|
151
|
+
|
|
152
|
+
# @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, phone: nil)
|
|
153
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
154
|
+
#
|
|
155
|
+
# @param city [String] The city of the return address.
|
|
156
|
+
#
|
|
157
|
+
# @param line1 [String] The first line of the return address.
|
|
158
|
+
#
|
|
159
|
+
# @param name [String] The recipient at the return address.
|
|
160
|
+
#
|
|
161
|
+
# @param postal_code [String] The postal code of the return address.
|
|
162
|
+
#
|
|
163
|
+
# @param state [String] The US state of the return address.
|
|
164
|
+
#
|
|
165
|
+
# @param line2 [String] The second line of the return address.
|
|
166
|
+
#
|
|
167
|
+
# @param phone [String]
|
|
168
|
+
# The phone number used for delivery issues at the return address. Only used when
|
|
169
|
+
# `shipping_method` is `fedex_overnight`.
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# How to ship the batch.
|
|
173
|
+
#
|
|
174
|
+
# Defaults to `usps_first_class`.
|
|
175
|
+
module ShippingMethod
|
|
176
|
+
extend Increase::Internal::Type::Enum
|
|
177
|
+
|
|
178
|
+
# USPS First Class
|
|
179
|
+
USPS_FIRST_CLASS = :usps_first_class
|
|
180
|
+
|
|
181
|
+
# FedEx Overnight
|
|
182
|
+
FEDEX_OVERNIGHT = :fedex_overnight
|
|
183
|
+
|
|
184
|
+
# @!method self.values
|
|
185
|
+
# @return [Array<Symbol>]
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
@@ -1784,6 +1784,9 @@ module Increase
|
|
|
1784
1784
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
1785
1785
|
SUSPECTED_FRAUD = :suspected_fraud
|
|
1786
1786
|
|
|
1787
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
1788
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
|
|
1789
|
+
|
|
1787
1790
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
1788
1791
|
OTHER = :other
|
|
1789
1792
|
|
|
@@ -3854,6 +3857,9 @@ module Increase
|
|
|
3854
3857
|
# Samsung Pay
|
|
3855
3858
|
SAMSUNG_PAY = :samsung_pay
|
|
3856
3859
|
|
|
3860
|
+
# Garmin Pay
|
|
3861
|
+
GARMIN_PAY = :garmin_pay
|
|
3862
|
+
|
|
3857
3863
|
# Unknown
|
|
3858
3864
|
UNKNOWN = :unknown
|
|
3859
3865
|
|
|
@@ -3966,6 +3972,9 @@ module Increase
|
|
|
3966
3972
|
# Samsung Pay
|
|
3967
3973
|
SAMSUNG_PAY = :samsung_pay
|
|
3968
3974
|
|
|
3975
|
+
# Garmin Pay
|
|
3976
|
+
GARMIN_PAY = :garmin_pay
|
|
3977
|
+
|
|
3969
3978
|
# Unknown
|
|
3970
3979
|
UNKNOWN = :unknown
|
|
3971
3980
|
|
|
@@ -393,6 +393,9 @@ module Increase
|
|
|
393
393
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
394
394
|
SUSPECTED_FRAUD = :suspected_fraud
|
|
395
395
|
|
|
396
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
397
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
|
|
398
|
+
|
|
396
399
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
397
400
|
OTHER = :other
|
|
398
401
|
|