• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-java / #16517

08 Oct 2024 06:27PM UTC coverage: 12.74% (-0.2%) from 12.899%
#16517

push

github

web-flow
Merge pull request #1872 from stripe/latest-codegen-beta

Update generated code for beta

53 of 2404 new or added lines in 50 files covered. (2.2%)

91 existing lines in 27 files now uncovered.

18753 of 147196 relevant lines covered (12.74%)

0.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

12.68
/src/main/java/com/stripe/model/tax/Registration.java
1
// File generated from our OpenAPI spec
2
package com.stripe.model.tax;
3

4
import com.google.gson.annotations.SerializedName;
5
import com.stripe.exception.StripeException;
6
import com.stripe.model.HasId;
7
import com.stripe.model.StripeObject;
8
import com.stripe.net.ApiRequest;
9
import com.stripe.net.ApiRequestParams;
10
import com.stripe.net.ApiResource;
11
import com.stripe.net.BaseAddress;
12
import com.stripe.net.RequestOptions;
13
import com.stripe.net.StripeResponseGetter;
14
import com.stripe.param.tax.RegistrationCreateParams;
15
import com.stripe.param.tax.RegistrationListParams;
16
import com.stripe.param.tax.RegistrationRetrieveParams;
17
import com.stripe.param.tax.RegistrationUpdateParams;
18
import java.util.List;
19
import java.util.Map;
20
import lombok.EqualsAndHashCode;
21
import lombok.Getter;
22
import lombok.Setter;
23

24
/**
25
 * A Tax {@code Registration} lets us know that your business is registered to collect tax on
26
 * payments within a region, enabling you to <a href="https://stripe.com/docs/tax">automatically
27
 * collect tax</a>.
28
 *
29
 * <p>Stripe doesn't register on your behalf with the relevant authorities when you create a Tax
30
 * {@code Registration} object. For more information on how to register to collect tax, see <a
31
 * href="https://stripe.com/docs/tax/registering">our guide</a>.
32
 *
33
 * <p>Related guide: <a href="https://stripe.com/docs/tax/registrations-api">Using the Registrations
34
 * API</a>
35
 */
