increase 1.9.0 → 1.11.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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_payment.rb +3 -0
  5. data/lib/increase/models/declined_transaction.rb +3 -0
  6. data/lib/increase/models/inbound_wire_transfer_list_params.rb +10 -1
  7. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
  8. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
  9. data/lib/increase/models/simulations/wire_drawdown_request_refuse_params.rb +16 -0
  10. data/lib/increase/models/wire_drawdown_request.rb +174 -88
  11. data/lib/increase/models/wire_drawdown_request_create_params.rb +156 -81
  12. data/lib/increase/resources/inbound_wire_transfers.rb +3 -1
  13. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
  14. data/lib/increase/resources/simulations/wire_drawdown_requests.rb +36 -0
  15. data/lib/increase/resources/simulations.rb +4 -0
  16. data/lib/increase/resources/wire_drawdown_requests.rb +10 -21
  17. data/lib/increase/version.rb +1 -1
  18. data/lib/increase.rb +2 -0
  19. data/rbi/increase/models/card_payment.rbi +7 -0
  20. data/rbi/increase/models/declined_transaction.rbi +7 -0
  21. data/rbi/increase/models/inbound_wire_transfer_list_params.rbi +13 -0
  22. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
  23. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
  24. data/rbi/increase/models/simulations/wire_drawdown_request_refuse_params.rbi +32 -0
  25. data/rbi/increase/models/wire_drawdown_request.rbi +239 -95
  26. data/rbi/increase/models/wire_drawdown_request_create_params.rbi +249 -118
  27. data/rbi/increase/resources/inbound_wire_transfers.rbi +4 -0
  28. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
  29. data/rbi/increase/resources/simulations/wire_drawdown_requests.rbi +28 -0
  30. data/rbi/increase/resources/simulations.rbi +3 -0
  31. data/rbi/increase/resources/wire_drawdown_requests.rbi +25 -43
  32. data/sig/increase/models/card_payment.rbs +4 -0
  33. data/sig/increase/models/declined_transaction.rbs +4 -0
  34. data/sig/increase/models/inbound_wire_transfer_list_params.rbs +8 -1
  35. data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
  36. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +8 -1
  37. data/sig/increase/models/simulations/wire_drawdown_request_refuse_params.rbs +17 -0
  38. data/sig/increase/models/wire_drawdown_request.rbs +119 -55
  39. data/sig/increase/models/wire_drawdown_request_create_params.rbs +123 -61
  40. data/sig/increase/resources/inbound_wire_transfers.rbs +1 -0
  41. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
  42. data/sig/increase/resources/simulations/wire_drawdown_requests.rbs +14 -0
  43. data/sig/increase/resources/simulations.rbs +2 -0
  44. data/sig/increase/resources/wire_drawdown_requests.rbs +7 -11
  45. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eaaaaa94d14a56dfafb869c529f987f43cedcacb05b0dfefb3ab559a14e35b0d
4
- data.tar.gz: e95c5ba892021f53b70cc1526853e3ac87c73b6108e79669b5080c7be725f51b
3
+ metadata.gz: 2efe5921f5ac8c700e2add270d800dd51f31ce5d2784389ea423ce30e43c4d76
4
+ data.tar.gz: 00ee09350bbcc16015dddeeee4bb95efeafaf773d43a908561077f7d9a084da6
5
5
  SHA512:
