increase 1.271.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +175 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +1 -2
- data/lib/increase/models/entity.rb +147 -91
- data/lib/increase/models/entity_create_params.rb +130 -90
- data/lib/increase/models/entity_update_params.rb +52 -36
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +175 -119
- data/rbi/increase/models/entity_create_params.rbi +175 -105
- data/rbi/increase/models/entity_update_params.rbi +70 -42
- data/sig/increase/models/entity.rbs +119 -84
- data/sig/increase/models/entity_create_params.rbs +100 -55
- data/sig/increase/models/entity_update_params.rbs +40 -22
- metadata +2 -2
|
@@ -463,22 +463,17 @@ module Increase
|
|
|
463
463
|
)
|
|
464
464
|
end
|
|
465
465
|
|
|
466
|
-
# The city of the address.
|
|
466
|
+
# The city, district, town, or village of the address.
|
|
467
467
|
sig { returns(String) }
|
|
468
468
|
attr_accessor :city
|
|
469
469
|
|
|
470
|
-
# The
|
|
470
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
471
471
|
sig { returns(String) }
|
|
472
|
-
attr_accessor :
|
|
472
|
+
attr_accessor :country
|
|
473
473
|
|
|
474
|
-
# The
|
|
475
|
-
# the address.
|
|
476
|
-
sig { returns(String) }
|
|
477
|
-
attr_accessor :state
|
|
478
|
-
|
|
479
|
-
# The ZIP code of the address.
|
|
474
|
+
# The first line of the address. This is usually the street number and street.
|
|
480
475
|
sig { returns(String) }
|
|
481
|
-
attr_accessor :
|
|
476
|
+
attr_accessor :line1
|
|
482
477
|
|
|
483
478
|
# The second line of the address. This might be the floor or room number.
|
|
484
479
|
sig { returns(T.nilable(String)) }
|
|
@@ -487,29 +482,47 @@ module Increase
|
|
|
487
482
|
sig { params(line2: String).void }
|
|
488
483
|
attr_writer :line2
|
|
489
484
|
|
|
485
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
486
|
+
# state, province, or region of the address. Required in certain countries.
|
|
487
|
+
sig { returns(T.nilable(String)) }
|
|
488
|
+
attr_reader :state
|
|
489
|
+
|
|
490
|
+
sig { params(state: String).void }
|
|
491
|
+
attr_writer :state
|
|
492
|
+
|
|
493
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
494
|
+
sig { returns(T.nilable(String)) }
|
|
495
|
+
attr_reader :zip
|
|
496
|
+
|
|
497
|
+
sig { params(zip: String).void }
|
|
498
|
+
attr_writer :zip
|
|
499
|
+
|
|
490
500
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
491
501
|
# are disallowed.
|
|
492
502
|
sig do
|
|
493
503
|
params(
|
|
494
504
|
city: String,
|
|
505
|
+
country: String,
|
|
495
506
|
line1: String,
|
|
507
|
+
line2: String,
|
|
496
508
|
state: String,
|
|
497
|
-
zip: String
|
|
498
|
-
line2: String
|
|
509
|
+
zip: String
|
|
499
510
|
).returns(T.attached_class)
|
|
500
511
|
end
|
|
501
512
|
def self.new(
|
|
502
|
-
# The city of the address.
|
|
513
|
+
# The city, district, town, or village of the address.
|
|
503
514
|
city:,
|
|
515
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
516
|
+
country:,
|
|
504
517
|
# The first line of the address. This is usually the street number and street.
|
|
505
518
|
line1:,
|
|
506
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
507
|
-
# the address.
|
|
508
|
-
state:,
|
|
509
|
-
# The ZIP code of the address.
|
|
510
|
-
zip:,
|
|
511
519
|
# The second line of the address. This might be the floor or room number.
|
|
512
|
-
line2: nil
|
|
520
|
+
line2: nil,
|
|
521
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
522
|
+
# state, province, or region of the address. Required in certain countries.
|
|
523
|
+
state: nil,
|
|
524
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
525
|
+
zip: nil
|
|
513
526
|
)
|
|
514
527
|
end
|
|
515
528
|
|
|
@@ -517,10 +530,11 @@ module Increase
|
|
|
517
530
|
override.returns(
|
|
518
531
|
{
|
|
519
532
|
city: String,
|
|
533
|
+
country: String,
|
|
520
534
|
line1: String,
|
|
535
|
+
line2: String,
|
|
521
536
|
state: String,
|
|
522
|
-
zip: String
|
|
523
|
-
line2: String
|
|
537
|
+
zip: String
|
|
524
538
|
}
|
|
525
539
|
)
|
|
526
540
|
end
|
|
@@ -1799,22 +1813,17 @@ module Increase
|
|
|
1799
1813
|
)
|
|
1800
1814
|
end
|
|
1801
1815
|
|
|
1802
|
-
# The city of the address.
|
|
1816
|
+
# The city, district, town, or village of the address.
|
|
1803
1817
|
sig { returns(String) }
|
|
1804
1818
|
attr_accessor :city
|
|
1805
1819
|
|
|
1806
|
-
# The
|
|
1807
|
-
sig { returns(String) }
|
|
1808
|
-
attr_accessor :line1
|
|
1809
|
-
|
|
1810
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1811
|
-
# the address.
|
|
1820
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1812
1821
|
sig { returns(String) }
|
|
1813
|
-
attr_accessor :
|
|
1822
|
+
attr_accessor :country
|
|
1814
1823
|
|
|
1815
|
-
# The
|
|
1824
|
+
# The first line of the address. This is usually the street number and street.
|
|
1816
1825
|
sig { returns(String) }
|
|
1817
|
-
attr_accessor :
|
|
1826
|
+
attr_accessor :line1
|
|
1818
1827
|
|
|
1819
1828
|
# The second line of the address. This might be the floor or room number.
|
|
1820
1829
|
sig { returns(T.nilable(String)) }
|
|
@@ -1823,29 +1832,47 @@ module Increase
|
|
|
1823
1832
|
sig { params(line2: String).void }
|
|
1824
1833
|
attr_writer :line2
|
|
1825
1834
|
|
|
1835
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1836
|
+
# state, province, or region of the address. Required in certain countries.
|
|
1837
|
+
sig { returns(T.nilable(String)) }
|
|
1838
|
+
attr_reader :state
|
|
1839
|
+
|
|
1840
|
+
sig { params(state: String).void }
|
|
1841
|
+
attr_writer :state
|
|
1842
|
+
|
|
1843
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
1844
|
+
sig { returns(T.nilable(String)) }
|
|
1845
|
+
attr_reader :zip
|
|
1846
|
+
|
|
1847
|
+
sig { params(zip: String).void }
|
|
1848
|
+
attr_writer :zip
|
|
1849
|
+
|
|
1826
1850
|
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1827
1851
|
# PMB's are disallowed.
|
|
1828
1852
|
sig do
|
|
1829
1853
|
params(
|
|
1830
1854
|
city: String,
|
|
1855
|
+
country: String,
|
|
1831
1856
|
line1: String,
|
|
1857
|
+
line2: String,
|
|
1832
1858
|
state: String,
|
|
1833
|
-
zip: String
|
|
1834
|
-
line2: String
|
|
1859
|
+
zip: String
|
|
1835
1860
|
).returns(T.attached_class)
|
|
1836
1861
|
end
|
|
1837
1862
|
def self.new(
|
|
1838
|
-
# The city of the address.
|
|
1863
|
+
# The city, district, town, or village of the address.
|
|
1839
1864
|
city:,
|
|
1865
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1866
|
+
country:,
|
|
1840
1867
|
# The first line of the address. This is usually the street number and street.
|
|
1841
1868
|
line1:,
|
|
1842
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1843
|
-
# the address.
|
|
1844
|
-
state:,
|
|
1845
|
-
# The ZIP code of the address.
|
|
1846
|
-
zip:,
|
|
1847
1869
|
# The second line of the address. This might be the floor or room number.
|
|
1848
|
-
line2: nil
|
|
1870
|
+
line2: nil,
|
|
1871
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1872
|
+
# state, province, or region of the address. Required in certain countries.
|
|
1873
|
+
state: nil,
|
|
1874
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
1875
|
+
zip: nil
|
|
1849
1876
|
)
|
|
1850
1877
|
end
|
|
1851
1878
|
|
|
@@ -1853,10 +1880,11 @@ module Increase
|
|
|
1853
1880
|
override.returns(
|
|
1854
1881
|
{
|
|
1855
1882
|
city: String,
|
|
1883
|
+
country: String,
|
|
1856
1884
|
line1: String,
|
|
1885
|
+
line2: String,
|
|
1857
1886
|
state: String,
|
|
1858
|
-
zip: String
|
|
1859
|
-
line2: String
|
|
1887
|
+
zip: String
|
|
1860
1888
|
}
|
|
1861
1889
|
)
|
|
1862
1890
|
end
|
|
@@ -2360,22 +2388,17 @@ module Increase
|
|
|
2360
2388
|
)
|
|
2361
2389
|
end
|
|
2362
2390
|
|
|
2363
|
-
# The city of the address.
|
|
2391
|
+
# The city, district, town, or village of the address.
|
|
2364
2392
|
sig { returns(String) }
|
|
2365
2393
|
attr_accessor :city
|
|
2366
2394
|
|
|
2367
|
-
# The
|
|
2368
|
-
sig { returns(String) }
|
|
2369
|
-
attr_accessor :line1
|
|
2370
|
-
|
|
2371
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2372
|
-
# the address.
|
|
2395
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2373
2396
|
sig { returns(String) }
|
|
2374
|
-
attr_accessor :
|
|
2397
|
+
attr_accessor :country
|
|
2375
2398
|
|
|
2376
|
-
# The
|
|
2399
|
+
# The first line of the address. This is usually the street number and street.
|
|
2377
2400
|
sig { returns(String) }
|
|
2378
|
-
attr_accessor :
|
|
2401
|
+
attr_accessor :line1
|
|
2379
2402
|
|
|
2380
2403
|
# The second line of the address. This might be the floor or room number.
|
|
2381
2404
|
sig { returns(T.nilable(String)) }
|
|
@@ -2384,29 +2407,47 @@ module Increase
|
|
|
2384
2407
|
sig { params(line2: String).void }
|
|
2385
2408
|
attr_writer :line2
|
|
2386
2409
|
|
|
2410
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2411
|
+
# state, province, or region of the address. Required in certain countries.
|
|
2412
|
+
sig { returns(T.nilable(String)) }
|
|
2413
|
+
attr_reader :state
|
|
2414
|
+
|
|
2415
|
+
sig { params(state: String).void }
|
|
2416
|
+
attr_writer :state
|
|
2417
|
+
|
|
2418
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
2419
|
+
sig { returns(T.nilable(String)) }
|
|
2420
|
+
attr_reader :zip
|
|
2421
|
+
|
|
2422
|
+
sig { params(zip: String).void }
|
|
2423
|
+
attr_writer :zip
|
|
2424
|
+
|
|
2387
2425
|
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2388
2426
|
# PMB's are disallowed.
|
|
2389
2427
|
sig do
|
|
2390
2428
|
params(
|
|
2391
2429
|
city: String,
|
|
2430
|
+
country: String,
|
|
2392
2431
|
line1: String,
|
|
2432
|
+
line2: String,
|
|
2393
2433
|
state: String,
|
|
2394
|
-
zip: String
|
|
2395
|
-
line2: String
|
|
2434
|
+
zip: String
|
|
2396
2435
|
).returns(T.attached_class)
|
|
2397
2436
|
end
|
|
2398
2437
|
def self.new(
|
|
2399
|
-
# The city of the address.
|
|
2438
|
+
# The city, district, town, or village of the address.
|
|
2400
2439
|
city:,
|
|
2440
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2441
|
+
country:,
|
|
2401
2442
|
# The first line of the address. This is usually the street number and street.
|
|
2402
2443
|
line1:,
|
|
2403
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2404
|
-
# the address.
|
|
2405
|
-
state:,
|
|
2406
|
-
# The ZIP code of the address.
|
|
2407
|
-
zip:,
|
|
2408
2444
|
# The second line of the address. This might be the floor or room number.
|
|
2409
|
-
line2: nil
|
|
2445
|
+
line2: nil,
|
|
2446
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2447
|
+
# state, province, or region of the address. Required in certain countries.
|
|
2448
|
+
state: nil,
|
|
2449
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
2450
|
+
zip: nil
|
|
2410
2451
|
)
|
|
2411
2452
|
end
|
|
2412
2453
|
|
|
@@ -2414,10 +2455,11 @@ module Increase
|
|
|
2414
2455
|
override.returns(
|
|
2415
2456
|
{
|
|
2416
2457
|
city: String,
|
|
2458
|
+
country: String,
|
|
2417
2459
|
line1: String,
|
|
2460
|
+
line2: String,
|
|
2418
2461
|
state: String,
|
|
2419
|
-
zip: String
|
|
2420
|
-
line2: String
|
|
2462
|
+
zip: String
|
|
2421
2463
|
}
|
|
2422
2464
|
)
|
|
2423
2465
|
end
|
|
@@ -3533,22 +3575,17 @@ module Increase
|
|
|
3533
3575
|
)
|
|
3534
3576
|
end
|
|
3535
3577
|
|
|
3536
|
-
# The city of the address.
|
|
3578
|
+
# The city, district, town, or village of the address.
|
|
3537
3579
|
sig { returns(String) }
|
|
3538
3580
|
attr_accessor :city
|
|
3539
3581
|
|
|
3540
|
-
# The
|
|
3541
|
-
sig { returns(String) }
|
|
3542
|
-
attr_accessor :line1
|
|
3543
|
-
|
|
3544
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
3545
|
-
# the address.
|
|
3582
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3546
3583
|
sig { returns(String) }
|
|
3547
|
-
attr_accessor :
|
|
3584
|
+
attr_accessor :country
|
|
3548
3585
|
|
|
3549
|
-
# The
|
|
3586
|
+
# The first line of the address. This is usually the street number and street.
|
|
3550
3587
|
sig { returns(String) }
|
|
3551
|
-
attr_accessor :
|
|
3588
|
+
attr_accessor :line1
|
|
3552
3589
|
|
|
3553
3590
|
# The second line of the address. This might be the floor or room number.
|
|
3554
3591
|
sig { returns(T.nilable(String)) }
|
|
@@ -3557,29 +3594,47 @@ module Increase
|
|
|
3557
3594
|
sig { params(line2: String).void }
|
|
3558
3595
|
attr_writer :line2
|
|
3559
3596
|
|
|
3597
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
3598
|
+
# state, province, or region of the address. Required in certain countries.
|
|
3599
|
+
sig { returns(T.nilable(String)) }
|
|
3600
|
+
attr_reader :state
|
|
3601
|
+
|
|
3602
|
+
sig { params(state: String).void }
|
|
3603
|
+
attr_writer :state
|
|
3604
|
+
|
|
3605
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
3606
|
+
sig { returns(T.nilable(String)) }
|
|
3607
|
+
attr_reader :zip
|
|
3608
|
+
|
|
3609
|
+
sig { params(zip: String).void }
|
|
3610
|
+
attr_writer :zip
|
|
3611
|
+
|
|
3560
3612
|
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
3561
3613
|
# PMB's are disallowed.
|
|
3562
3614
|
sig do
|
|
3563
3615
|
params(
|
|
3564
3616
|
city: String,
|
|
3617
|
+
country: String,
|
|
3565
3618
|
line1: String,
|
|
3619
|
+
line2: String,
|
|
3566
3620
|
state: String,
|
|
3567
|
-
zip: String
|
|
3568
|
-
line2: String
|
|
3621
|
+
zip: String
|
|
3569
3622
|
).returns(T.attached_class)
|
|
3570
3623
|
end
|
|
3571
3624
|
def self.new(
|
|
3572
|
-
# The city of the address.
|
|
3625
|
+
# The city, district, town, or village of the address.
|
|
3573
3626
|
city:,
|
|
3627
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3628
|
+
country:,
|
|
3574
3629
|
# The first line of the address. This is usually the street number and street.
|
|
3575
3630
|
line1:,
|
|
3576
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
3577
|
-
# the address.
|
|
3578
|
-
state:,
|
|
3579
|
-
# The ZIP code of the address.
|
|
3580
|
-
zip:,
|
|
3581
3631
|
# The second line of the address. This might be the floor or room number.
|
|
3582
|
-
line2: nil
|
|
3632
|
+
line2: nil,
|
|
3633
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
3634
|
+
# state, province, or region of the address. Required in certain countries.
|
|
3635
|
+
state: nil,
|
|
3636
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
3637
|
+
zip: nil
|
|
3583
3638
|
)
|
|
3584
3639
|
end
|
|
3585
3640
|
|
|
@@ -3587,10 +3642,11 @@ module Increase
|
|
|
3587
3642
|
override.returns(
|
|
3588
3643
|
{
|
|
3589
3644
|
city: String,
|
|
3645
|
+
country: String,
|
|
3590
3646
|
line1: String,
|
|
3647
|
+
line2: String,
|
|
3591
3648
|
state: String,
|
|
3592
|
-
zip: String
|
|
3593
|
-
line2: String
|
|
3649
|
+
zip: String
|
|
3594
3650
|
}
|
|
3595
3651
|
)
|
|
3596
3652
|
end
|
|
@@ -4093,22 +4149,17 @@ module Increase
|
|
|
4093
4149
|
)
|
|
4094
4150
|
end
|
|
4095
4151
|
|
|
4096
|
-
# The city of the address.
|
|
4152
|
+
# The city, district, town, or village of the address.
|
|
4097
4153
|
sig { returns(String) }
|
|
4098
4154
|
attr_accessor :city
|
|
4099
4155
|
|
|
4100
|
-
# The
|
|
4101
|
-
sig { returns(String) }
|
|
4102
|
-
attr_accessor :line1
|
|
4103
|
-
|
|
4104
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
4105
|
-
# the address.
|
|
4156
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4106
4157
|
sig { returns(String) }
|
|
4107
|
-
attr_accessor :
|
|
4158
|
+
attr_accessor :country
|
|
4108
4159
|
|
|
4109
|
-
# The
|
|
4160
|
+
# The first line of the address. This is usually the street number and street.
|
|
4110
4161
|
sig { returns(String) }
|
|
4111
|
-
attr_accessor :
|
|
4162
|
+
attr_accessor :line1
|
|
4112
4163
|
|
|
4113
4164
|
# The second line of the address. This might be the floor or room number.
|
|
4114
4165
|
sig { returns(T.nilable(String)) }
|
|
@@ -4117,29 +4168,47 @@ module Increase
|
|
|
4117
4168
|
sig { params(line2: String).void }
|
|
4118
4169
|
attr_writer :line2
|
|
4119
4170
|
|
|
4171
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
4172
|
+
# state, province, or region of the address. Required in certain countries.
|
|
4173
|
+
sig { returns(T.nilable(String)) }
|
|
4174
|
+
attr_reader :state
|
|
4175
|
+
|
|
4176
|
+
sig { params(state: String).void }
|
|
4177
|
+
attr_writer :state
|
|
4178
|
+
|
|
4179
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
4180
|
+
sig { returns(T.nilable(String)) }
|
|
4181
|
+
attr_reader :zip
|
|
4182
|
+
|
|
4183
|
+
sig { params(zip: String).void }
|
|
4184
|
+
attr_writer :zip
|
|
4185
|
+
|
|
4120
4186
|
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
4121
4187
|
# PMB's are disallowed.
|
|
4122
4188
|
sig do
|
|
4123
4189
|
params(
|
|
4124
4190
|
city: String,
|
|
4191
|
+
country: String,
|
|
4125
4192
|
line1: String,
|
|
4193
|
+
line2: String,
|
|
4126
4194
|
state: String,
|
|
4127
|
-
zip: String
|
|
4128
|
-
line2: String
|
|
4195
|
+
zip: String
|
|
4129
4196
|
).returns(T.attached_class)
|
|
4130
4197
|
end
|
|
4131
4198
|
def self.new(
|
|
4132
|
-
# The city of the address.
|
|
4199
|
+
# The city, district, town, or village of the address.
|
|
4133
4200
|
city:,
|
|
4201
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4202
|
+
country:,
|
|
4134
4203
|
# The first line of the address. This is usually the street number and street.
|
|
4135
4204
|
line1:,
|
|
4136
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
4137
|
-
# the address.
|
|
4138
|
-
state:,
|
|
4139
|
-
# The ZIP code of the address.
|
|
4140
|
-
zip:,
|
|
4141
4205
|
# The second line of the address. This might be the floor or room number.
|
|
4142
|
-
line2: nil
|
|
4206
|
+
line2: nil,
|
|
4207
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
4208
|
+
# state, province, or region of the address. Required in certain countries.
|
|
4209
|
+
state: nil,
|
|
4210
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
4211
|
+
zip: nil
|
|
4143
4212
|
)
|
|
4144
4213
|
end
|
|
4145
4214
|
|
|
@@ -4147,10 +4216,11 @@ module Increase
|
|
|
4147
4216
|
override.returns(
|
|
4148
4217
|
{
|
|
4149
4218
|
city: String,
|
|
4219
|
+
country: String,
|
|
4150
4220
|
line1: String,
|
|
4221
|
+
line2: String,
|
|
4151
4222
|
state: String,
|
|
4152
|
-
zip: String
|
|
4153
|
-
line2: String
|
|
4223
|
+
zip: String
|
|
4154
4224
|
}
|
|
4155
4225
|
)
|
|
4156
4226
|
end
|
|
@@ -285,22 +285,17 @@ module Increase
|
|
|
285
285
|
)
|
|
286
286
|
end
|
|
287
287
|
|
|
288
|
-
# The city of the address.
|
|
288
|
+
# The city, district, town, or village of the address.
|
|
289
289
|
sig { returns(String) }
|
|
290
290
|
attr_accessor :city
|
|
291
291
|
|
|
292
|
-
# The
|
|
293
|
-
sig { returns(String) }
|
|
294
|
-
attr_accessor :line1
|
|
295
|
-
|
|
296
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
297
|
-
# the address.
|
|
292
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
298
293
|
sig { returns(String) }
|
|
299
|
-
attr_accessor :
|
|
294
|
+
attr_accessor :country
|
|
300
295
|
|
|
301
|
-
# The
|
|
296
|
+
# The first line of the address. This is usually the street number and street.
|
|
302
297
|
sig { returns(String) }
|
|
303
|
-
attr_accessor :
|
|
298
|
+
attr_accessor :line1
|
|
304
299
|
|
|
305
300
|
# The second line of the address. This might be the floor or room number.
|
|
306
301
|
sig { returns(T.nilable(String)) }
|
|
@@ -309,29 +304,47 @@ module Increase
|
|
|
309
304
|
sig { params(line2: String).void }
|
|
310
305
|
attr_writer :line2
|
|
311
306
|
|
|
307
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
308
|
+
# state, province, or region of the address. Required in certain countries.
|
|
309
|
+
sig { returns(T.nilable(String)) }
|
|
310
|
+
attr_reader :state
|
|
311
|
+
|
|
312
|
+
sig { params(state: String).void }
|
|
313
|
+
attr_writer :state
|
|
314
|
+
|
|
315
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
316
|
+
sig { returns(T.nilable(String)) }
|
|
317
|
+
attr_reader :zip
|
|
318
|
+
|
|
319
|
+
sig { params(zip: String).void }
|
|
320
|
+
attr_writer :zip
|
|
321
|
+
|
|
312
322
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
313
323
|
# are disallowed.
|
|
314
324
|
sig do
|
|
315
325
|
params(
|
|
316
326
|
city: String,
|
|
327
|
+
country: String,
|
|
317
328
|
line1: String,
|
|
329
|
+
line2: String,
|
|
318
330
|
state: String,
|
|
319
|
-
zip: String
|
|
320
|
-
line2: String
|
|
331
|
+
zip: String
|
|
321
332
|
).returns(T.attached_class)
|
|
322
333
|
end
|
|
323
334
|
def self.new(
|
|
324
|
-
# The city of the address.
|
|
335
|
+
# The city, district, town, or village of the address.
|
|
325
336
|
city:,
|
|
337
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
338
|
+
country:,
|
|
326
339
|
# The first line of the address. This is usually the street number and street.
|
|
327
340
|
line1:,
|
|
328
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
329
|
-
# the address.
|
|
330
|
-
state:,
|
|
331
|
-
# The ZIP code of the address.
|
|
332
|
-
zip:,
|
|
333
341
|
# The second line of the address. This might be the floor or room number.
|
|
334
|
-
line2: nil
|
|
342
|
+
line2: nil,
|
|
343
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
344
|
+
# state, province, or region of the address. Required in certain countries.
|
|
345
|
+
state: nil,
|
|
346
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
347
|
+
zip: nil
|
|
335
348
|
)
|
|
336
349
|
end
|
|
337
350
|
|
|
@@ -339,10 +352,11 @@ module Increase
|
|
|
339
352
|
override.returns(
|
|
340
353
|
{
|
|
341
354
|
city: String,
|
|
355
|
+
country: String,
|
|
342
356
|
line1: String,
|
|
357
|
+
line2: String,
|
|
343
358
|
state: String,
|
|
344
|
-
zip: String
|
|
345
|
-
line2: String
|
|
359
|
+
zip: String
|
|
346
360
|
}
|
|
347
361
|
)
|
|
348
362
|
end
|
|
@@ -562,22 +576,17 @@ module Increase
|
|
|
562
576
|
)
|
|
563
577
|
end
|
|
564
578
|
|
|
565
|
-
# The city of the address.
|
|
579
|
+
# The city, district, town, or village of the address.
|
|
566
580
|
sig { returns(String) }
|
|
567
581
|
attr_accessor :city
|
|
568
582
|
|
|
569
|
-
# The
|
|
570
|
-
sig { returns(String) }
|
|
571
|
-
attr_accessor :line1
|
|
572
|
-
|
|
573
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
574
|
-
# the address.
|
|
583
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
575
584
|
sig { returns(String) }
|
|
576
|
-
attr_accessor :
|
|
585
|
+
attr_accessor :country
|
|
577
586
|
|
|
578
|
-
# The
|
|
587
|
+
# The first line of the address. This is usually the street number and street.
|
|
579
588
|
sig { returns(String) }
|
|
580
|
-
attr_accessor :
|
|
589
|
+
attr_accessor :line1
|
|
581
590
|
|
|
582
591
|
# The second line of the address. This might be the floor or room number.
|
|
583
592
|
sig { returns(T.nilable(String)) }
|
|
@@ -586,29 +595,47 @@ module Increase
|
|
|
586
595
|
sig { params(line2: String).void }
|
|
587
596
|
attr_writer :line2
|
|
588
597
|
|
|
598
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
599
|
+
# state, province, or region of the address. Required in certain countries.
|
|
600
|
+
sig { returns(T.nilable(String)) }
|
|
601
|
+
attr_reader :state
|
|
602
|
+
|
|
603
|
+
sig { params(state: String).void }
|
|
604
|
+
attr_writer :state
|
|
605
|
+
|
|
606
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
607
|
+
sig { returns(T.nilable(String)) }
|
|
608
|
+
attr_reader :zip
|
|
609
|
+
|
|
610
|
+
sig { params(zip: String).void }
|
|
611
|
+
attr_writer :zip
|
|
612
|
+
|
|
589
613
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
590
614
|
# are disallowed.
|
|
591
615
|
sig do
|
|
592
616
|
params(
|
|
593
617
|
city: String,
|
|
618
|
+
country: String,
|
|
594
619
|
line1: String,
|
|
620
|
+
line2: String,
|
|
595
621
|
state: String,
|
|
596
|
-
zip: String
|
|
597
|
-
line2: String
|
|
622
|
+
zip: String
|
|
598
623
|
).returns(T.attached_class)
|
|
599
624
|
end
|
|
600
625
|
def self.new(
|
|
601
|
-
# The city of the address.
|
|
626
|
+
# The city, district, town, or village of the address.
|
|
602
627
|
city:,
|
|
628
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
629
|
+
country:,
|
|
603
630
|
# The first line of the address. This is usually the street number and street.
|
|
604
631
|
line1:,
|
|
605
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
606
|
-
# the address.
|
|
607
|
-
state:,
|
|
608
|
-
# The ZIP code of the address.
|
|
609
|
-
zip:,
|
|
610
632
|
# The second line of the address. This might be the floor or room number.
|
|
611
|
-
line2: nil
|
|
633
|
+
line2: nil,
|
|
634
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
635
|
+
# state, province, or region of the address. Required in certain countries.
|
|
636
|
+
state: nil,
|
|
637
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
638
|
+
zip: nil
|
|
612
639
|
)
|
|
613
640
|
end
|
|
614
641
|
|
|
@@ -616,10 +643,11 @@ module Increase
|
|
|
616
643
|
override.returns(
|
|
617
644
|
{
|
|
618
645
|
city: String,
|
|
646
|
+
country: String,
|
|
619
647
|
line1: String,
|
|
648
|
+
line2: String,
|
|
620
649
|
state: String,
|
|
621
|
-
zip: String
|
|
622
|
-
line2: String
|
|
650
|
+
zip: String
|
|
623
651
|
}
|
|
624
652
|
)
|
|
625
653
|
end
|