increase 1.354.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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +18 -0
  4. data/lib/increase/models/card_create_details_token_params.rb +22 -0
  5. data/lib/increase/models/card_details_token.rb +57 -0
  6. data/lib/increase/models/card_payment.rb +26 -1
  7. data/lib/increase/models/digital_wallet_token.rb +3 -0
  8. data/lib/increase/models/digital_wallet_token_request.rb +307 -0
  9. data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
  10. data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
  11. data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
  12. data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
  13. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
  14. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
  15. data/lib/increase/models/physical_check_batch.rb +266 -0
  16. data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
  17. data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
  18. data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
  19. data/lib/increase/models/real_time_decision.rb +6 -0
  20. data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
  21. data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
  22. data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
  23. data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
  24. data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
  25. data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
  26. data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
  27. data/lib/increase/models/transaction.rb +26 -1
  28. data/lib/increase/models.rb +42 -0
  29. data/lib/increase/resources/cards.rb +23 -0
  30. data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
  31. data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
  32. data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
  33. data/lib/increase/resources/physical_check_batches.rb +86 -0
  34. data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
  35. data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
  36. data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
  37. data/lib/increase/resources/simulations.rb +4 -0
  38. data/lib/increase/version.rb +1 -1
  39. data/lib/increase.rb +25 -0
  40. data/rbi/increase/client.rbi +14 -0
  41. data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
  42. data/rbi/increase/models/card_details_token.rbi +85 -0
  43. data/rbi/increase/models/card_payment.rbi +52 -0
  44. data/rbi/increase/models/digital_wallet_token.rbi +7 -0
  45. data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
  46. data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
  47. data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
  48. data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
  49. data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
  50. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
  51. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
  52. data/rbi/increase/models/physical_check_batch.rbi +382 -0
  53. data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
  54. data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
  55. data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
  56. data/rbi/increase/models/real_time_decision.rbi +14 -0
  57. data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
  58. data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
  59. data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
  60. data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
  61. data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
  62. data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
  63. data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
  64. data/rbi/increase/models/transaction.rbi +52 -0
  65. data/rbi/increase/models.rbi +50 -0
  66. data/rbi/increase/resources/cards.rbi +17 -0
  67. data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
  68. data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
  69. data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
  70. data/rbi/increase/resources/physical_check_batches.rbi +66 -0
  71. data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
  72. data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
  73. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
  74. data/rbi/increase/resources/simulations.rbi +3 -0
  75. data/sig/increase/client.rbs +8 -0
  76. data/sig/increase/models/card_create_details_token_params.rbs +23 -0
  77. data/sig/increase/models/card_details_token.rbs +40 -0
  78. data/sig/increase/models/card_payment.rbs +19 -0
  79. data/sig/increase/models/digital_wallet_token.rbs +5 -1
  80. data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
  81. data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
  82. data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
  83. data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
  84. data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
  85. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
  86. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  87. data/sig/increase/models/physical_check_batch.rbs +193 -0
  88. data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
  89. data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
  90. data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
  91. data/sig/increase/models/real_time_decision.rbs +10 -2
  92. data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
  93. data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
  94. data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
  95. data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
  96. data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  97. data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
  98. data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
  99. data/sig/increase/models/transaction.rbs +19 -0
  100. data/sig/increase/models.rbs +36 -0
  101. data/sig/increase/resources/cards.rbs +5 -0
  102. data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
  103. data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
  104. data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
  105. data/sig/increase/resources/physical_check_batches.rbs +24 -0
  106. data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
  107. data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
  108. data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
  109. data/sig/increase/resources/simulations.rbs +2 -0
  110. metadata +77 -2