6
- metadata.gz: '0509a5a3c271d2c424a150e3e60af0d47b45b885377058c8b2aef70ea59dd0080874b4b4450eec079ce5c329751970e14ebbbdd5762ab8a1a5ffe1dba6b8cbd4'
7
- data.tar.gz: e08e6d08648bbe2c473a140c40b5fe59a6a1ef5a935f129db54192017917bf0f67981e3b7f821fe0e69ca60c34740ab3c3f889fc3d526a23dd53786d255981e5
6
+ metadata.gz: 8503b742f6c85f57a57104060206bb92197e95c6559dcbd709e76b5f794e3a068e7b33f0dd1b2991267b5f38c1b59260fdee0e8587af90d8c935902ce08a2cd2
7
+ data.tar.gz: '0819a7e8ce851ed7824e3c1d009b8e8fea5386cbc277175e10b77b6781f58df34f74606dde47ac365013805acff5d6b86cad3651189bd787d90f8aca6d583ed6'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.11.0 (2025-07-09)
4
+
5
+ Full Changelog: [v1.10.0...v1.11.0](https://github.com/Increase/increase-ruby/compare/v1.10.0...v1.11.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([2e487ee](https://github.com/Increase/increase-ruby/commit/2e487ee62d833362c3d080953d68c164d08c6bf9))
10
+
11
+ ## 1.10.0 (2025-07-08)
12
+
13
+ Full Changelog: [v1.9.0...v1.10.0](https://github.com/Increase/increase-ruby/compare/v1.9.0...v1.10.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([2e57642](https://github.com/Increase/increase-ruby/commit/2e576426eaf44efb61af1d5012820b83ed36d059))
18
+ * **api:** api update ([c873f32](https://github.com/Increase/increase-ruby/commit/c873f32a202b3db985d36d07a933467c7c45f472))
19
+
3
20
  ## 1.9.0 (2025-07-04)
4
21
 
5
22
  Full Changelog: [v1.8.0...v1.9.0](https://github.com/Increase/increase-ruby/compare/v1.8.0...v1.9.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.9.0"
18
+ gem "increase", "~> 1.11.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -2186,6 +2186,9 @@ module Increase
2186
2186
  # The transaction was declined because the 3DS authentication failed.
2187
2187
  FAILED_3DS_AUTHENTICATION = :failed_3ds_authentication
2188
2188
 
2189
+ # The transaction was suspected to be used by a card tester to test for valid card numbers.
2190
+ SUSPECTED_CARD_TESTING = :suspected_card_testing
2191
+
2189
2192
  # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
2190
2193
  SUSPECTED_FRAUD = :suspected_fraud
2191
2194
 
@@ -1098,6 +1098,9 @@ module Increase
1098
1098
  # The transaction was declined because the 3DS authentication failed.
1099
1099
  FAILED_3DS_AUTHENTICATION = :failed_3ds_authentication
1100
1100
 
1101
+ # The transaction was suspected to be used by a card tester to test for valid card numbers.
1102
+ SUSPECTED_CARD_TESTING = :suspected_card_testing
1103
+
1101
1104
  # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
1102
1105
  SUSPECTED_FRAUD = :suspected_fraud
1103
1106
 
@@ -42,7 +42,14 @@ module Increase
42
42
  # @return [Increase::Models::InboundWireTransferListParams::Status, nil]
43
43
  optional :status, -> { Increase::InboundWireTransferListParams::Status }
44
44
 
45
- # @!method initialize(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {})
45
+ # @!attribute wire_drawdown_request_id
46
+ # Filter Inbound Wire Transfers to ones belonging to the specified Wire Drawdown
47
+ # Request.
48
+ #
49
+ # @return [String, nil]
50
+ optional :wire_drawdown_request_id, String
51
+
52
+ # @!method initialize(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, status: nil, wire_drawdown_request_id: nil, request_options: {})
46
53
  # Some parameter documentations has been truncated, see
47
54
  # {Increase::Models::InboundWireTransferListParams} for more details.
48
55
  #
@@ -58,6 +65,8 @@ module Increase
58
65
  #
59
66
  # @param status [Increase::Models::InboundWireTransferListParams::Status]
60
67
  #
68
+ # @param wire_drawdown_request_id [String] Filter Inbound Wire Transfers to ones belonging to the specified Wire Drawdown R
69
+ #
61
70
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
62
71
 
63
72
  class CreatedAt < Increase::Internal::Type::BaseModel
@@ -222,6 +222,9 @@ module Increase
222
222
  # The transaction was declined because the 3DS authentication failed.
223
223
  FAILED_3DS_AUTHENTICATION = :failed_3ds_authentication
224
224
 
225
+ # The transaction was suspected to be used by a card tester to test for valid card numbers.
226
+ SUSPECTED_CARD_TESTING = :suspected_card_testing
227
+
225
228
  # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
226
229
  SUSPECTED_FRAUD = :suspected_fraud
227
230
 
@@ -125,7 +125,14 @@ module Increase
125
125
  # @return [String, nil]
126
126
  optional :sender_reference, String
127
127
 
128
- # @!method initialize(account_number_id:, amount:, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, beneficiary_name: nil, beneficiary_reference: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, originator_routing_number: nil, originator_to_beneficiary_information_line1: nil, originator_to_beneficiary_information_line2: nil, originator_to_beneficiary_information_line3: nil, originator_to_beneficiary_information_line4: nil, sender_reference: nil, request_options: {})
128
+ # @!attribute wire_drawdown_request_id
129
+ # The identifier of a Wire Drawdown Request the inbound Wire Transfer is
130
+ # fulfilling.
131
+ #
132
+ # @return [String, nil]
133
+ optional :wire_drawdown_request_id, String
134
+
135
+ # @!method initialize(account_number_id:, amount:, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, beneficiary_name: nil, beneficiary_reference: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, originator_routing_number: nil, originator_to_beneficiary_information_line1: nil, originator_to_beneficiary_information_line2: nil, originator_to_beneficiary_information_line3: nil, originator_to_beneficiary_information_line4: nil, sender_reference: nil, wire_drawdown_request_id: nil, request_options: {})
129
136
  # Some parameter documentations has been truncated, see
130
137
  # {Increase::Models::Simulations::InboundWireTransferCreateParams} for more
131
138
  # details.
@@ -164,6 +171,8 @@ module Increase
164
171
  #
165
172
  # @param sender_reference [String] The sending bank will set sender_reference in production. You can simulate any v
166
173
  #
174
+ # @param wire_drawdown_request_id [String] The identifier of a Wire Drawdown Request the inbound Wire Transfer is fulfillin
175
+ #
167
176
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
168
177
  end
169
178
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ module Simulations
6
+ # @see Increase::Resources::Simulations::WireDrawdownRequests#refuse
7
+ class WireDrawdownRequestRefuseParams < Increase::Internal::Type::BaseModel
8
+ extend Increase::Internal::Type::RequestParameters::Converter
9
+ include Increase::Internal::Type::RequestParameters
10
+
11
+ # @!method initialize(request_options: {})
12
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
13
+ end
14
+ end
15
+ end
16
+ end
@@ -11,8 +11,8 @@ module Increase
11
11
  required :id, String
12
12
 
13
13
  # @!attribute account_number_id
14
- # The Account Number to which the recipient of this request is being requested to
15
- # send funds.
14
+ # The Account Number to which the debtor—the recipient of this requestis being
15
+ # requested to send funds.
16
16
  #
17
17
  # @return [String]
18
18
  required :account_number_id, String
@@ -30,6 +30,18 @@ module Increase
30
30
  # @return [Time]
31
31
  required :created_at, Time
32
32
 
33
+ # @!attribute creditor_address
34
+ # The creditor's address.
35
+ #
36
+ # @return [Increase::Models::WireDrawdownRequest::CreditorAddress]
37
+ required :creditor_address, -> { Increase::WireDrawdownRequest::CreditorAddress }
38
+
39
+ # @!attribute creditor_name
40
+ # The creditor's name.
41
+ #
42
+ # @return [String]
43
+ required :creditor_name, String
44
+
33
45
  # @!attribute currency
34
46
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
35
47
  # requested. Will always be "USD".
@@ -37,86 +49,44 @@ module Increase
37
49
  # @return [String]
38
50
  required :currency, String
39
51
 
40
- # @!attribute fulfillment_inbound_wire_transfer_id
41
- # If the recipient fulfills the drawdown request by sending funds, then this will
42
- # be the identifier of the corresponding Transaction.
43
- #
44
- # @return [String, nil]
45
- required :fulfillment_inbound_wire_transfer_id, String, nil?: true
46
-
47
- # @!attribute idempotency_key
48
- # The idempotency key you chose for this object. This value is unique across
49
- # Increase and is used to ensure that a request is only processed once. Learn more
50
- # about [idempotency](https://increase.com/documentation/idempotency-keys).
51
- #
52
- # @return [String, nil]
53
- required :idempotency_key, String, nil?: true
54
-
55
- # @!attribute message_to_recipient
56
- # The message the recipient will see as part of the drawdown request.
52
+ # @!attribute debtor_account_number
53
+ # The debtor's account number.
57
54
  #
58
55
  # @return [String]
59
- required :message_to_recipient, String
60
-
61
- # @!attribute originator_address_line1
62
- # The originator's address line 1.
63
- #
64
- # @return [String, nil]
65
- required :originator_address_line1, String, nil?: true
66
-
67
- # @!attribute originator_address_line2
68
- # The originator's address line 2.
69
- #
70
- # @return [String, nil]
71
- required :originator_address_line2, String, nil?: true
72
-
73
- # @!attribute originator_address_line3
74
- # The originator's address line 3.
75
- #
76
- # @return [String, nil]
77
- required :originator_address_line3, String, nil?: true
56
+ required :debtor_account_number, String
78
57
 
79
- # @!attribute originator_name
80
- # The originator's name.
58
+ # @!attribute debtor_address
59
+ # The debtor's address.
81
60
  #
82
- # @return [String, nil]
83
- required :originator_name, String, nil?: true
61
+ # @return [Increase::Models::WireDrawdownRequest::DebtorAddress]
62
+ required :debtor_address, -> { Increase::WireDrawdownRequest::DebtorAddress }
84
63
 
85
- # @!attribute recipient_account_number
86
- # The drawdown request's recipient's account number.
64
+ # @!attribute debtor_name
65
+ # The debtor's name.
87
66
  #
88
67
  # @return [String]
89
- required :recipient_account_number, String
68
+ required :debtor_name, String
90
69
 
91
- # @!attribute recipient_address_line1
92
- # Line 1 of the drawdown request's recipient's address.
70
+ # @!attribute debtor_routing_number
71
+ # The debtor's routing number.
93
72
  #
94
- # @return [String, nil]
95
- required :recipient_address_line1, String, nil?: true
96
-
97
- # @!attribute recipient_address_line2
98
- # Line 2 of the drawdown request's recipient's address.
99
- #
100
- # @return [String, nil]
101
- required :recipient_address_line2, String, nil?: true
73
+ # @return [String]
74
+ required :debtor_routing_number, String
102
75
 
103
- # @!attribute recipient_address_line3
104
- # Line 3 of the drawdown request's recipient's address.
76
+ # @!attribute fulfillment_inbound_wire_transfer_id
77
+ # If the recipient fulfills the drawdown request by sending funds, then this will
78
+ # be the identifier of the corresponding Transaction.
105
79
  #
106
80
  # @return [String, nil]
107
- required :recipient_address_line3, String, nil?: true
81
+ required :fulfillment_inbound_wire_transfer_id, String, nil?: true
108
82
 
109
- # @!attribute recipient_name
110
- # The drawdown request's recipient's name.
83
+ # @!attribute idempotency_key
84
+ # The idempotency key you chose for this object. This value is unique across
85
+ # Increase and is used to ensure that a request is only processed once. Learn more
86
+ # about [idempotency](https://increase.com/documentation/idempotency-keys).
111
87
  #
112
88
  # @return [String, nil]
113
- required :recipient_name, String, nil?: true
114
-
115
- # @!attribute recipient_routing_number
116
- # The drawdown request's recipient's routing number.
117
- #
118
- # @return [String]
119
- required :recipient_routing_number, String
89
+ required :idempotency_key, String, nil?: true
120
90
 
121
91
  # @!attribute status
122
92
  # The lifecycle status of the drawdown request.
@@ -138,7 +108,13 @@ module Increase
138
108
  # @return [Symbol, Increase::Models::WireDrawdownRequest::Type]
139
109
  required :type, enum: -> { Increase::WireDrawdownRequest::Type }
140
110
 
141
- # @!method initialize(id:, account_number_id:, amount:, created_at:, currency:, fulfillment_inbound_wire_transfer_id:, idempotency_key:, message_to_recipient:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, recipient_account_number:, recipient_address_line1:, recipient_address_line2:, recipient_address_line3:, recipient_name:, recipient_routing_number:, status:, submission:, type:)
111
+ # @!attribute unstructured_remittance_information
112
+ # Remittance information the debtor will see as part of the drawdown request.
113
+ #
114
+ # @return [String]
115
+ required :unstructured_remittance_information, String
116
+
117
+ # @!method initialize(id:, account_number_id:, amount:, created_at:, creditor_address:, creditor_name:, currency:, debtor_account_number:, debtor_address:, debtor_name:, debtor_routing_number:, fulfillment_inbound_wire_transfer_id:, idempotency_key:, status:, submission:, type:, unstructured_remittance_information:)
142
118
  # Some parameter documentations has been truncated, see
143
119
  # {Increase::Models::WireDrawdownRequest} for more details.
144
120
  #
@@ -151,45 +127,155 @@ module Increase
151
127
  #
152
128
  # @param id [String] The Wire drawdown request identifier.
153
129
  #
154
- # @param account_number_id [String] The Account Number to which the recipient of this request is being requested to
130
+ # @param account_number_id [String] The Account Number to which the debtor—the recipient of this requestis being re
155
131
  #
156
132
  # @param amount [Integer] The amount being requested in cents.
157
133
  #
158
134
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
159
135
  #
160
- # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
161
- #
162
- # @param fulfillment_inbound_wire_transfer_id [String, nil] If the recipient fulfills the drawdown request by sending funds, then this will
163
- #
164
- # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
165
- #
166
- # @param message_to_recipient [String] The message the recipient will see as part of the drawdown request.
136
+ # @param creditor_address [Increase::Models::WireDrawdownRequest::CreditorAddress] The creditor's address.
167
137
  #
168
- # @param originator_address_line1 [String, nil] The originator's address line 1.
138
+ # @param creditor_name [String] The creditor's name.
169
139
  #
170
- # @param originator_address_line2 [String, nil] The originator's address line 2.
171
- #
172
- # @param originator_address_line3 [String, nil] The originator's address line 3.
173
- #
174
- # @param originator_name [String, nil] The originator's name.
140
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
175
141
  #
176
- # @param recipient_account_number [String] The drawdown request's recipient's account number.
142
+ # @param debtor_account_number [String] The debtor's account number.
177
143
  #
178
- # @param recipient_address_line1 [String, nil] Line 1 of the drawdown request's recipient's address.
144
+ # @param debtor_address [Increase::Models::WireDrawdownRequest::DebtorAddress] The debtor's address.
179
145
  #
180
- # @param recipient_address_line2 [String, nil] Line 2 of the drawdown request's recipient's address.
146
+ # @param debtor_name [String] The debtor's name.
181
147
  #
182
- # @param recipient_address_line3 [String, nil] Line 3 of the drawdown request's recipient's address.
148
+ # @param debtor_routing_number [String] The debtor's routing number.
183
149
  #
184
- # @param recipient_name [String, nil] The drawdown request's recipient's name.
150
+ # @param fulfillment_inbound_wire_transfer_id [String, nil] If the recipient fulfills the drawdown request by sending funds, then this will
185
151
  #
186
- # @param recipient_routing_number [String] The drawdown request's recipient's routing number.
152
+ # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
187
153
  #
188
154
  # @param status [Symbol, Increase::Models::WireDrawdownRequest::Status] The lifecycle status of the drawdown request.
189
155
  #
190
156
  # @param submission [Increase::Models::WireDrawdownRequest::Submission, nil] After the drawdown request is submitted to Fedwire, this will contain supplement
191
157
  #
192
158
  # @param type [Symbol, Increase::Models::WireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be `
159
+ #
160
+ # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the drawdown request.
161
+
162
+ # @see Increase::Models::WireDrawdownRequest#creditor_address
163
+ class CreditorAddress < Increase::Internal::Type::BaseModel
164
+ # @!attribute city
165
+ # The city, district, town, or village of the address.
166
+ #
167
+ # @return [String]
168
+ required :city, String
169
+
170
+ # @!attribute country
171
+ # The two-letter
172
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
173
+ # the country of the address.
174
+ #
175
+ # @return [String]
176
+ required :country, String
177
+
178
+ # @!attribute line1
179
+ # The first line of the address.
180
+ #
181
+ # @return [String]
182
+ required :line1, String
183
+
184
+ # @!attribute line2
185
+ # The second line of the address.
186
+ #
187
+ # @return [String, nil]
188
+ required :line2, String, nil?: true
189
+
190
+ # @!attribute postal_code
191
+ # The ZIP code of the address.
192
+ #
193
+ # @return [String, nil]
194
+ required :postal_code, String, nil?: true
195
+
196
+ # @!attribute state
197
+ # The address state.
198
+ #
199
+ # @return [String, nil]
200
+ required :state, String, nil?: true
201
+
202
+ # @!method initialize(city:, country:, line1:, line2:, postal_code:, state:)
203
+ # Some parameter documentations has been truncated, see
204
+ # {Increase::Models::WireDrawdownRequest::CreditorAddress} for more details.
205
+ #
206
+ # The creditor's address.
207
+ #
208
+ # @param city [String] The city, district, town, or village of the address.
209
+ #
210
+ # @param country [String] The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alp
211
+ #
212
+ # @param line1 [String] The first line of the address.
213
+ #
214
+ # @param line2 [String, nil] The second line of the address.
215
+ #
216
+ # @param postal_code [String, nil] The ZIP code of the address.
217
+ #
218
+ # @param state [String, nil] The address state.
219
+ end
220
+
221
+ # @see Increase::Models::WireDrawdownRequest#debtor_address
222
+ class DebtorAddress < Increase::Internal::Type::BaseModel
223
+ # @!attribute city
224
+ # The city, district, town, or village of the address.
225
+ #
226
+ # @return [String]
227
+ required :city, String
228
+
229
+ # @!attribute country
230
+ # The two-letter
231
+ # [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
232
+ # the country of the address.
233
+ #
234
+ # @return [String]
235
+ required :country, String
236
+
237
+ # @!attribute line1
238
+ # The first line of the address.
239
+ #
240
+ # @return [String]
241
+ required :line1, String
242
+
243
+ # @!attribute line2
244
+ # The second line of the address.
245
+ #
246
+ # @return [String, nil]
247
+ required :line2, String, nil?: true
248
+
249
+ # @!attribute postal_code
250
+ # The ZIP code of the address.
251
+ #
252
+ # @return [String, nil]
253
+ required :postal_code, String, nil?: true
254
+
255
+ # @!attribute state
256
+ # The address state.
257
+ #
258
+ # @return [String, nil]
259
+ required :state, String, nil?: true
260
+
261
+ # @!method initialize(city:, country:, line1:, line2:, postal_code:, state:)
262
+ # Some parameter documentations has been truncated, see
263
+ # {Increase::Models::WireDrawdownRequest::DebtorAddress} for more details.
264
+ #
265
+ # The debtor's address.
266
+ #
267
+ # @param city [String] The city, district, town, or village of the address.
268
+ #
269
+ # @param country [String] The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alp
270
+ #
271
+ # @param line1 [String] The first line of the address.
272
+ #
273
+ # @param line2 [String, nil] The second line of the address.
274
+ #
275
+ # @param postal_code [String, nil] The ZIP code of the address.
276
+ #
277
+ # @param state [String, nil] The address state.
278
+ end
193
279
 
194
280
  # The lifecycle status of the drawdown request.
195
281
  #