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.
Files changed (152) 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/ach_transfer.rb +3 -3
  5. data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
  7. data/lib/increase/models/card_create_details_token_params.rb +22 -0
  8. data/lib/increase/models/card_details_token.rb +57 -0
  9. data/lib/increase/models/card_payment.rb +29 -1
  10. data/lib/increase/models/declined_transaction.rb +3 -0
  11. data/lib/increase/models/digital_wallet_token.rb +18 -0
  12. data/lib/increase/models/digital_wallet_token_request.rb +307 -0
  13. data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
  14. data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
  15. data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
  16. data/lib/increase/models/entity.rb +35 -7
  17. data/lib/increase/models/entity_beneficial_owner.rb +1 -1
  18. data/lib/increase/models/entity_create_params.rb +1 -1
  19. data/lib/increase/models/export.rb +19 -19
  20. data/lib/increase/models/export_create_params.rb +15 -15
  21. data/lib/increase/models/export_list_params.rb +19 -19
  22. data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
  23. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
  24. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
  25. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  26. data/lib/increase/models/physical_check_batch.rb +266 -0
  27. data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
  28. data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
  29. data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
  30. data/lib/increase/models/real_time_decision.rb +9 -0
  31. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  32. data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
  33. data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
  34. data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
  35. data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
  36. data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
  37. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  39. data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
  40. data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
  41. data/lib/increase/models/transaction.rb +36 -2
  42. data/lib/increase/models.rb +42 -0
  43. data/lib/increase/resources/cards.rb +23 -0
  44. data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
  45. data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
  46. data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
  47. data/lib/increase/resources/physical_check_batches.rb +86 -0
  48. data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
  49. data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
  50. data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
  51. data/lib/increase/resources/simulations.rb +4 -0
  52. data/lib/increase/version.rb +1 -1
  53. data/lib/increase.rb +25 -0
  54. data/rbi/increase/client.rbi +14 -0
  55. data/rbi/increase/models/ach_transfer.rbi +3 -3
  56. data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
  57. data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
  58. data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
  59. data/rbi/increase/models/card_details_token.rbi +85 -0
  60. data/rbi/increase/models/card_payment.rbi +59 -0
  61. data/rbi/increase/models/declined_transaction.rbi +7 -0
  62. data/rbi/increase/models/digital_wallet_token.rbi +42 -0
  63. data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
  64. data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
  65. data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
  66. data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
  67. data/rbi/increase/models/entity.rbi +71 -6
  68. data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
  69. data/rbi/increase/models/entity_create_params.rbi +1 -1
  70. data/rbi/increase/models/export.rbi +32 -32
  71. data/rbi/increase/models/export_create_params.rbi +29 -29
  72. data/rbi/increase/models/export_list_params.rbi +37 -37
  73. data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
  74. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
  75. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
  76. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  77. data/rbi/increase/models/physical_check_batch.rbi +382 -0
  78. data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
  79. data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
  80. data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
  81. data/rbi/increase/models/real_time_decision.rbi +21 -0
  82. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  83. data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
  84. data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
  85. data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
  86. data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
  87. data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
  88. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  89. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  90. data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
  91. data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
  92. data/rbi/increase/models/transaction.rbi +60 -0
  93. data/rbi/increase/models.rbi +50 -0
  94. data/rbi/increase/resources/cards.rbi +17 -0
  95. data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
  96. data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
  97. data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
  98. data/rbi/increase/resources/physical_check_batches.rbi +66 -0
  99. data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
  100. data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
  101. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
  102. data/rbi/increase/resources/simulations.rbi +3 -0
  103. data/sig/increase/client.rbs +8 -0
  104. data/sig/increase/models/ach_transfer.rbs +4 -4
  105. data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
  106. data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
  107. data/sig/increase/models/card_create_details_token_params.rbs +23 -0
  108. data/sig/increase/models/card_details_token.rbs +40 -0
  109. data/sig/increase/models/card_payment.rbs +23 -0
  110. data/sig/increase/models/declined_transaction.rbs +4 -0
  111. data/sig/increase/models/digital_wallet_token.rbs +36 -3
  112. data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
  113. data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
  114. data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
  115. data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
  116. data/sig/increase/models/entity.rbs +25 -6
  117. data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
  118. data/sig/increase/models/entity_create_params.rbs +1 -1
  119. data/sig/increase/models/export.rbs +28 -28
  120. data/sig/increase/models/export_create_params.rbs +22 -22
  121. data/sig/increase/models/export_list_params.rbs +28 -28
  122. data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
  123. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
  124. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  125. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  126. data/sig/increase/models/physical_check_batch.rbs +193 -0
  127. data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
  128. data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
  129. data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
  130. data/sig/increase/models/real_time_decision.rbs +14 -2
  131. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  132. data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
  133. data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
  134. data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
  135. data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
  136. data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  137. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  138. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  139. data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
  140. data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
  141. data/sig/increase/models/transaction.rbs +24 -0
  142. data/sig/increase/models.rbs +36 -0
  143. data/sig/increase/resources/cards.rbs +5 -0
  144. data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
  145. data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
  146. data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
  147. data/sig/increase/resources/physical_check_batches.rbs +24 -0
  148. data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
  149. data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
  150. data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
  151. data/sig/increase/resources/simulations.rbs +2 -0
  152. metadata +77 -2