@@ -0,0 +1,442 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundRealTimePaymentsRequestForPayment < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(
9
+ Increase::InboundRealTimePaymentsRequestForPayment,
10
+ Increase::Internal::AnyHash
11
+ )
12
+ end
13
+
14
+ # The inbound Real-Time Payments request for payment's identifier.
15
+ sig { returns(String) }
16
+ attr_accessor :id
17
+
18
+ # The Account the request for payment is for.
19
+ sig { returns(String) }
20
+ attr_accessor :account_id
21
+
22
+ # The identifier of the Account Number the request for payment is for.
23
+ sig { returns(String) }
24
+ attr_accessor :account_number_id
25
+
26
+ # The requested amount in USD cents.
27
+ sig { returns(Integer) }
28
+ attr_accessor :amount
29
+
30
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
31
+ # the request for payment was created.
32
+ sig { returns(Time) }
33
+ attr_accessor :created_at
34
+
35
+ # Details of the party requesting payment.
36
+ sig do
37
+ returns(Increase::InboundRealTimePaymentsRequestForPayment::Creditor)
38
+ end
39
+ attr_reader :creditor
40
+
41
+ sig do
42
+ params(
43
+ creditor:
44
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::OrHash
45
+ ).void
46
+ end
47
+ attr_writer :creditor
48
+
49
+ # The creditor's account number.
50
+ sig { returns(String) }
51
+ attr_accessor :creditor_account_number
52
+
53
+ # The creditor's American Bankers' Association (ABA) Routing Transit Number (RTN).
54
+ sig { returns(String) }
55
+ attr_accessor :creditor_routing_number
56
+
57
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the requested
58
+ # currency. This will always be "USD" for a Real-Time Payments request for
59
+ # payment.
60
+ sig do
61
+ returns(
62
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency::TaggedSymbol
63
+ )
64
+ end
65
+ attr_accessor :currency
66
+
67
+ # The name of the account holder the payment is requested from, as provided by the
68
+ # creditor.
69
+ sig { returns(String) }
70
+ attr_accessor :debtor_name
71
+
72
+ # A free-form reference string set by the creditor, to help identify the request
73
+ # for payment.
74
+ sig { returns(String) }
75
+ attr_accessor :end_to_end_identification
76
+
77
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time after which
78
+ # the request for payment is no longer valid and should no longer be paid.
79
+ sig { returns(Time) }
80
+ attr_accessor :expires_at
81
+
82
+ # The identifier of the Real-Time Payments Transfer that fulfilled this request
83
+ # for payment. This is set once a transfer sent in response to the request for
84
+ # payment has been acknowledged by the Real-Time Payments network.
85
+ sig { returns(T.nilable(String)) }
86
+ attr_accessor :fulfillment_real_time_payments_transfer_id
87
+
88
+ # An identifier for the party that issued the invoice, for requests for payment
89
+ # sent on behalf of another party.
90
+ sig { returns(T.nilable(String)) }
91
+ attr_accessor :invoicer_identification
92
+
93
+ # The Real-Time Payments network identification of the request for payment.
94
+ sig { returns(String) }
95
+ attr_accessor :payment_information_identification
96
+
97
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time by which
98
+ # the creditor requests the payment to be made.
99
+ sig { returns(T.nilable(Time)) }
100
+ attr_accessor :requested_execution_at
101
+
102
+ # A constant representing the object's type. For this resource it will always be
103
+ # `inbound_real_time_payments_request_for_payment`.
104
+ sig do
105
+ returns(
106
+ Increase::InboundRealTimePaymentsRequestForPayment::Type::TaggedSymbol
107
+ )
108
+ end
109
+ attr_accessor :type
110
+
111
+ # Unstructured information included with the request for payment.
112
+ sig { returns(T.nilable(String)) }
113
+ attr_accessor :unstructured_remittance_information
114
+
115
+ # An Inbound Real-Time Payments Request for Payment is a request initiated outside
116
+ # of Increase for one of your accounts to send a Real-Time Payments transfer.
117
+ sig do
118
+ params(
119
+ id: String,
120
+ account_id: String,
121
+ account_number_id: String,
122
+ amount: Integer,
123
+ created_at: Time,
124
+ creditor:
125
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::OrHash,
126
+ creditor_account_number: String,
127
+ creditor_routing_number: String,
128
+ currency:
129
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency::OrSymbol,
130
+ debtor_name: String,
131
+ end_to_end_identification: String,
132
+ expires_at: Time,
133
+ fulfillment_real_time_payments_transfer_id: T.nilable(String),
134
+ invoicer_identification: T.nilable(String),
135
+ payment_information_identification: String,
136
+ requested_execution_at: T.nilable(Time),
137
+ type:
138
+ Increase::InboundRealTimePaymentsRequestForPayment::Type::OrSymbol,
139
+ unstructured_remittance_information: T.nilable(String)
140
+ ).returns(T.attached_class)
141
+ end
142
+ def self.new(
143
+ # The inbound Real-Time Payments request for payment's identifier.
144
+ id:,
145
+ # The Account the request for payment is for.
146
+ account_id:,
147
+ # The identifier of the Account Number the request for payment is for.
148
+ account_number_id:,
149
+ # The requested amount in USD cents.
150
+ amount:,
151
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
152
+ # the request for payment was created.
153
+ created_at:,
154
+ # Details of the party requesting payment.
155
+ creditor:,
156
+ # The creditor's account number.
157
+ creditor_account_number:,
158
+ # The creditor's American Bankers' Association (ABA) Routing Transit Number (RTN).
159
+ creditor_routing_number:,
160
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the requested
161
+ # currency. This will always be "USD" for a Real-Time Payments request for
162
+ # payment.
163
+ currency:,
164
+ # The name of the account holder the payment is requested from, as provided by the
165
+ # creditor.
166
+ debtor_name:,
167
+ # A free-form reference string set by the creditor, to help identify the request
168
+ # for payment.
169
+ end_to_end_identification:,
170
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time after which
171
+ # the request for payment is no longer valid and should no longer be paid.
172
+ expires_at:,
173
+ # The identifier of the Real-Time Payments Transfer that fulfilled this request
174
+ # for payment. This is set once a transfer sent in response to the request for
175
+ # payment has been acknowledged by the Real-Time Payments network.
176
+ fulfillment_real_time_payments_transfer_id:,
177
+ # An identifier for the party that issued the invoice, for requests for payment
178
+ # sent on behalf of another party.
179
+ invoicer_identification:,
180
+ # The Real-Time Payments network identification of the request for payment.
181
+ payment_information_identification:,
182
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time by which
183
+ # the creditor requests the payment to be made.
184
+ requested_execution_at:,
185
+ # A constant representing the object's type. For this resource it will always be
186
+ # `inbound_real_time_payments_request_for_payment`.
187
+ type:,
188
+ # Unstructured information included with the request for payment.
189
+ unstructured_remittance_information:
190
+ )
191
+ end
192
+
193
+ sig do
194
+ override.returns(
195
+ {
196
+ id: String,
197
+ account_id: String,
198
+ account_number_id: String,
199
+ amount: Integer,
200
+ created_at: Time,
201
+ creditor:
202
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor,
203
+ creditor_account_number: String,
204
+ creditor_routing_number: String,
205
+ currency:
206
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency::TaggedSymbol,
207
+ debtor_name: String,
208
+ end_to_end_identification: String,
209
+ expires_at: Time,
210
+ fulfillment_real_time_payments_transfer_id: T.nilable(String),
211
+ invoicer_identification: T.nilable(String),
212
+ payment_information_identification: String,
213
+ requested_execution_at: T.nilable(Time),
214
+ type:
215
+ Increase::InboundRealTimePaymentsRequestForPayment::Type::TaggedSymbol,
216
+ unstructured_remittance_information: T.nilable(String)
217
+ }
218
+ )
219
+ end
220
+ def to_hash
221
+ end
222
+
223
+ class Creditor < Increase::Internal::Type::BaseModel
224
+ OrHash =
225
+ T.type_alias do
226
+ T.any(
227
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor,
228
+ Increase::Internal::AnyHash
229
+ )
230
+ end
231
+
232
+ # The name of the account that would receive the payment, as provided by the
233
+ # creditor.
234
+ sig { returns(T.nilable(String)) }
235
+ attr_accessor :account_name
236
+
237
+ # Address of the creditor.
238
+ sig do
239
+ returns(
240
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address
241
+ )
242
+ end
243
+ attr_reader :address
244
+
245
+ sig do
246
+ params(
247
+ address:
248
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address::OrHash
249
+ ).void
250
+ end
251
+ attr_writer :address
252
+
253
+ # The name of the creditor.
254
+ sig { returns(String) }
255
+ attr_accessor :name
256
+
257
+ # Details of the party requesting payment.
258
+ sig do
259
+ params(
260
+ account_name: T.nilable(String),
261
+ address:
262
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address::OrHash,
263
+ name: String
264
+ ).returns(T.attached_class)
265
+ end
266
+ def self.new(
267
+ # The name of the account that would receive the payment, as provided by the
268
+ # creditor.
269
+ account_name:,
270
+ # Address of the creditor.
271
+ address:,
272
+ # The name of the creditor.
273
+ name:
274
+ )
275
+ end
276
+
277
+ sig do
278
+ override.returns(
279
+ {
280
+ account_name: T.nilable(String),
281
+ address:
282
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address,
283
+ name: String
284
+ }
285
+ )
286
+ end
287
+ def to_hash
288
+ end
289
+
290
+ class Address < Increase::Internal::Type::BaseModel
291
+ OrHash =
292
+ T.type_alias do
293
+ T.any(
294
+ Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address,
295
+ Increase::Internal::AnyHash
296
+ )
297
+ end
298
+
299
+ # A second address line, such as an apartment or suite number. The first address
300
+ # line is separated into `building_number` and `street_name`.
301
+ sig { returns(T.nilable(String)) }
302
+ attr_accessor :address_line2
303
+
304
+ # The number identifying the position of the building on the street.
305
+ sig { returns(T.nilable(String)) }
306
+ attr_accessor :building_number
307
+
308
+ # The town or city.
309
+ sig { returns(T.nilable(String)) }
310
+ attr_accessor :city
311
+
312
+ # The ISO 3166, Alpha-2 country code.
313
+ sig { returns(T.nilable(String)) }
314
+ attr_accessor :country
315
+
316
+ # The postal code or zip.
317
+ sig { returns(T.nilable(String)) }
318
+ attr_accessor :postal_code
319
+
320
+ # The US state component of the address.
321
+ sig { returns(T.nilable(String)) }
322
+ attr_accessor :state
323
+
324
+ # The street name without the street number.
325
+ sig { returns(T.nilable(String)) }
326
+ attr_accessor :street_name
327
+
328
+ # Address of the creditor.
329
+ sig do
330
+ params(
331
+ address_line2: T.nilable(String),
332
+ building_number: T.nilable(String),
333
+ city: T.nilable(String),
334
+ country: T.nilable(String),
335
+ postal_code: T.nilable(String),
336
+ state: T.nilable(String),
337
+ street_name: T.nilable(String)
338
+ ).returns(T.attached_class)
339
+ end
340
+ def self.new(
341
+ # A second address line, such as an apartment or suite number. The first address
342
+ # line is separated into `building_number` and `street_name`.
343
+ address_line2:,
344
+ # The number identifying the position of the building on the street.
345
+ building_number:,
346
+ # The town or city.
347
+ city:,
348
+ # The ISO 3166, Alpha-2 country code.
349
+ country:,
350
+ # The postal code or zip.
351
+ postal_code:,
352
+ # The US state component of the address.
353
+ state:,
354
+ # The street name without the street number.
355
+ street_name:
356
+ )
357
+ end
358
+
359
+ sig do
360
+ override.returns(
361
+ {
362
+ address_line2: T.nilable(String),
363
+ building_number: T.nilable(String),
364
+ city: T.nilable(String),
365
+ country: T.nilable(String),
366
+ postal_code: T.nilable(String),
367
+ state: T.nilable(String),
368
+ street_name: T.nilable(String)
369
+ }
370
+ )
371
+ end
372
+ def to_hash
373
+ end
374
+ end
375
+ end
376
+
377
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the requested
378
+ # currency. This will always be "USD" for a Real-Time Payments request for
379
+ # payment.
380
+ module Currency
381
+ extend Increase::Internal::Type::Enum
382
+
383
+ TaggedSymbol =
384
+ T.type_alias do
385
+ T.all(
386
+ Symbol,
387
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency
388
+ )
389
+ end
390
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
391
+
392
+ # US Dollar (USD)
393
+ USD =
394
+ T.let(
395
+ :USD,
396
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency::TaggedSymbol
397
+ )
398
+
399
+ sig do
400
+ override.returns(
401
+ T::Array[
402
+ Increase::InboundRealTimePaymentsRequestForPayment::Currency::TaggedSymbol
403
+ ]
404
+ )
405
+ end
406
+ def self.values
407
+ end
408
+ end
409
+
410
+ # A constant representing the object's type. For this resource it will always be
411
+ # `inbound_real_time_payments_request_for_payment`.
412
+ module Type
413
+ extend Increase::Internal::Type::Enum
414
+
415
+ TaggedSymbol =
416
+ T.type_alias do
417
+ T.all(
418
+ Symbol,
419
+ Increase::InboundRealTimePaymentsRequestForPayment::Type
420
+ )
421
+ end
422
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
423
+
424
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT =
425
+ T.let(
426
+ :inbound_real_time_payments_request_for_payment,
427
+ Increase::InboundRealTimePaymentsRequestForPayment::Type::TaggedSymbol
428
+ )
429
+
430
+ sig do
431
+ override.returns(
432
+ T::Array[
433
+ Increase::InboundRealTimePaymentsRequestForPayment::Type::TaggedSymbol
434
+ ]
435
+ )
436
+ end
437
+ def self.values
438
+ end
439
+ end
440
+ end
441
+ end
442
+ end
@@ -0,0 +1,188 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundRealTimePaymentsRequestsForPaymentListParams < 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::InboundRealTimePaymentsRequestsForPaymentListParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
18
+ # specified Account.
19
+ sig { returns(T.nilable(String)) }
20
+ attr_reader :account_id
21
+
22
+ sig { params(account_id: String).void }
23
+ attr_writer :account_id
24
+
25
+ # Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
26
+ # specified Account Number.
27
+ sig { returns(T.nilable(String)) }
28
+ attr_reader :account_number_id
29
+
30
+ sig { params(account_number_id: String).void }
31
+ attr_writer :account_number_id
32
+
33
+ sig do
34
+ returns(
35
+ T.nilable(
36
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt
37
+ )
38
+ )
39
+ end
40
+ attr_reader :created_at
41
+
42
+ sig do
43
+ params(
44
+ created_at:
45
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash
46
+ ).void
47
+ end
48
+ attr_writer :created_at
49
+
50
+ # Return the page of entries after this one.
51
+ sig { returns(T.nilable(String)) }
52
+ attr_reader :cursor
53
+
54
+ sig { params(cursor: String).void }
55
+ attr_writer :cursor
56
+
57
+ # Limit the size of the list that is returned. The default (and maximum) is 100
58
+ # objects.
59
+ #
60
+ # Defaults to `100`.
61
+ sig { returns(T.nilable(Integer)) }
62
+ attr_reader :limit
63
+
64
+ sig { params(limit: Integer).void }
65
+ attr_writer :limit
66
+
67
+ sig do
68
+ params(
69
+ account_id: String,
70
+ account_number_id: String,
71
+ created_at:
72
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash,
73
+ cursor: String,
74
+ limit: Integer,
75
+ request_options: Increase::RequestOptions::OrHash
76
+ ).returns(T.attached_class)
77
+ end
78
+ def self.new(
79
+ # Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
80
+ # specified Account.
81
+ account_id: nil,
82
+ # Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
83
+ # specified Account Number.
84
+ account_number_id: nil,
85
+ created_at: nil,
86
+ # Return the page of entries after this one.
87
+ cursor: nil,
88
+ # Limit the size of the list that is returned. The default (and maximum) is 100
89
+ # objects.
90
+ #
91
+ # Defaults to `100`.
92
+ limit: nil,
93
+ request_options: {}
94
+ )
95
+ end
96
+
97
+ sig do
98
+ override.returns(
99
+ {
100
+ account_id: String,
101
+ account_number_id: String,
102
+ created_at:
103
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
104
+ cursor: String,
105
+ limit: Integer,
106
+ request_options: Increase::RequestOptions
107
+ }
108
+ )
109
+ end
110
+ def to_hash
111
+ end
112
+
113
+ class CreatedAt < Increase::Internal::Type::BaseModel
114
+ OrHash =
115
+ T.type_alias do
116
+ T.any(
117
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
118
+ Increase::Internal::AnyHash
119
+ )
120
+ end
121
+
122
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
123
+ # timestamp.
124
+ sig { returns(T.nilable(Time)) }
125
+ attr_reader :after
126
+
127
+ sig { params(after: Time).void }
128
+ attr_writer :after
129
+
130
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
131
+ # timestamp.
132
+ sig { returns(T.nilable(Time)) }
133
+ attr_reader :before
134
+
135
+ sig { params(before: Time).void }
136
+ attr_writer :before
137
+
138
+ # Return results on or after this
139
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
140
+ sig { returns(T.nilable(Time)) }
141
+ attr_reader :on_or_after
142
+
143
+ sig { params(on_or_after: Time).void }
144
+ attr_writer :on_or_after
145
+
146
+ # Return results on or before this
147
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
148
+ sig { returns(T.nilable(Time)) }
149
+ attr_reader :on_or_before
150
+
151
+ sig { params(on_or_before: Time).void }
152
+ attr_writer :on_or_before
153
+
154
+ sig do
155
+ params(
156
+ after: Time,
157
+ before: Time,
158
+ on_or_after: Time,
159
+ on_or_before: Time
160
+ ).returns(T.attached_class)
161
+ end
162
+ def self.new(
163
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
164
+ # timestamp.
165
+ after: nil,
166
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
167
+ # timestamp.
168
+ before: nil,
169
+ # Return results on or after this
170
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
171
+ on_or_after: nil,
172
+ # Return results on or before this
173
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
174
+ on_or_before: nil
175
+ )
176
+ end
177
+
178
+ sig do
179
+ override.returns(
180
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
181
+ )
182
+ end
183
+ def to_hash
184
+ end
185
+ end
186
+ end
187
+ end
188
+ end
@@ -0,0 +1,48 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundRealTimePaymentsRequestsForPaymentRetrieveParams < 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::InboundRealTimePaymentsRequestsForPaymentRetrieveParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Inbound Real-Time Payments Request for Payment to get
18
+ # details for.
19
+ sig { returns(String) }
20
+ attr_accessor :inbound_real_time_payments_request_for_payment_id
21
+
22
+ sig do
23
+ params(
24
+ inbound_real_time_payments_request_for_payment_id: String,
25
+ request_options: Increase::RequestOptions::OrHash
26
+ ).returns(T.attached_class)
27
+ end
28
+ def self.new(
29
+ # The identifier of the Inbound Real-Time Payments Request for Payment to get
30
+ # details for.
31
+ inbound_real_time_payments_request_for_payment_id:,
32
+ request_options: {}
33
+ )
34
+ end
35
+
36
+ sig do
37
+ override.returns(
38
+ {
39
+ inbound_real_time_payments_request_for_payment_id: String,
40
+ request_options: Increase::RequestOptions
41
+ }
42
+ )
43
+ end
44
+ def to_hash
45
+ end
46
+ end
47
+ end
48
+ end