36
@Getter
37
@Setter
38
@EqualsAndHashCode(callSuper = false)
39
public class Registration extends ApiResource implements HasId {
1✔
40
  /** Time at which the registration becomes active. Measured in seconds since the Unix epoch. */
41
  @SerializedName("active_from")
42
  Long activeFrom;
43

44
  /**
45
   * Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1
46
   * alpha-2</a>).
47
   */
48
  @SerializedName("country")
49
  String country;
50

51
  @SerializedName("country_options")
52
  CountryOptions countryOptions;
53

54
  /** Time at which the object was created. Measured in seconds since the Unix epoch. */
55
  @SerializedName("created")
56
  Long created;
57

58
  /**
59
   * If set, the registration stops being active at this time. If not set, the registration will be
60
   * active indefinitely. Measured in seconds since the Unix epoch.
61
   */
62
  @SerializedName("expires_at")
63
  Long expiresAt;
64

65
  /** Unique identifier for the object. */
66
  @Getter(onMethod_ = {@Override})
67
  @SerializedName("id")
68
  String id;
69

70
  /**
71
   * Has the value {@code true} if the object exists in live mode or the value {@code false} if the
72
   * object exists in test mode.
73
   */
74
  @SerializedName("livemode")
75
  Boolean livemode;
76

77
  /**
78
   * String representing the object's type. Objects of the same type share the same value.
79
   *
80
   * <p>Equal to {@code tax.registration}.
81
   */
82
  @SerializedName("object")
83
  String object;
84

85
  /**
86
   * The status of the registration. This field is present for convenience and can be deduced from
87
   * {@code active_from} and {@code expires_at}.
88
   *
89
   * <p>One of {@code active}, {@code expired}, or {@code scheduled}.
90
   */
91
  @SerializedName("status")
92
  String status;
93

94
  /** Creates a new Tax {@code Registration} object. */
95
  public static Registration create(Map<String, Object> params) throws StripeException {
96
    return create(params, (RequestOptions) null);
×
97
  }
98

99
  /** Creates a new Tax {@code Registration} object. */
100
  public static Registration create(Map<String, Object> params, RequestOptions options)
101
      throws StripeException {
102
    String path = "/v1/tax/registrations";
×
103
    ApiRequest request =
×
104
        new ApiRequest(BaseAddress.API, ApiResource.RequestMethod.POST, path, params, options);
105
    return getGlobalResponseGetter().request(request, Registration.class);
×
106
  }
107

108
  /** Creates a new Tax {@code Registration} object. */
109
  public static Registration create(RegistrationCreateParams params) throws StripeException {
110
    return create(params, (RequestOptions) null);
1✔
111
  }
112

113
  /** Creates a new Tax {@code Registration} object. */
114
  public static Registration create(RegistrationCreateParams params, RequestOptions options)
115
      throws StripeException {
116
    String path = "/v1/tax/registrations";
1✔
117
    ApiResource.checkNullTypedParams(path, params);
1✔
118
    ApiRequest request =
1✔
119
        new ApiRequest(
120
            BaseAddress.API,
121
            ApiResource.RequestMethod.POST,
122
            path,
123
            ApiRequestParams.paramsToMap(params),
1✔
124
            options);
125
    return getGlobalResponseGetter().request(request, Registration.class);
1✔
126
  }
127

128
  /** Returns a list of Tax {@code Registration} objects. */
129
  public static RegistrationCollection list(Map<String, Object> params) throws StripeException {
130
    return list(params, (RequestOptions) null);
×
131
  }
132

133
  /** Returns a list of Tax {@code Registration} objects. */
134
  public static RegistrationCollection list(Map<String, Object> params, RequestOptions options)
135
      throws StripeException {
136
    String path = "/v1/tax/registrations";
×
137
    ApiRequest request =
×
138
        new ApiRequest(BaseAddress.API, ApiResource.RequestMethod.GET, path, params, options);
139
    return getGlobalResponseGetter().request(request, RegistrationCollection.class);
×
140
  }
141

142
  /** Returns a list of Tax {@code Registration} objects. */
143
  public static RegistrationCollection list(RegistrationListParams params) throws StripeException {
144
    return list(params, (RequestOptions) null);
1✔
145
  }
146

147
  /** Returns a list of Tax {@code Registration} objects. */
148
  public static RegistrationCollection list(RegistrationListParams params, RequestOptions options)
149
      throws StripeException {
150
    String path = "/v1/tax/registrations";
1✔
151
    ApiResource.checkNullTypedParams(path, params);
1✔
152
    ApiRequest request =
1✔
153
        new ApiRequest(
154
            BaseAddress.API,
155
            ApiResource.RequestMethod.GET,
156
            path,
157
            ApiRequestParams.paramsToMap(params),
1✔
158
            options);
159
    return getGlobalResponseGetter().request(request, RegistrationCollection.class);
1✔
160
  }
161

162
  /** Returns a Tax {@code Registration} object. */
163
  public static Registration retrieve(String id) throws StripeException {
164
    return retrieve(id, (Map<String, Object>) null, (RequestOptions) null);
×
165
  }
166

167
  /** Returns a Tax {@code Registration} object. */
168
  public static Registration retrieve(String id, RequestOptions options) throws StripeException {
169
    return retrieve(id, (Map<String, Object>) null, options);
×
170
  }
171

172
  /** Returns a Tax {@code Registration} object. */
173
  public static Registration retrieve(String id, Map<String, Object> params, RequestOptions options)
174
      throws StripeException {
175
    String path = String.format("/v1/tax/registrations/%s", ApiResource.urlEncodeId(id));
×
176
    ApiRequest request =
×
177
        new ApiRequest(BaseAddress.API, ApiResource.RequestMethod.GET, path, params, options);
178
    return getGlobalResponseGetter().request(request, Registration.class);
×
179
  }
180

181
  /** Returns a Tax {@code Registration} object. */
182
  public static Registration retrieve(
183
      String id, RegistrationRetrieveParams params, RequestOptions options) throws StripeException {
184
    String path = String.format("/v1/tax/registrations/%s", ApiResource.urlEncodeId(id));
×
185
    ApiResource.checkNullTypedParams(path, params);
×
186
    ApiRequest request =
×
187
        new ApiRequest(
188
            BaseAddress.API,
189
            ApiResource.RequestMethod.GET,
190
            path,
191
            ApiRequestParams.paramsToMap(params),
×
192
            options);
193
    return getGlobalResponseGetter().request(request, Registration.class);
×
194
  }
195

196
  /**
197
   * Updates an existing Tax {@code Registration} object.
198
   *
199
   * <p>A registration cannot be deleted after it has been created. If you wish to end a
200
   * registration you may do so by setting {@code expires_at}.
201
   */
202
  public Registration update(Map<String, Object> params) throws StripeException {
203
    return update(params, (RequestOptions) null);
×
204
  }
205

206
  /**
207
   * Updates an existing Tax {@code Registration} object.
208
   *
209
   * <p>A registration cannot be deleted after it has been created. If you wish to end a
210
   * registration you may do so by setting {@code expires_at}.
211
   */
212
  public Registration update(Map<String, Object> params, RequestOptions options)
213
      throws StripeException {
214
    String path = String.format("/v1/tax/registrations/%s", ApiResource.urlEncodeId(this.getId()));
×
215
    ApiRequest request =
×
216
        new ApiRequest(BaseAddress.API, ApiResource.RequestMethod.POST, path, params, options);
217
    return getResponseGetter().request(request, Registration.class);
×
218
  }
219

220
  /**
221
   * Updates an existing Tax {@code Registration} object.
222
   *
223
   * <p>A registration cannot be deleted after it has been created. If you wish to end a
224
   * registration you may do so by setting {@code expires_at}.
225
   */
226
  public Registration update(RegistrationUpdateParams params) throws StripeException {
227
    return update(params, (RequestOptions) null);
×
228
  }
229

230
  /**
231
   * Updates an existing Tax {@code Registration} object.
232
   *
233
   * <p>A registration cannot be deleted after it has been created. If you wish to end a
234
   * registration you may do so by setting {@code expires_at}.
235
   */
236
  public Registration update(RegistrationUpdateParams params, RequestOptions options)
237
      throws StripeException {
238
    String path = String.format("/v1/tax/registrations/%s", ApiResource.urlEncodeId(this.getId()));
×
239
    ApiResource.checkNullTypedParams(path, params);
×
240
    ApiRequest request =
×
241
        new ApiRequest(
242
            BaseAddress.API,
243
            ApiResource.RequestMethod.POST,
244
            path,
245
            ApiRequestParams.paramsToMap(params),
×
246
            options);
247
    return getResponseGetter().request(request, Registration.class);
×
248
  }
249

250
  @Getter
251
  @Setter
252
  @EqualsAndHashCode(callSuper = false)
253
  public static class CountryOptions extends StripeObject {
1✔
254
    @SerializedName("ae")
255
    Ae ae;
256

257
    @SerializedName("at")
258
    At at;
259

260
    @SerializedName("au")
261
    Au au;
262

263
    @SerializedName("be")
264
    Be be;
265

266
    @SerializedName("bg")
267
    Bg bg;
268

269
    @SerializedName("bh")
270
    Bh bh;
271

272
    @SerializedName("by")
273
    By by;
274

275
    @SerializedName("ca")
276
    Ca ca;
277

278
    @SerializedName("ch")
279
    Ch ch;
280

281
    @SerializedName("cl")
282
    Cl cl;
283

284
    @SerializedName("co")
285
    Co co;
286

287
    @SerializedName("cr")
288
    Cr cr;
289

290
    @SerializedName("cy")
291
    Cy cy;
292

293
    @SerializedName("cz")
294
    Cz cz;
295

296
    @SerializedName("de")
297
    De de;
298

299
    @SerializedName("dk")
300
    Dk dk;
301

302
    @SerializedName("ec")
303
    Ec ec;
304

305
    @SerializedName("ee")
306
    Ee ee;
307

308
    @SerializedName("eg")
309
    Eg eg;
310

311
    @SerializedName("es")
312
    Es es;
313

314
    @SerializedName("fi")
315
    Fi fi;
316

317
    @SerializedName("fr")
318
    Fr fr;
319

320
    @SerializedName("gb")
321
    Gb gb;
322

323
    @SerializedName("ge")
324
    Ge ge;
325

326
    @SerializedName("gr")
327
    Gr gr;
328

329
    @SerializedName("hr")
330
    Hr hr;
331

332
    @SerializedName("hu")
333
    Hu hu;
334

335
    @SerializedName("id")
336
    Id id;
337

338
    @SerializedName("ie")
339
    Ie ie;
340

341
    @SerializedName("is")
342
    Is is;
343

344
    @SerializedName("it")
345
    It it;
346

347
    @SerializedName("jp")
348
    Jp jp;
349

350
    @SerializedName("ke")
351
    Ke ke;
352

353
    @SerializedName("kr")
354
    Kr kr;
355

356
    @SerializedName("kz")
357
    Kz kz;
358

359
    @SerializedName("lt")
360
    Lt lt;
361

362
    @SerializedName("lu")
363
    Lu lu;
364

365
    @SerializedName("lv")
366
    Lv lv;
367

368
    @SerializedName("ma")
369
    Ma ma;
370

371
    @SerializedName("md")
372
    Md md;
373

374
    @SerializedName("mt")
375
    Mt mt;
376

377
    @SerializedName("mx")
378
    Mx mx;
379

380
    @SerializedName("my")
381
    My my;
382

383
    @SerializedName("ng")
384
    Ng ng;
385

386
    @SerializedName("nl")
387
    Nl nl;
388

389
    @SerializedName("no")
390
    No no;
391

392
    @SerializedName("nz")
393
    Nz nz;
394

395
    @SerializedName("om")
396
    Om om;
397

398
    @SerializedName("pl")
399
    Pl pl;
400

401
    @SerializedName("pt")
402
    Pt pt;
403

404
    @SerializedName("ro")
405
    Ro ro;
406

407
    @SerializedName("rs")
408
    Rs rs;
409

410
    @SerializedName("ru")
411
    Ru ru;
412

413
    @SerializedName("sa")
414
    Sa sa;
415

416
    @SerializedName("se")
417
    Se se;
418

419
    @SerializedName("sg")
420
    Sg sg;
421

422
    @SerializedName("si")
423
    Si si;
424

425
    @SerializedName("sk")
426
    Sk sk;
427

428
    @SerializedName("th")
429
    Th th;
430

431
    @SerializedName("tr")
432
    Tr tr;
433

434
    @SerializedName("tz")
435
    Tz tz;
436

437
    @SerializedName("us")
438
    Us us;
439

440
    @SerializedName("uz")
441
    Uz uz;
442

443
    @SerializedName("vn")
444
    Vn vn;
445

446
    @SerializedName("za")
447
    Za za;
448

449
    @Getter
450
    @Setter
451
    @EqualsAndHashCode(callSuper = false)
452
    public static class Ae extends StripeObject {
×
453
      /**
454
       * Type of registration in {@code country}.
455
       *
456
       * <p>Equal to {@code standard}.
457
       */
458
      @SerializedName("type")
459
      String type;
460
    }
461

462
    @Getter
463
    @Setter
464
    @EqualsAndHashCode(callSuper = false)
465
    public static class At extends StripeObject {
×
466
      @SerializedName("standard")
467
      Standard standard;
468

469
      /**
470
       * Type of registration in an EU country.
471
       *
472
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
473
       */
474
      @SerializedName("type")
475
      String type;
476

477
      @Getter
478
      @Setter
479
      @EqualsAndHashCode(callSuper = false)
480
      public static class Standard extends StripeObject {
×
481
        /**
482
         * Place of supply scheme used in an EU standard registration.
483
         *
484
         * <p>One of {@code small_seller}, or {@code standard}.
485
         */
486
        @SerializedName("place_of_supply_scheme")
487
        String placeOfSupplyScheme;
488
      }
489
    }
490

491
    @Getter
492
    @Setter
493
    @EqualsAndHashCode(callSuper = false)
494
    public static class Au extends StripeObject {
×
495
      /**
496
       * Type of registration in {@code country}.
497
       *
498
       * <p>Equal to {@code standard}.
499
       */
500
      @SerializedName("type")
501
      String type;
502
    }
503

504
    @Getter
505
    @Setter
506
    @EqualsAndHashCode(callSuper = false)
507
    public static class Be extends StripeObject {
×
508
      @SerializedName("standard")
509
      Standard standard;
510

511
      /**
512
       * Type of registration in an EU country.
513
       *
514
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
515
       */
516
      @SerializedName("type")
517
      String type;
518

519
      @Getter
520
      @Setter
521
      @EqualsAndHashCode(callSuper = false)
522
      public static class Standard extends StripeObject {
×
523
        /**
524
         * Place of supply scheme used in an EU standard registration.
525
         *
526
         * <p>One of {@code small_seller}, or {@code standard}.
527
         */
528
        @SerializedName("place_of_supply_scheme")
529
        String placeOfSupplyScheme;
530
      }
531
    }
532

533
    @Getter
534
    @Setter
535
    @EqualsAndHashCode(callSuper = false)
536
    public static class Bg extends StripeObject {
×
537
      @SerializedName("standard")
538
      Standard standard;
539

540
      /**
541
       * Type of registration in an EU country.
542
       *
543
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
544
       */
545
      @SerializedName("type")
546
      String type;
547

548
      @Getter
549
      @Setter
550
      @EqualsAndHashCode(callSuper = false)
551
      public static class Standard extends StripeObject {
×
552
        /**
553
         * Place of supply scheme used in an EU standard registration.
554
         *
555
         * <p>One of {@code small_seller}, or {@code standard}.
556
         */
557
        @SerializedName("place_of_supply_scheme")
558
        String placeOfSupplyScheme;
559
      }
560
    }
561

562
    @Getter
563
    @Setter
564
    @EqualsAndHashCode(callSuper = false)
565
    public static class Bh extends StripeObject {
×
566
      /**
567
       * Type of registration in {@code country}.
568
       *
569
       * <p>Equal to {@code standard}.
570
       */
571
      @SerializedName("type")
572
      String type;
573
    }
574

575
    @Getter
576
    @Setter
577
    @EqualsAndHashCode(callSuper = false)
NEW
578
    public static class By extends StripeObject {
×
579
      /**
580
       * Type of registration in {@code country}.
581
       *
582
       * <p>Equal to {@code simplified}.
583
       */
584
      @SerializedName("type")
585
      String type;
586
    }
587

588
    @Getter
589
    @Setter
590
    @EqualsAndHashCode(callSuper = false)
591
    public static class Ca extends StripeObject {
×
592
      @SerializedName("province_standard")
593
      ProvinceStandard provinceStandard;
594

595
      /**
596
       * Type of registration in Canada.
597
       *
598
       * <p>One of {@code province_standard}, {@code simplified}, or {@code standard}.
599
       */
600
      @SerializedName("type")
601
      String type;
602

603
      @Getter
604
      @Setter
605
      @EqualsAndHashCode(callSuper = false)
606
      public static class ProvinceStandard extends StripeObject {
×
607
        /**
608
         * Two-letter CA province code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
609
         * 3166-2</a>).
610
         */
611
        @SerializedName("province")
612
        String province;
613
      }
614
    }
615

616
    @Getter
617
    @Setter
618
    @EqualsAndHashCode(callSuper = false)
619
    public static class Ch extends StripeObject {
×
620
      /**
621
       * Type of registration in {@code country}.
622
       *
623
       * <p>Equal to {@code standard}.
624
       */
625
      @SerializedName("type")
626
      String type;
627
    }
628

629
    @Getter
630
    @Setter
631
    @EqualsAndHashCode(callSuper = false)
632
    public static class Cl extends StripeObject {
×
633
      /**
634
       * Type of registration in {@code country}.
635
       *
636
       * <p>Equal to {@code simplified}.
637
       */
638
      @SerializedName("type")
639
      String type;
640
    }
641

642
    @Getter
643
    @Setter
644
    @EqualsAndHashCode(callSuper = false)
645
    public static class Co extends StripeObject {
×
646
      /**
647
       * Type of registration in {@code country}.
648
       *
649
       * <p>Equal to {@code simplified}.
650
       */
651
      @SerializedName("type")
652
      String type;
653
    }
654

655
    @Getter
656
    @Setter
657
    @EqualsAndHashCode(callSuper = false)
NEW
658
    public static class Cr extends StripeObject {
×
659
      /**
660
       * Type of registration in {@code country}.
661
       *
662
       * <p>Equal to {@code simplified}.
663
       */
664
      @SerializedName("type")
665
      String type;
666
    }
667

668
    @Getter
669
    @Setter
670
    @EqualsAndHashCode(callSuper = false)
671
    public static class Cy extends StripeObject {
×
672
      @SerializedName("standard")
673
      Standard standard;
674

675
      /**
676
       * Type of registration in an EU country.
677
       *
678
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
679
       */
680
      @SerializedName("type")
681
      String type;
682

683
      @Getter
684
      @Setter
685
      @EqualsAndHashCode(callSuper = false)
686
      public static class Standard extends StripeObject {
×
687
        /**
688
         * Place of supply scheme used in an EU standard registration.
689
         *
690
         * <p>One of {@code small_seller}, or {@code standard}.
691
         */
692
        @SerializedName("place_of_supply_scheme")
693
        String placeOfSupplyScheme;
694
      }
695
    }
696

697
    @Getter
698
    @Setter
699
    @EqualsAndHashCode(callSuper = false)
700
    public static class Cz extends StripeObject {
×
701
      @SerializedName("standard")
702
      Standard standard;
703

704
      /**
705
       * Type of registration in an EU country.
706
       *
707
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
708
       */
709
      @SerializedName("type")
710
      String type;
711

712
      @Getter
713
      @Setter
714
      @EqualsAndHashCode(callSuper = false)
715
      public static class Standard extends StripeObject {
×
716
        /**
717
         * Place of supply scheme used in an EU standard registration.
718
         *
719
         * <p>One of {@code small_seller}, or {@code standard}.
720
         */
721
        @SerializedName("place_of_supply_scheme")
722
        String placeOfSupplyScheme;
723
      }
724
    }
725

726
    @Getter
727
    @Setter
728
    @EqualsAndHashCode(callSuper = false)
729
    public static class De extends StripeObject {
×
730
      @SerializedName("standard")
731
      Standard standard;
732

733
      /**
734
       * Type of registration in an EU country.
735
       *
736
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
737
       */
738
      @SerializedName("type")
739
      String type;
740

741
      @Getter
742
      @Setter
743
      @EqualsAndHashCode(callSuper = false)
744
      public static class Standard extends StripeObject {
×
745
        /**
746
         * Place of supply scheme used in an EU standard registration.
747
         *
748
         * <p>One of {@code small_seller}, or {@code standard}.
749
         */
750
        @SerializedName("place_of_supply_scheme")
751
        String placeOfSupplyScheme;
752
      }
753
    }
754

755
    @Getter
756
    @Setter
757
    @EqualsAndHashCode(callSuper = false)
758
    public static class Dk extends StripeObject {
×
759
      @SerializedName("standard")
760
      Standard standard;
761

762
      /**
763
       * Type of registration in an EU country.
764
       *
765
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
766
       */
767
      @SerializedName("type")
768
      String type;
769

770
      @Getter
771
      @Setter
772
      @EqualsAndHashCode(callSuper = false)
773
      public static class Standard extends StripeObject {
×
774
        /**
775
         * Place of supply scheme used in an EU standard registration.
776
         *
777
         * <p>One of {@code small_seller}, or {@code standard}.
778
         */
779
        @SerializedName("place_of_supply_scheme")
780
        String placeOfSupplyScheme;
781
      }
782
    }
783

784
    @Getter
785
    @Setter
786
    @EqualsAndHashCode(callSuper = false)
NEW
787
    public static class Ec extends StripeObject {
×
788
      /**
789
       * Type of registration in {@code country}.
790
       *
791
       * <p>Equal to {@code simplified}.
792
       */
793
      @SerializedName("type")
794
      String type;
795
    }
796

797
    @Getter
798
    @Setter
799
    @EqualsAndHashCode(callSuper = false)
800
    public static class Ee extends StripeObject {
×
801
      @SerializedName("standard")
802
      Standard standard;
803

804
      /**
805
       * Type of registration in an EU country.
806
       *
807
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
808
       */
809
      @SerializedName("type")
810
      String type;
811

812
      @Getter
813
      @Setter
814
      @EqualsAndHashCode(callSuper = false)
815
      public static class Standard extends StripeObject {
×
816
        /**
817
         * Place of supply scheme used in an EU standard registration.
818
         *
819
         * <p>One of {@code small_seller}, or {@code standard}.
820
         */
821
        @SerializedName("place_of_supply_scheme")
822
        String placeOfSupplyScheme;
823
      }
824
    }
825

826
    @Getter
827
    @Setter
828
    @EqualsAndHashCode(callSuper = false)
829
    public static class Eg extends StripeObject {
×
830
      /**
831
       * Type of registration in {@code country}.
832
       *
833
       * <p>Equal to {@code simplified}.
834
       */
835
      @SerializedName("type")
836
      String type;
837
    }
838

839
    @Getter
840
    @Setter
841
    @EqualsAndHashCode(callSuper = false)
842
    public static class Es extends StripeObject {
×
843
      @SerializedName("standard")
844
      Standard standard;
845

846
      /**
847
       * Type of registration in an EU country.
848
       *
849
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
850
       */
851
      @SerializedName("type")
852
      String type;
853

854
      @Getter
855
      @Setter
856
      @EqualsAndHashCode(callSuper = false)
857
      public static class Standard extends StripeObject {
×
858
        /**
859
         * Place of supply scheme used in an EU standard registration.
860
         *
861
         * <p>One of {@code small_seller}, or {@code standard}.
862
         */
863
        @SerializedName("place_of_supply_scheme")
864
        String placeOfSupplyScheme;
865
      }
866
    }
867

868
    @Getter
869
    @Setter
870
    @EqualsAndHashCode(callSuper = false)
871
    public static class Fi extends StripeObject {
×
872
      @SerializedName("standard")
873
      Standard standard;
874

875
      /**
876
       * Type of registration in an EU country.
877
       *
878
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
879
       */
880
      @SerializedName("type")
881
      String type;
882

883
      @Getter
884
      @Setter
885
      @EqualsAndHashCode(callSuper = false)
886
      public static class Standard extends StripeObject {
×
887
        /**
888
         * Place of supply scheme used in an EU standard registration.
889
         *
890
         * <p>One of {@code small_seller}, or {@code standard}.
891
         */
892
        @SerializedName("place_of_supply_scheme")
893
        String placeOfSupplyScheme;
894
      }
895
    }
896

897
    @Getter
898
    @Setter
899
    @EqualsAndHashCode(callSuper = false)
900
    public static class Fr extends StripeObject {
×
901
      @SerializedName("standard")
902
      Standard standard;
903

904
      /**
905
       * Type of registration in an EU country.
906
       *
907
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
908
       */
909
      @SerializedName("type")
910
      String type;
911

912
      @Getter
913
      @Setter
914
      @EqualsAndHashCode(callSuper = false)
915
      public static class Standard extends StripeObject {
×
916
        /**
917
         * Place of supply scheme used in an EU standard registration.
918
         *
919
         * <p>One of {@code small_seller}, or {@code standard}.
920
         */
921
        @SerializedName("place_of_supply_scheme")
922
        String placeOfSupplyScheme;
923
      }
924
    }
925

926
    @Getter
927
    @Setter
928
    @EqualsAndHashCode(callSuper = false)
929
    public static class Gb extends StripeObject {
×
930
      /**
931
       * Type of registration in {@code country}.
932
       *
933
       * <p>Equal to {@code standard}.
934
       */
935
      @SerializedName("type")
936
      String type;
937
    }
938

939
    @Getter
940
    @Setter
941
    @EqualsAndHashCode(callSuper = false)
942
    public static class Ge extends StripeObject {
×
943
      /**
944
       * Type of registration in {@code country}.
945
       *
946
       * <p>Equal to {@code simplified}.
947
       */
948
      @SerializedName("type")
949
      String type;
950
    }
951

952
    @Getter
953
    @Setter
954
    @EqualsAndHashCode(callSuper = false)
955
    public static class Gr extends StripeObject {
×
956
      @SerializedName("standard")
957
      Standard standard;
958

959
      /**
960
       * Type of registration in an EU country.
961
       *
962
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
963
       */
964
      @SerializedName("type")
965
      String type;
966

967
      @Getter
968
      @Setter
969
      @EqualsAndHashCode(callSuper = false)
970
      public static class Standard extends StripeObject {
×
971
        /**
972
         * Place of supply scheme used in an EU standard registration.
973
         *
974
         * <p>One of {@code small_seller}, or {@code standard}.
975
         */
976
        @SerializedName("place_of_supply_scheme")
977
        String placeOfSupplyScheme;
978
      }
979
    }
980

981
    @Getter
982
    @Setter
983
    @EqualsAndHashCode(callSuper = false)
984
    public static class Hr extends StripeObject {
×
985
      @SerializedName("standard")
986
      Standard standard;
987

988
      /**
989
       * Type of registration in an EU country.
990
       *
991
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
992
       */
993
      @SerializedName("type")
994
      String type;
995

996
      @Getter
997
      @Setter
998
      @EqualsAndHashCode(callSuper = false)
999
      public static class Standard extends StripeObject {
×
1000
        /**
1001
         * Place of supply scheme used in an EU standard registration.
1002
         *
1003
         * <p>One of {@code small_seller}, or {@code standard}.
1004
         */
1005
        @SerializedName("place_of_supply_scheme")
1006
        String placeOfSupplyScheme;
1007
      }
1008
    }
1009

1010
    @Getter
1011
    @Setter
1012
    @EqualsAndHashCode(callSuper = false)
1013
    public static class Hu extends StripeObject {
×
1014
      @SerializedName("standard")
1015
      Standard standard;
1016

1017
      /**
1018
       * Type of registration in an EU country.
1019
       *
1020
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1021
       */
1022
      @SerializedName("type")
1023
      String type;
1024

1025
      @Getter
1026
      @Setter
1027
      @EqualsAndHashCode(callSuper = false)
1028
      public static class Standard extends StripeObject {
×
1029
        /**
1030
         * Place of supply scheme used in an EU standard registration.
1031
         *
1032
         * <p>One of {@code small_seller}, or {@code standard}.
1033
         */
1034
        @SerializedName("place_of_supply_scheme")
1035
        String placeOfSupplyScheme;
1036
      }
1037
    }
1038

1039
    @Getter
1040
    @Setter
1041
    @EqualsAndHashCode(callSuper = false)
1042
    public static class Id extends StripeObject {
×
1043
      /**
1044
       * Type of registration in {@code country}.
1045
       *
1046
       * <p>Equal to {@code simplified}.
1047
       */
1048
      @SerializedName("type")
1049
      String type;
1050
    }
1051

1052
    @Getter
1053
    @Setter
1054
    @EqualsAndHashCode(callSuper = false)
1055
    public static class Ie extends StripeObject {
×
1056
      @SerializedName("standard")
1057
      Standard standard;
1058

1059
      /**
1060
       * Type of registration in an EU country.
1061
       *
1062
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1063
       */
1064
      @SerializedName("type")
1065
      String type;
1066

1067
      @Getter
1068
      @Setter
1069
      @EqualsAndHashCode(callSuper = false)
1070
      public static class Standard extends StripeObject {
×
1071
        /**
1072
         * Place of supply scheme used in an EU standard registration.
1073
         *
1074
         * <p>One of {@code small_seller}, or {@code standard}.
1075
         */
1076
        @SerializedName("place_of_supply_scheme")
1077
        String placeOfSupplyScheme;
1078
      }
1079
    }
1080

1081
    @Getter
1082
    @Setter
1083
    @EqualsAndHashCode(callSuper = false)
1084
    public static class Is extends StripeObject {
×
1085
      /**
1086
       * Type of registration in {@code country}.
1087
       *
1088
       * <p>Equal to {@code standard}.
1089
       */
1090
      @SerializedName("type")
1091
      String type;
1092
    }
1093

1094
    @Getter
1095
    @Setter
1096
    @EqualsAndHashCode(callSuper = false)
1097
    public static class It extends StripeObject {
×
1098
      @SerializedName("standard")
1099
      Standard standard;
1100

1101
      /**
1102
       * Type of registration in an EU country.
1103
       *
1104
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1105
       */
1106
      @SerializedName("type")
1107
      String type;
1108

1109
      @Getter
1110
      @Setter
1111
      @EqualsAndHashCode(callSuper = false)
1112
      public static class Standard extends StripeObject {
×
1113
        /**
1114
         * Place of supply scheme used in an EU standard registration.
1115
         *
1116
         * <p>One of {@code small_seller}, or {@code standard}.
1117
         */
1118
        @SerializedName("place_of_supply_scheme")
1119
        String placeOfSupplyScheme;
1120
      }
1121
    }
1122

1123
    @Getter
1124
    @Setter
1125
    @EqualsAndHashCode(callSuper = false)
1126
    public static class Jp extends StripeObject {
×
1127
      /**
1128
       * Type of registration in {@code country}.
1129
       *
1130
       * <p>Equal to {@code standard}.
1131
       */
1132
      @SerializedName("type")
1133
      String type;
1134
    }
1135

1136
    @Getter
1137
    @Setter
1138
    @EqualsAndHashCode(callSuper = false)
1139
    public static class Ke extends StripeObject {
×
1140
      /**
1141
       * Type of registration in {@code country}.
1142
       *
1143
       * <p>Equal to {@code simplified}.
1144
       */
1145
      @SerializedName("type")
1146
      String type;
1147
    }
1148

1149
    @Getter
1150
    @Setter
1151
    @EqualsAndHashCode(callSuper = false)
1152
    public static class Kr extends StripeObject {
×
1153
      /**
1154
       * Type of registration in {@code country}.
1155
       *
1156
       * <p>Equal to {@code simplified}.
1157
       */
1158
      @SerializedName("type")
1159
      String type;
1160
    }
1161

1162
    @Getter
1163
    @Setter
1164
    @EqualsAndHashCode(callSuper = false)
1165
    public static class Kz extends StripeObject {
×
1166
      /**
1167
       * Type of registration in {@code country}.
1168
       *
1169
       * <p>Equal to {@code simplified}.
1170
       */
1171
      @SerializedName("type")
1172
      String type;
1173
    }
1174

1175
    @Getter
1176
    @Setter
1177
    @EqualsAndHashCode(callSuper = false)
1178
    public static class Lt extends StripeObject {
×
1179
      @SerializedName("standard")
1180
      Standard standard;
1181

1182
      /**
1183
       * Type of registration in an EU country.
1184
       *
1185
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1186
       */
1187
      @SerializedName("type")
1188
      String type;
1189

1190
      @Getter
1191
      @Setter
1192
      @EqualsAndHashCode(callSuper = false)
1193
      public static class Standard extends StripeObject {
×
1194
        /**
1195
         * Place of supply scheme used in an EU standard registration.
1196
         *
1197
         * <p>One of {@code small_seller}, or {@code standard}.
1198
         */
1199
        @SerializedName("place_of_supply_scheme")
1200
        String placeOfSupplyScheme;
1201
      }
1202
    }
1203

1204
    @Getter
1205
    @Setter
1206
    @EqualsAndHashCode(callSuper = false)
1207
    public static class Lu extends StripeObject {
×
1208
      @SerializedName("standard")
1209
      Standard standard;
1210

1211
      /**
1212
       * Type of registration in an EU country.
1213
       *
1214
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1215
       */
1216
      @SerializedName("type")
1217
      String type;
1218

1219
      @Getter
1220
      @Setter
1221
      @EqualsAndHashCode(callSuper = false)
1222
      public static class Standard extends StripeObject {
×
1223
        /**
1224
         * Place of supply scheme used in an EU standard registration.
1225
         *
1226
         * <p>One of {@code small_seller}, or {@code standard}.
1227
         */
1228
        @SerializedName("place_of_supply_scheme")
1229
        String placeOfSupplyScheme;
1230
      }
1231
    }
1232

1233
    @Getter
1234
    @Setter
1235
    @EqualsAndHashCode(callSuper = false)
1236
    public static class Lv extends StripeObject {
×
1237
      @SerializedName("standard")
1238
      Standard standard;
1239

1240
      /**
1241
       * Type of registration in an EU country.
1242
       *
1243
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1244
       */
1245
      @SerializedName("type")
1246
      String type;
1247

1248
      @Getter
1249
      @Setter
1250
      @EqualsAndHashCode(callSuper = false)
1251
      public static class Standard extends StripeObject {
×
1252
        /**
1253
         * Place of supply scheme used in an EU standard registration.
1254
         *
1255
         * <p>One of {@code small_seller}, or {@code standard}.
1256
         */
1257
        @SerializedName("place_of_supply_scheme")
1258
        String placeOfSupplyScheme;
1259
      }
1260
    }
1261

1262
    @Getter
1263
    @Setter
1264
    @EqualsAndHashCode(callSuper = false)
NEW
1265
    public static class Ma extends StripeObject {
×
1266
      /**
1267
       * Type of registration in {@code country}.
1268
       *
1269
       * <p>Equal to {@code simplified}.
1270
       */
1271
      @SerializedName("type")
1272
      String type;
1273
    }
1274

1275
    @Getter
1276
    @Setter
1277
    @EqualsAndHashCode(callSuper = false)
NEW
1278
    public static class Md extends StripeObject {
×
1279
      /**
1280
       * Type of registration in {@code country}.
1281
       *
1282
       * <p>Equal to {@code simplified}.
1283
       */
1284
      @SerializedName("type")
1285
      String type;
1286
    }
1287

1288
    @Getter
1289
    @Setter
1290
    @EqualsAndHashCode(callSuper = false)
1291
    public static class Mt extends StripeObject {
×
1292
      @SerializedName("standard")
1293
      Standard standard;
1294

1295
      /**
1296
       * Type of registration in an EU country.
1297
       *
1298
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1299
       */
1300
      @SerializedName("type")
1301
      String type;
1302

1303
      @Getter
1304
      @Setter
1305
      @EqualsAndHashCode(callSuper = false)
1306
      public static class Standard extends StripeObject {
×
1307
        /**
1308
         * Place of supply scheme used in an EU standard registration.
1309
         *
1310
         * <p>One of {@code small_seller}, or {@code standard}.
1311
         */
1312
        @SerializedName("place_of_supply_scheme")
1313
        String placeOfSupplyScheme;
1314
      }
1315
    }
1316

1317
    @Getter
1318
    @Setter
1319
    @EqualsAndHashCode(callSuper = false)
1320
    public static class Mx extends StripeObject {
×
1321
      /**
1322
       * Type of registration in {@code country}.
1323
       *
1324
       * <p>Equal to {@code simplified}.
1325
       */
1326
      @SerializedName("type")
1327
      String type;
1328
    }
1329

1330
    @Getter
1331
    @Setter
1332
    @EqualsAndHashCode(callSuper = false)
1333
    public static class My extends StripeObject {
×
1334
      /**
1335
       * Type of registration in {@code country}.
1336
       *
1337
       * <p>Equal to {@code simplified}.
1338
       */
1339
      @SerializedName("type")
1340
      String type;
1341
    }
1342

1343
    @Getter
1344
    @Setter
1345
    @EqualsAndHashCode(callSuper = false)
1346
    public static class Ng extends StripeObject {
×
1347
      /**
1348
       * Type of registration in {@code country}.
1349
       *
1350
       * <p>Equal to {@code simplified}.
1351
       */
1352
      @SerializedName("type")
1353
      String type;
1354
    }
1355

1356
    @Getter
1357
    @Setter
1358
    @EqualsAndHashCode(callSuper = false)
1359
    public static class Nl extends StripeObject {
×
1360
      @SerializedName("standard")
1361
      Standard standard;
1362

1363
      /**
1364
       * Type of registration in an EU country.
1365
       *
1366
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1367
       */
1368
      @SerializedName("type")
1369
      String type;
1370

1371
      @Getter
1372
      @Setter
1373
      @EqualsAndHashCode(callSuper = false)
1374
      public static class Standard extends StripeObject {
×
1375
        /**
1376
         * Place of supply scheme used in an EU standard registration.
1377
         *
1378
         * <p>One of {@code small_seller}, or {@code standard}.
1379
         */
1380
        @SerializedName("place_of_supply_scheme")
1381
        String placeOfSupplyScheme;
1382
      }
1383
    }
1384

1385
    @Getter
1386
    @Setter
1387
    @EqualsAndHashCode(callSuper = false)
1388
    public static class No extends StripeObject {
×
1389
      /**
1390
       * Type of registration in {@code country}.
1391
       *
1392
       * <p>Equal to {@code standard}.
1393
       */
1394
      @SerializedName("type")
1395
      String type;
1396
    }
1397

1398
    @Getter
1399
    @Setter
1400
    @EqualsAndHashCode(callSuper = false)
1401
    public static class Nz extends StripeObject {
×
1402
      /**
1403
       * Type of registration in {@code country}.
1404
       *
1405
       * <p>Equal to {@code standard}.
1406
       */
1407
      @SerializedName("type")
1408
      String type;
1409
    }
1410

1411
    @Getter
1412
    @Setter
1413
    @EqualsAndHashCode(callSuper = false)
1414
    public static class Om extends StripeObject {
×
1415
      /**
1416
       * Type of registration in {@code country}.
1417
       *
1418
       * <p>Equal to {@code standard}.
1419
       */
1420
      @SerializedName("type")
1421
      String type;
1422
    }
1423

1424
    @Getter
1425
    @Setter
1426
    @EqualsAndHashCode(callSuper = false)
1427
    public static class Pl extends StripeObject {
×
1428
      @SerializedName("standard")
1429
      Standard standard;
1430

1431
      /**
1432
       * Type of registration in an EU country.
1433
       *
1434
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1435
       */
1436
      @SerializedName("type")
1437
      String type;
1438

1439
      @Getter
1440
      @Setter
1441
      @EqualsAndHashCode(callSuper = false)
1442
      public static class Standard extends StripeObject {
×
1443
        /**
1444
         * Place of supply scheme used in an EU standard registration.
1445
         *
1446
         * <p>One of {@code small_seller}, or {@code standard}.
1447
         */
1448
        @SerializedName("place_of_supply_scheme")
1449
        String placeOfSupplyScheme;
1450
      }
1451
    }
1452

1453
    @Getter
1454
    @Setter
1455
    @EqualsAndHashCode(callSuper = false)
1456
    public static class Pt extends StripeObject {
×
1457
      @SerializedName("standard")
1458
      Standard standard;
1459

1460
      /**
1461
       * Type of registration in an EU country.
1462
       *
1463
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1464
       */
1465
      @SerializedName("type")
1466
      String type;
1467

1468
      @Getter
1469
      @Setter
1470
      @EqualsAndHashCode(callSuper = false)
1471
      public static class Standard extends StripeObject {
×
1472
        /**
1473
         * Place of supply scheme used in an EU standard registration.
1474
         *
1475
         * <p>One of {@code small_seller}, or {@code standard}.
1476
         */
1477
        @SerializedName("place_of_supply_scheme")
1478
        String placeOfSupplyScheme;
1479
      }
1480
    }
1481

1482
    @Getter
1483
    @Setter
1484
    @EqualsAndHashCode(callSuper = false)
1485
    public static class Ro extends StripeObject {
×
1486
      @SerializedName("standard")
1487
      Standard standard;
1488

1489
      /**
1490
       * Type of registration in an EU country.
1491
       *
1492
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1493
       */
1494
      @SerializedName("type")
1495
      String type;
1496

1497
      @Getter
1498
      @Setter
1499
      @EqualsAndHashCode(callSuper = false)
1500
      public static class Standard extends StripeObject {
×
1501
        /**
1502
         * Place of supply scheme used in an EU standard registration.
1503
         *
1504
         * <p>One of {@code small_seller}, or {@code standard}.
1505
         */
1506
        @SerializedName("place_of_supply_scheme")
1507
        String placeOfSupplyScheme;
1508
      }
1509
    }
1510

1511
    @Getter
1512
    @Setter
1513
    @EqualsAndHashCode(callSuper = false)
NEW
1514
    public static class Rs extends StripeObject {
×
1515
      /**
1516
       * Type of registration in {@code country}.
1517
       *
1518
       * <p>Equal to {@code standard}.
1519
       */
1520
      @SerializedName("type")
1521
      String type;
1522
    }
1523

1524
    @Getter
1525
    @Setter
1526
    @EqualsAndHashCode(callSuper = false)
NEW
1527
    public static class Ru extends StripeObject {
×
1528
      /**
1529
       * Type of registration in {@code country}.
1530
       *
1531
       * <p>Equal to {@code simplified}.
1532
       */
1533
      @SerializedName("type")
1534
      String type;
1535
    }
1536

1537
    @Getter
1538
    @Setter
1539
    @EqualsAndHashCode(callSuper = false)
1540
    public static class Sa extends StripeObject {
×
1541
      /**
1542
       * Type of registration in {@code country}.
1543
       *
1544
       * <p>Equal to {@code simplified}.
1545
       */
1546
      @SerializedName("type")
1547
      String type;
1548
    }
1549

1550
    @Getter
1551
    @Setter
1552
    @EqualsAndHashCode(callSuper = false)
1553
    public static class Se extends StripeObject {
×
1554
      @SerializedName("standard")
1555
      Standard standard;
1556

1557
      /**
1558
       * Type of registration in an EU country.
1559
       *
1560
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1561
       */
1562
      @SerializedName("type")
1563
      String type;
1564

1565
      @Getter
1566
      @Setter
1567
      @EqualsAndHashCode(callSuper = false)
1568
      public static class Standard extends StripeObject {
×
1569
        /**
1570
         * Place of supply scheme used in an EU standard registration.
1571
         *
1572
         * <p>One of {@code small_seller}, or {@code standard}.
1573
         */
1574
        @SerializedName("place_of_supply_scheme")
1575
        String placeOfSupplyScheme;
1576
      }
1577
    }
1578

1579
    @Getter
1580
    @Setter
1581
    @EqualsAndHashCode(callSuper = false)
1582
    public static class Sg extends StripeObject {
×
1583
      /**
1584
       * Type of registration in {@code country}.
1585
       *
1586
       * <p>Equal to {@code standard}.
1587
       */
1588
      @SerializedName("type")
1589
      String type;
1590
    }
1591

1592
    @Getter
1593
    @Setter
1594
    @EqualsAndHashCode(callSuper = false)
1595
    public static class Si extends StripeObject {
×
1596
      @SerializedName("standard")
1597
      Standard standard;
1598

1599
      /**
1600
       * Type of registration in an EU country.
1601
       *
1602
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1603
       */
1604
      @SerializedName("type")
1605
      String type;
1606

1607
      @Getter
1608
      @Setter
1609
      @EqualsAndHashCode(callSuper = false)
1610
      public static class Standard extends StripeObject {
×
1611
        /**
1612
         * Place of supply scheme used in an EU standard registration.
1613
         *
1614
         * <p>One of {@code small_seller}, or {@code standard}.
1615
         */
1616
        @SerializedName("place_of_supply_scheme")
1617
        String placeOfSupplyScheme;
1618
      }
1619
    }
1620

1621
    @Getter
1622
    @Setter
1623
    @EqualsAndHashCode(callSuper = false)
1624
    public static class Sk extends StripeObject {
×
1625
      @SerializedName("standard")
1626
      Standard standard;
1627

1628
      /**
1629
       * Type of registration in an EU country.
1630
       *
1631
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1632
       */
1633
      @SerializedName("type")
1634
      String type;
1635

1636
      @Getter
1637
      @Setter
1638
      @EqualsAndHashCode(callSuper = false)
1639
      public static class Standard extends StripeObject {
×
1640
        /**
1641
         * Place of supply scheme used in an EU standard registration.
1642
         *
1643
         * <p>One of {@code small_seller}, or {@code standard}.
1644
         */
1645
        @SerializedName("place_of_supply_scheme")
1646
        String placeOfSupplyScheme;
1647
      }
1648
    }
1649

1650
    @Getter
1651
    @Setter
1652
    @EqualsAndHashCode(callSuper = false)
1653
    public static class Th extends StripeObject {
×
1654
      /**
1655
       * Type of registration in {@code country}.
1656
       *
1657
       * <p>Equal to {@code simplified}.
1658
       */
1659
      @SerializedName("type")
1660
      String type;
1661
    }
1662

1663
    @Getter
1664
    @Setter
1665
    @EqualsAndHashCode(callSuper = false)
1666
    public static class Tr extends StripeObject {
×
1667
      /**
1668
       * Type of registration in {@code country}.
1669
       *
1670
       * <p>Equal to {@code simplified}.
1671
       */
1672
      @SerializedName("type")
1673
      String type;
1674
    }
1675

1676
    @Getter
1677
    @Setter
1678
    @EqualsAndHashCode(callSuper = false)
NEW
1679
    public static class Tz extends StripeObject {
×
1680
      /**
1681
       * Type of registration in {@code country}.
1682
       *
1683
       * <p>Equal to {@code simplified}.
1684
       */
1685
      @SerializedName("type")
1686
      String type;
1687
    }
1688

1689
    @Getter
1690
    @Setter
1691
    @EqualsAndHashCode(callSuper = false)
1692
    public static class Us extends StripeObject {
1✔
1693
      @SerializedName("local_amusement_tax")
1694
      LocalAmusementTax localAmusementTax;
1695

1696
      @SerializedName("local_lease_tax")
1697
      LocalLeaseTax localLeaseTax;
1698

1699
      /**
1700
       * Two-letter US state code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
1701
       * 3166-2</a>).
1702
       */
1703
      @SerializedName("state")
1704
      String state;
1705

1706
      @SerializedName("state_sales_tax")
1707
      StateSalesTax stateSalesTax;
1708

1709
      /**
1710
       * Type of registration in the US.
1711
       *
1712
       * <p>One of {@code local_amusement_tax}, {@code local_lease_tax}, {@code
1713
       * state_communications_tax}, {@code state_retail_delivery_fee}, or {@code state_sales_tax}.
1714
       */
1715
      @SerializedName("type")
1716
      String type;
1717

1718
      @Getter
1719
      @Setter
1720
      @EqualsAndHashCode(callSuper = false)
1721
      public static class LocalAmusementTax extends StripeObject {
×
1722
        /**
1723
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
1724
         * representing the local jurisdiction.
1725
         */
1726
        @SerializedName("jurisdiction")
1727
        String jurisdiction;
1728
      }
1729

1730
      @Getter
1731
      @Setter
1732
      @EqualsAndHashCode(callSuper = false)
1733
      public static class LocalLeaseTax extends StripeObject {
×
1734
        /**
1735
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
1736
         * representing the local jurisdiction.
1737
         */
1738
        @SerializedName("jurisdiction")
1739
        String jurisdiction;
1740
      }
1741

1742
      @Getter
1743
      @Setter
1744
      @EqualsAndHashCode(callSuper = false)
1745
      public static class StateSalesTax extends StripeObject {
×
1746
        /** Elections for the state sales tax registration. */
1747
        @SerializedName("elections")
1748
        List<Registration.CountryOptions.Us.StateSalesTax.Election> elections;
1749

1750
        @Getter
1751
        @Setter
1752
        @EqualsAndHashCode(callSuper = false)
1753
        public static class Election extends StripeObject {
×
1754
          /**
1755
           * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
1756
           * representing the local jurisdiction.
1757
           */
1758
          @SerializedName("jurisdiction")
1759
          String jurisdiction;
1760

1761
          /**
1762
           * The type of the election for the state sales tax registration.
1763
           *
1764
           * <p>One of {@code local_use_tax}, {@code simplified_sellers_use_tax}, or {@code
1765
           * single_local_use_tax}.
1766
           */
1767
          @SerializedName("type")
1768
          String type;
1769
        }
1770
      }
1771
    }
1772

1773
    @Getter
1774
    @Setter
1775
    @EqualsAndHashCode(callSuper = false)
NEW
1776
    public static class Uz extends StripeObject {
×
1777
      /**
1778
       * Type of registration in {@code country}.
1779
       *
1780
       * <p>Equal to {@code simplified}.
1781
       */
1782
      @SerializedName("type")
1783
      String type;
1784
    }
1785

1786
    @Getter
1787
    @Setter
1788
    @EqualsAndHashCode(callSuper = false)
1789
    public static class Vn extends StripeObject {
×
1790
      /**
1791
       * Type of registration in {@code country}.
1792
       *
1793
       * <p>Equal to {@code simplified}.
1794
       */
1795
      @SerializedName("type")
1796
      String type;
1797
    }
1798

1799
    @Getter
1800
    @Setter
1801
    @EqualsAndHashCode(callSuper = false)
1802
    public static class Za extends StripeObject {
×
1803
      /**
1804
       * Type of registration in {@code country}.
1805
       *
1806
       * <p>Equal to {@code standard}.
1807
       */
1808
      @SerializedName("type")
1809
      String type;
1810
    }
1811
  }
1812

1813
  @Override
1814
  public void setResponseGetter(StripeResponseGetter responseGetter) {
1815
    super.setResponseGetter(responseGetter);
1✔
1816
    trySetResponseGetter(countryOptions, responseGetter);
1✔
1817
  }
1✔
1818
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc