increase 1.270.0 → 1.273.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.
@@ -151,52 +151,60 @@ module Increase
151
151
  # @see Increase::Models::EntityUpdateParams::Corporation#address
152
152
  class Address < Increase::Internal::Type::BaseModel
153
153
  # @!attribute city
154
- # The city of the address.
154
+ # The city, district, town, or village of the address.
155
155
  #
156
156
  # @return [String]
157
157
  required :city, String
158
158
 
159
+ # @!attribute country
160
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
161
+ #
162
+ # @return [String]
163
+ required :country, String
164
+
159
165
  # @!attribute line1
160
166
  # The first line of the address. This is usually the street number and street.
161
167
  #
162
168
  # @return [String]
163
169
  required :line1, String
164
170
 
165
- # @!attribute state
166
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
167
- # the address.
171
+ # @!attribute line2
172
+ # The second line of the address. This might be the floor or room number.
168
173
  #
169
- # @return [String]
170
- required :state, String
174
+ # @return [String, nil]
175
+ optional :line2, String
171
176
 
172
- # @!attribute zip
173
- # The ZIP code of the address.
177
+ # @!attribute state
178
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
179
+ # state, province, or region of the address. Required in certain countries.
174
180
  #
175
- # @return [String]
176
- required :zip, String
181
+ # @return [String, nil]
182
+ optional :state, String
177
183
 
178
- # @!attribute line2
179
- # The second line of the address. This might be the floor or room number.
184
+ # @!attribute zip
185
+ # The ZIP or postal code of the address. Required in certain countries.
180
186
  #
181
187
  # @return [String, nil]
182
- optional :line2, String
188
+ optional :zip, String
183
189
 
184
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
190
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
185
191
  # Some parameter documentations has been truncated, see
186
192
  # {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
187
193
  #
188
194
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
189
195
  # are disallowed.
190
196
  #
191
- # @param city [String] The city of the address.
197
+ # @param city [String] The city, district, town, or village of the address.
198
+ #
199
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
192
200
  #
193
201
  # @param line1 [String] The first line of the address. This is usually the street number and street.
194
202
  #
195
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
203
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
196
204
  #
197
- # @param zip [String] The ZIP code of the address.
205
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
198
206
  #
199
- # @param line2 [String] The second line of the address. This might be the floor or room number.
207
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
200
208
  end
201
209
  end
202
210
 
@@ -306,52 +314,60 @@ module Increase
306
314
  # @see Increase::Models::EntityUpdateParams::NaturalPerson#address
307
315
  class Address < Increase::Internal::Type::BaseModel
308
316
  # @!attribute city
309
- # The city of the address.
317
+ # The city, district, town, or village of the address.
310
318
  #
311
319
  # @return [String]
312
320
  required :city, String
313
321
 
322
+ # @!attribute country
323
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
324
+ #
325
+ # @return [String]
326
+ required :country, String
327
+
314
328
  # @!attribute line1
315
329
  # The first line of the address. This is usually the street number and street.
316
330
  #
317
331
  # @return [String]
318
332
  required :line1, String
319
333
 
320
- # @!attribute state
321
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
322
- # the address.
334
+ # @!attribute line2
335
+ # The second line of the address. This might be the floor or room number.
323
336
  #
324
- # @return [String]
325
- required :state, String
337
+ # @return [String, nil]
338
+ optional :line2, String
326
339
 
327
- # @!attribute zip
328
- # The ZIP code of the address.
340
+ # @!attribute state
341
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
342
+ # state, province, or region of the address. Required in certain countries.
329
343
  #
330
- # @return [String]
331
- required :zip, String
344
+ # @return [String, nil]
345
+ optional :state, String
332
346
 
333
- # @!attribute line2
334
- # The second line of the address. This might be the floor or room number.
347
+ # @!attribute zip
348
+ # The ZIP or postal code of the address. Required in certain countries.
335
349
  #
336
350
  # @return [String, nil]
337
- optional :line2, String
351
+ optional :zip, String
338
352
 
339
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
353
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
340
354
  # Some parameter documentations has been truncated, see
341
355
  # {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
342
356
  #
343
357
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
344
358
  # are disallowed.
345
359
  #
346
- # @param city [String] The city of the address.
360
+ # @param city [String] The city, district, town, or village of the address.
361
+ #
362
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
347
363
  #
348
364
  # @param line1 [String] The first line of the address. This is usually the street number and street.
349
365
  #
350
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
366
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
351
367
  #
352
- # @param zip [String] The ZIP code of the address.
368
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
353
369
  #
354
- # @param line2 [String] The second line of the address. This might be the floor or room number.
370
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
355
371
  end
356
372
  end
357
373
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.270.0"
4
+ VERSION = "1.273.0"
5
5
  end