@@ -0,0 +1,318 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::InboundRealTimePaymentsRequestsForPayment#retrieve
6
+ class InboundRealTimePaymentsRequestForPayment < Increase::Internal::Type::BaseModel
7
+ # @!attribute id
8
+ # The inbound Real-Time Payments request for payment's identifier.
9
+ #
10
+ # @return [String]
11
+ required :id, String
12
+
13
+ # @!attribute account_id
14
+ # The Account the request for payment is for.
15
+ #
16
+ # @return [String]
17
+ required :account_id, String
18
+
19
+ # @!attribute account_number_id
20
+ # The identifier of the Account Number the request for payment is for.
21
+ #
22
+ # @return [String]
23
+ required :account_number_id, String
24
+
25
+ # @!attribute amount
26
+ # The requested amount in USD cents.
27
+ #
28
+ # @return [Integer]
29
+ required :amount, Integer
30
+
31
+ # @!attribute created_at
32
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
33
+ # the request for payment was created.
34
+ #
35
+ # @return [Time]
36
+ required :created_at, Time
37
+
38
+ # @!attribute creditor
39
+ # Details of the party requesting payment.
40
+ #
41
+ # @return [Increase::Models::InboundRealTimePaymentsRequestForPayment::Creditor]
42
+ required :creditor, -> { Increase::InboundRealTimePaymentsRequestForPayment::Creditor }
43
+
44
+ # @!attribute creditor_account_number
45
+ # The creditor's account number.
46
+ #
47
+ # @return [String]
48
+ required :creditor_account_number, String
49
+
50
+ # @!attribute creditor_routing_number
51
+ # The creditor's American Bankers' Association (ABA) Routing Transit Number (RTN).
52
+ #
53
+ # @return [String]
54
+ required :creditor_routing_number, String
55
+
56
+ # @!attribute currency
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
+ #
61
+ # @return [Symbol, Increase::Models::InboundRealTimePaymentsRequestForPayment::Currency]
62
+ required :currency, enum: -> { Increase::InboundRealTimePaymentsRequestForPayment::Currency }
63
+
64
+ # @!attribute debtor_name
65
+ # The name of the account holder the payment is requested from, as provided by the
66
+ # creditor.
67
+ #
68
+ # @return [String]
69
+ required :debtor_name, String
70
+
71
+ # @!attribute end_to_end_identification
72
+ # A free-form reference string set by the creditor, to help identify the request
73
+ # for payment.
74
+ #
75
+ # @return [String]
76
+ required :end_to_end_identification, String
77
+
78
+ # @!attribute expires_at
79
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time after which
80
+ # the request for payment is no longer valid and should no longer be paid.
81
+ #
82
+ # @return [Time]
83
+ required :expires_at, Time
84
+
85
+ # @!attribute fulfillment_real_time_payments_transfer_id
86
+ # The identifier of the Real-Time Payments Transfer that fulfilled this request
87
+ # for payment. This is set once a transfer sent in response to the request for
88
+ # payment has been acknowledged by the Real-Time Payments network.
89
+ #
90
+ # @return [String, nil]
91
+ required :fulfillment_real_time_payments_transfer_id, String, nil?: true
92
+
93
+ # @!attribute invoicer_identification
94
+ # An identifier for the party that issued the invoice, for requests for payment
95
+ # sent on behalf of another party.
96
+ #
97
+ # @return [String, nil]
98
+ required :invoicer_identification, String, nil?: true
99
+
100
+ # @!attribute payment_information_identification
101
+ # The Real-Time Payments network identification of the request for payment.
102
+ #
103
+ # @return [String]
104
+ required :payment_information_identification, String
105
+
106
+ # @!attribute requested_execution_at
107
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time by which
108
+ # the creditor requests the payment to be made.
109
+ #
110
+ # @return [Time, nil]
111
+ required :requested_execution_at, Time, nil?: true
112
+
113
+ # @!attribute type
114
+ # A constant representing the object's type. For this resource it will always be
115
+ # `inbound_real_time_payments_request_for_payment`.
116
+ #
117
+ # @return [Symbol, Increase::Models::InboundRealTimePaymentsRequestForPayment::Type]
118
+ required :type, enum: -> { Increase::InboundRealTimePaymentsRequestForPayment::Type }
119
+
120
+ # @!attribute unstructured_remittance_information
121
+ # Unstructured information included with the request for payment.
122
+ #
123
+ # @return [String, nil]
124
+ required :unstructured_remittance_information, String, nil?: true
125
+
126
+ # @!method initialize(id:, account_id:, account_number_id:, amount:, created_at:, creditor:, creditor_account_number:, creditor_routing_number:, currency:, debtor_name:, end_to_end_identification:, expires_at:, fulfillment_real_time_payments_transfer_id:, invoicer_identification:, payment_information_identification:, requested_execution_at:, type:, unstructured_remittance_information:)
127
+ # An Inbound Real-Time Payments Request for Payment is a request initiated outside
128
+ # of Increase for one of your accounts to send a Real-Time Payments transfer.
129
+ #
130
+ # @param id [String] The inbound Real-Time Payments request for payment's identifier.
131
+ #
132
+ # @param account_id [String] The Account the request for payment is for.
133
+ #
134
+ # @param account_number_id [String] The identifier of the Account Number the request for payment is for.
135
+ #
136
+ # @param amount [Integer] The requested amount in USD cents.
137
+ #
138
+ # @param created_at [Time]
139
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
140
+ # the request for payment was created.
141
+ #
142
+ # @param creditor [Increase::Models::InboundRealTimePaymentsRequestForPayment::Creditor]
143
+ # Details of the party requesting payment.
144
+ #
145
+ # @param creditor_account_number [String] The creditor's account number.
146
+ #
147
+ # @param creditor_routing_number [String]
148
+ # The creditor's American Bankers' Association (ABA) Routing Transit Number (RTN).
149
+ #
150
+ # @param currency [Symbol, Increase::Models::InboundRealTimePaymentsRequestForPayment::Currency]
151
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the requested
152
+ # currency. This will always be "USD" for a Real-Time Payments request for
153
+ # payment.
154
+ #
155
+ # @param debtor_name [String]
156
+ # The name of the account holder the payment is requested from, as provided by the
157
+ # creditor.
158
+ #
159
+ # @param end_to_end_identification [String]
160
+ # A free-form reference string set by the creditor, to help identify the request
161
+ # for payment.
162
+ #
163
+ # @param expires_at [Time]
164
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time after which
165
+ # the request for payment is no longer valid and should no longer be paid.
166
+ #
167
+ # @param fulfillment_real_time_payments_transfer_id [String, nil]
168
+ # The identifier of the Real-Time Payments Transfer that fulfilled this request
169
+ # for payment. This is set once a transfer sent in response to the request for
170
+ # payment has been acknowledged by the Real-Time Payments network.
171
+ #
172
+ # @param invoicer_identification [String, nil]
173
+ # An identifier for the party that issued the invoice, for requests for payment
174
+ # sent on behalf of another party.
175
+ #
176
+ # @param payment_information_identification [String]
177
+ # The Real-Time Payments network identification of the request for payment.
178
+ #
179
+ # @param requested_execution_at [Time, nil]
180
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time by which
181
+ # the creditor requests the payment to be made.
182
+ #
183
+ # @param type [Symbol, Increase::Models::InboundRealTimePaymentsRequestForPayment::Type]
184
+ # A constant representing the object's type. For this resource it will always be
185
+ # `inbound_real_time_payments_request_for_payment`.
186
+ #
187
+ # @param unstructured_remittance_information [String, nil]
188
+ # Unstructured information included with the request for payment.
189
+
190
+ # @see Increase::Models::InboundRealTimePaymentsRequestForPayment#creditor
191
+ class Creditor < Increase::Internal::Type::BaseModel
192
+ # @!attribute account_name
193
+ # The name of the account that would receive the payment, as provided by the
194
+ # creditor.
195
+ #
196
+ # @return [String, nil]
197
+ required :account_name, String, nil?: true
198
+
199
+ # @!attribute address
200
+ # Address of the creditor.
201
+ #
202
+ # @return [Increase::Models::InboundRealTimePaymentsRequestForPayment::Creditor::Address]
203
+ required :address, -> { Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address }
204
+
205
+ # @!attribute name
206
+ # The name of the creditor.
207
+ #
208
+ # @return [String]
209
+ required :name, String
210
+
211
+ # @!method initialize(account_name:, address:, name:)
212
+ # Details of the party requesting payment.
213
+ #
214
+ # @param account_name [String, nil]
215
+ # The name of the account that would receive the payment, as provided by the
216
+ # creditor.
217
+ #
218
+ # @param address [Increase::Models::InboundRealTimePaymentsRequestForPayment::Creditor::Address]
219
+ # Address of the creditor.
220
+ #
221
+ # @param name [String] The name of the creditor.
222
+
223
+ # @see Increase::Models::InboundRealTimePaymentsRequestForPayment::Creditor#address
224
+ class Address < Increase::Internal::Type::BaseModel
225
+ # @!attribute address_line2
226
+ # A second address line, such as an apartment or suite number. The first address
227
+ # line is separated into `building_number` and `street_name`.
228
+ #
229
+ # @return [String, nil]
230
+ required :address_line2, String, nil?: true
231
+
232
+ # @!attribute building_number
233
+ # The number identifying the position of the building on the street.
234
+ #
235
+ # @return [String, nil]
236
+ required :building_number, String, nil?: true
237
+
238
+ # @!attribute city
239
+ # The town or city.
240
+ #
241
+ # @return [String, nil]
242
+ required :city, String, nil?: true
243
+
244
+ # @!attribute country
245
+ # The ISO 3166, Alpha-2 country code.
246
+ #
247
+ # @return [String, nil]
248
+ required :country, String, nil?: true
249
+
250
+ # @!attribute postal_code
251
+ # The postal code or zip.
252
+ #
253
+ # @return [String, nil]
254
+ required :postal_code, String, nil?: true
255
+
256
+ # @!attribute state
257
+ # The US state component of the address.
258
+ #
259
+ # @return [String, nil]
260
+ required :state, String, nil?: true
261
+
262
+ # @!attribute street_name
263
+ # The street name without the street number.
264
+ #
265
+ # @return [String, nil]
266
+ required :street_name, String, nil?: true
267
+
268
+ # @!method initialize(address_line2:, building_number:, city:, country:, postal_code:, state:, street_name:)
269
+ # Address of the creditor.
270
+ #
271
+ # @param address_line2 [String, nil]
272
+ # A second address line, such as an apartment or suite number. The first address
273
+ # line is separated into `building_number` and `street_name`.
274
+ #
275
+ # @param building_number [String, nil] The number identifying the position of the building on the street.
276
+ #
277
+ # @param city [String, nil] The town or city.
278
+ #
279
+ # @param country [String, nil] The ISO 3166, Alpha-2 country code.
280
+ #
281
+ # @param postal_code [String, nil] The postal code or zip.
282
+ #
283
+ # @param state [String, nil] The US state component of the address.
284
+ #
285
+ # @param street_name [String, nil] The street name without the street number.
286
+ end
287
+ end
288
+
289
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the requested
290
+ # currency. This will always be "USD" for a Real-Time Payments request for
291
+ # payment.
292
+ #
293
+ # @see Increase::Models::InboundRealTimePaymentsRequestForPayment#currency
294
+ module Currency
295
+ extend Increase::Internal::Type::Enum
296
+
297
+ # US Dollar (USD)
298
+ USD = :USD
299
+
300
+ # @!method self.values
301
+ # @return [Array<Symbol>]
302
+ end
303
+
304
+ # A constant representing the object's type. For this resource it will always be
305
+ # `inbound_real_time_payments_request_for_payment`.
306
+ #
307
+ # @see Increase::Models::InboundRealTimePaymentsRequestForPayment#type
308
+ module Type
309
+ extend Increase::Internal::Type::Enum
310
+
311
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT = :inbound_real_time_payments_request_for_payment
312
+
313
+ # @!method self.values
314
+ # @return [Array<Symbol>]
315
+ end
316
+ end
317
+ end
318
+ end
@@ -0,0 +1,113 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::InboundRealTimePaymentsRequestsForPayment#list
6
+ class InboundRealTimePaymentsRequestsForPaymentListParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute account_id
11
+ # Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
12
+ # specified Account.
13
+ #
14
+ # @return [String, nil]
15
+ optional :account_id, String
16
+
17
+ # @!attribute account_number_id
18
+ # Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
19
+ # specified Account Number.
20
+ #
21
+ # @return [String, nil]
22
+ optional :account_number_id, String
23
+
24
+ # @!attribute created_at
25
+ #
26
+ # @return [Increase::Models::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt, nil]
27
+ optional :created_at, -> { Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt }
28
+
29
+ # @!attribute cursor
30
+ # Return the page of entries after this one.
31
+ #
32
+ # @return [String, nil]
33
+ optional :cursor, String
34
+
35
+ # @!attribute limit
36
+ # Limit the size of the list that is returned. The default (and maximum) is 100
37
+ # objects.
38
+ #
39
+ # Defaults to `100`.
40
+ #
41
+ # @return [Integer, nil]
42
+ optional :limit, Integer
43
+
44
+ # @!method initialize(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {})
45
+ # @param account_id [String]
46
+ # Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
47
+ # specified Account.
48
+ #
49
+ # @param account_number_id [String]
50
+ # Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
51
+ # specified Account Number.
52
+ #
53
+ # @param created_at [Increase::Models::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt]
54
+ #
55
+ # @param cursor [String] Return the page of entries after this one.
56
+ #
57
+ # @param limit [Integer]
58
+ # Limit the size of the list that is returned. The default (and maximum) is 100
59
+ # objects.
60
+ #
61
+ # Defaults to `100`.
62
+ #
63
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
64
+
65
+ class CreatedAt < Increase::Internal::Type::BaseModel
66
+ # @!attribute after
67
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
68
+ # timestamp.
69
+ #
70
+ # @return [Time, nil]
71
+ optional :after, Time
72
+
73
+ # @!attribute before
74
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
75
+ # timestamp.
76
+ #
77
+ # @return [Time, nil]
78
+ optional :before, Time
79
+
80
+ # @!attribute on_or_after
81
+ # Return results on or after this
82
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
83
+ #
84
+ # @return [Time, nil]
85
+ optional :on_or_after, Time
86
+
87
+ # @!attribute on_or_before
88
+ # Return results on or before this
89
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
90
+ #
91
+ # @return [Time, nil]
92
+ optional :on_or_before, Time
93
+
94
+ # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
95
+ # @param after [Time]
96
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
97
+ # timestamp.
98
+ #
99
+ # @param before [Time]
100
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
101
+ # timestamp.
102
+ #
103
+ # @param on_or_after [Time]
104
+ # Return results on or after this
105
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
106
+ #
107
+ # @param on_or_before [Time]
108
+ # Return results on or before this
109
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
110
+ end
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::InboundRealTimePaymentsRequestsForPayment#retrieve
6
+ class InboundRealTimePaymentsRequestsForPaymentRetrieveParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute inbound_real_time_payments_request_for_payment_id
11
+ # The identifier of the Inbound Real-Time Payments Request for Payment to get
12
+ # details for.
13
+ #
14
+ # @return [String]
15
+ required :inbound_real_time_payments_request_for_payment_id, String
16
+
17
+ # @!method initialize(inbound_real_time_payments_request_for_payment_id:, request_options: {})
18
+ # @param inbound_real_time_payments_request_for_payment_id [String]
19
+ # The identifier of the Inbound Real-Time Payments Request for Payment to get
20
+ # details for.
21
+ #
22
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
23
+ end
24
+ end
25
+ end
@@ -128,6 +128,12 @@ module Increase
128
128
  # @return [String, nil]
129
129
  required :instructing_agent_routing_number, String, nil?: true
130
130
 
131
+ # @!attribute instruction_for_creditor_agent
132
+ # A free-form instruction for the receiving bank set by the sender.
133
+ #
134
+ # @return [String, nil]
135
+ required :instruction_for_creditor_agent, String, nil?: true
136
+
131
137
  # @!attribute instruction_identification
132
138
  # The sending bank's identifier for the wire transfer.
133
139
  #
@@ -179,7 +185,7 @@ module Increase
179
185
  # @return [String, nil]
180
186
  required :wire_drawdown_request_id, String, nil?: true
181
187
 
182
- # @!method initialize(id:, acceptance:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_account_number:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, debtor_routing_number:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, purpose:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
188
+ # @!method initialize(id:, acceptance:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_account_number:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, debtor_routing_number:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_for_creditor_agent:, instruction_identification:, purpose:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
183
189
  # An Inbound Wire Transfer is a wire transfer initiated outside of Increase to
184
190
  # your account.
185
191
  #
@@ -233,6 +239,9 @@ module Increase
233
239
  # The American Bankers' Association (ABA) routing number of the bank that sent the
234
240
  # wire.
235
241
  #
242
+ # @param instruction_for_creditor_agent [String, nil]
243
+ # A free-form instruction for the receiving bank set by the sender.
244
+ #
236
245
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
237
246
  #
238
247
  # @param purpose [String, nil] The reason for the wire transfer, as set by the sender.