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

stripe / stripe-java / #16380

30 Aug 2024 07:54PM UTC coverage: 12.882% (-0.004%) from 12.886%
#16380

push

github

web-flow
Merge from master after the changes to not pass api_mode from individual methods (#1857)

* Generate SDK for OpenAPI spec version 1230 (#1856)

* Bump version to 26.9.0

* No need for APIMode to be passed around from individual API methods (#1855)

* Generated code

* Update the code around raw request

* Update the v2 tests to use v2 path

16 of 23 new or added lines in 7 files covered. (69.57%)

706 existing lines in 213 files now uncovered.

18468 of 143365 relevant lines covered (12.88%)

0.13 hits per line

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

13.74
/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.Map;
19
import lombok.EqualsAndHashCode;
20
import lombok.Getter;
21
import lombok.Setter;
22

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

271
    @SerializedName("ca")
272
    Ca ca;
273

274
    @SerializedName("ch")
275
    Ch ch;
276

277
    @SerializedName("cl")
278
    Cl cl;
279

280
    @SerializedName("co")
281
    Co co;
282

283
    @SerializedName("cy")
284
    Cy cy;
285

286
    @SerializedName("cz")
287
    Cz cz;
288

289
    @SerializedName("de")
290
    De de;
291

292
    @SerializedName("dk")
293
    Dk dk;
294

295
    @SerializedName("ee")
296
    Ee ee;
297

298
    @SerializedName("eg")
299
    Eg eg;
300

301
    @SerializedName("es")
302
    Es es;
303

304
    @SerializedName("fi")
305
    Fi fi;
306

307
    @SerializedName("fr")
308
    Fr fr;
309

310
    @SerializedName("gb")
311
    Gb gb;
312

313
    @SerializedName("ge")
314
    Ge ge;
315

316
    @SerializedName("gr")
317
    Gr gr;
318

319
    @SerializedName("hr")
320
    Hr hr;
321

322
    @SerializedName("hu")
323
    Hu hu;
324

325
    @SerializedName("id")
326
    Id id;
327

328
    @SerializedName("ie")
329
    Ie ie;
330

331
    @SerializedName("is")
332
    Is is;
333

334
    @SerializedName("it")
335
    It it;
336

337
    @SerializedName("jp")
338
    Jp jp;
339

340
    @SerializedName("ke")
341
    Ke ke;
342

343
    @SerializedName("kr")
344
    Kr kr;
345

346
    @SerializedName("kz")
347
    Kz kz;
348

349
    @SerializedName("lt")
350
    Lt lt;
351

352
    @SerializedName("lu")
353
    Lu lu;
354

355
    @SerializedName("lv")
356
    Lv lv;
357

358
    @SerializedName("mt")
359
    Mt mt;
360

361
    @SerializedName("mx")
362
    Mx mx;
363

364
    @SerializedName("my")
365
    My my;
366

367
    @SerializedName("ng")
368
    Ng ng;
369

370
    @SerializedName("nl")
371
    Nl nl;
372

373
    @SerializedName("no")
374
    No no;
375

376
    @SerializedName("nz")
377
    Nz nz;
378

379
    @SerializedName("om")
380
    Om om;
381

382
    @SerializedName("pl")
383
    Pl pl;
384

385
    @SerializedName("pt")
386
    Pt pt;
387

388
    @SerializedName("ro")
389
    Ro ro;
390

391
    @SerializedName("sa")
392
    Sa sa;
393

394
    @SerializedName("se")
395
    Se se;
396

397
    @SerializedName("sg")
398
    Sg sg;
399

400
    @SerializedName("si")
401
    Si si;
402

403
    @SerializedName("sk")
404
    Sk sk;
405

406
    @SerializedName("th")
407
    Th th;
408

409
    @SerializedName("tr")
410
    Tr tr;
411

412
    @SerializedName("us")
413
    Us us;
414

415
    @SerializedName("vn")
416
    Vn vn;
417

418
    @SerializedName("za")
419
    Za za;
420

421
    @Getter
422
    @Setter
423
    @EqualsAndHashCode(callSuper = false)
424
    public static class Ae extends StripeObject {
×
425
      /**
426
       * Type of registration in {@code country}.
427
       *
428
       * <p>Equal to {@code standard}.
429
       */
430
      @SerializedName("type")
431
      String type;
432
    }
433

434
    @Getter
435
    @Setter
436
    @EqualsAndHashCode(callSuper = false)
437
    public static class At extends StripeObject {
×
438
      @SerializedName("standard")
439
      Standard standard;
440

441
      /**
442
       * Type of registration in an EU country.
443
       *
444
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
445
       */
446
      @SerializedName("type")
447
      String type;
448

449
      @Getter
450
      @Setter
451
      @EqualsAndHashCode(callSuper = false)
452
      public static class Standard extends StripeObject {
×
453
        /**
454
         * Place of supply scheme used in an EU standard registration.
455
         *
456
         * <p>One of {@code small_seller}, or {@code standard}.
457
         */
458
        @SerializedName("place_of_supply_scheme")
459
        String placeOfSupplyScheme;
460
      }
461
    }
462

463
    @Getter
464
    @Setter
465
    @EqualsAndHashCode(callSuper = false)
466
    public static class Au extends StripeObject {
×
467
      /**
468
       * Type of registration in {@code country}.
469
       *
470
       * <p>Equal to {@code standard}.
471
       */
472
      @SerializedName("type")
473
      String type;
474
    }
475

476
    @Getter
477
    @Setter
478
    @EqualsAndHashCode(callSuper = false)
479
    public static class Be extends StripeObject {
×
480
      @SerializedName("standard")
481
      Standard standard;
482

483
      /**
484
       * Type of registration in an EU country.
485
       *
486
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
487
       */
488
      @SerializedName("type")
489
      String type;
490

491
      @Getter
492
      @Setter
493
      @EqualsAndHashCode(callSuper = false)
494
      public static class Standard extends StripeObject {
×
495
        /**
496
         * Place of supply scheme used in an EU standard registration.
497
         *
498
         * <p>One of {@code small_seller}, or {@code standard}.
499
         */
500
        @SerializedName("place_of_supply_scheme")
501
        String placeOfSupplyScheme;
502
      }
503
    }
504

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

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

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

534
    @Getter
535
    @Setter
536
    @EqualsAndHashCode(callSuper = false)
537
    public static class Bh extends StripeObject {
×
538
      /**
539
       * Type of registration in {@code country}.
540
       *
541
       * <p>Equal to {@code standard}.
542
       */
543
      @SerializedName("type")
544
      String type;
545
    }
546

547
    @Getter
548
    @Setter
549
    @EqualsAndHashCode(callSuper = false)
550
    public static class Ca extends StripeObject {
×
551
      @SerializedName("province_standard")
552
      ProvinceStandard provinceStandard;
553

554
      /**
555
       * Type of registration in Canada.
556
       *
557
       * <p>One of {@code province_standard}, {@code simplified}, or {@code standard}.
558
       */
559
      @SerializedName("type")
560
      String type;
561

562
      @Getter
563
      @Setter
564
      @EqualsAndHashCode(callSuper = false)
565
      public static class ProvinceStandard extends StripeObject {
×
566
        /**
567
         * Two-letter CA province code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
568
         * 3166-2</a>).
569
         */
570
        @SerializedName("province")
571
        String province;
572
      }
573
    }
574

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

588
    @Getter
589
    @Setter
590
    @EqualsAndHashCode(callSuper = false)
591
    public static class Cl extends StripeObject {
×
592
      /**
593
       * Type of registration in {@code country}.
594
       *
595
       * <p>Equal to {@code simplified}.
596
       */
597
      @SerializedName("type")
598
      String type;
599
    }
600

601
    @Getter
602
    @Setter
603
    @EqualsAndHashCode(callSuper = false)
604
    public static class Co extends StripeObject {
×
605
      /**
606
       * Type of registration in {@code country}.
607
       *
608
       * <p>Equal to {@code simplified}.
609
       */
610
      @SerializedName("type")
611
      String type;
612
    }
613

614
    @Getter
615
    @Setter
616
    @EqualsAndHashCode(callSuper = false)
617
    public static class Cy extends StripeObject {
×
618
      @SerializedName("standard")
619
      Standard standard;
620

621
      /**
622
       * Type of registration in an EU country.
623
       *
624
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
625
       */
626
      @SerializedName("type")
627
      String type;
628

629
      @Getter
630
      @Setter
631
      @EqualsAndHashCode(callSuper = false)
632
      public static class Standard extends StripeObject {
×
633
        /**
634
         * Place of supply scheme used in an EU standard registration.
635
         *
636
         * <p>One of {@code small_seller}, or {@code standard}.
637
         */
638
        @SerializedName("place_of_supply_scheme")
639
        String placeOfSupplyScheme;
640
      }
641
    }
642

643
    @Getter
644
    @Setter
645
    @EqualsAndHashCode(callSuper = false)
646
    public static class Cz extends StripeObject {
×
647
      @SerializedName("standard")
648
      Standard standard;
649

650
      /**
651
       * Type of registration in an EU country.
652
       *
653
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
654
       */
655
      @SerializedName("type")
656
      String type;
657

658
      @Getter
659
      @Setter
660
      @EqualsAndHashCode(callSuper = false)
661
      public static class Standard extends StripeObject {
×
662
        /**
663
         * Place of supply scheme used in an EU standard registration.
664
         *
665
         * <p>One of {@code small_seller}, or {@code standard}.
666
         */
667
        @SerializedName("place_of_supply_scheme")
668
        String placeOfSupplyScheme;
669
      }
670
    }
671

672
    @Getter
673
    @Setter
674
    @EqualsAndHashCode(callSuper = false)
675
    public static class De extends StripeObject {
×
676
      @SerializedName("standard")
677
      Standard standard;
678

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

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

701
    @Getter
702
    @Setter
703
    @EqualsAndHashCode(callSuper = false)
704
    public static class Dk extends StripeObject {
×
705
      @SerializedName("standard")
706
      Standard standard;
707

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

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

730
    @Getter
731
    @Setter
732
    @EqualsAndHashCode(callSuper = false)
733
    public static class Ee extends StripeObject {
×
734
      @SerializedName("standard")
735
      Standard standard;
736

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

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

759
    @Getter
760
    @Setter
761
    @EqualsAndHashCode(callSuper = false)
762
    public static class Eg extends StripeObject {
×
763
      /**
764
       * Type of registration in {@code country}.
765
       *
766
       * <p>Equal to {@code simplified}.
767
       */
768
      @SerializedName("type")
769
      String type;
770
    }
771

772
    @Getter
773
    @Setter
774
    @EqualsAndHashCode(callSuper = false)
775
    public static class Es extends StripeObject {
×
776
      @SerializedName("standard")
777
      Standard standard;
778

779
      /**
780
       * Type of registration in an EU country.
781
       *
782
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
783
       */
784
      @SerializedName("type")
785
      String type;
786

787
      @Getter
788
      @Setter
789
      @EqualsAndHashCode(callSuper = false)
790
      public static class Standard extends StripeObject {
×
791
        /**
792
         * Place of supply scheme used in an EU standard registration.
793
         *
794
         * <p>One of {@code small_seller}, or {@code standard}.
795
         */
796
        @SerializedName("place_of_supply_scheme")
797
        String placeOfSupplyScheme;
798
      }
799
    }
800

801
    @Getter
802
    @Setter
803
    @EqualsAndHashCode(callSuper = false)
804
    public static class Fi extends StripeObject {
×
805
      @SerializedName("standard")
806
      Standard standard;
807

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

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

830
    @Getter
831
    @Setter
832
    @EqualsAndHashCode(callSuper = false)
833
    public static class Fr extends StripeObject {
×
834
      @SerializedName("standard")
835
      Standard standard;
836

837
      /**
838
       * Type of registration in an EU country.
839
       *
840
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
841
       */
842
      @SerializedName("type")
843
      String type;
844

845
      @Getter
846
      @Setter
847
      @EqualsAndHashCode(callSuper = false)
848
      public static class Standard extends StripeObject {
×
849
        /**
850
         * Place of supply scheme used in an EU standard registration.
851
         *
852
         * <p>One of {@code small_seller}, or {@code standard}.
853
         */
854
        @SerializedName("place_of_supply_scheme")
855
        String placeOfSupplyScheme;
856
      }
857
    }
858

859
    @Getter
860
    @Setter
861
    @EqualsAndHashCode(callSuper = false)
862
    public static class Gb extends StripeObject {
×
863
      /**
864
       * Type of registration in {@code country}.
865
       *
866
       * <p>Equal to {@code standard}.
867
       */
868
      @SerializedName("type")
869
      String type;
870
    }
871

872
    @Getter
873
    @Setter
874
    @EqualsAndHashCode(callSuper = false)
875
    public static class Ge extends StripeObject {
×
876
      /**
877
       * Type of registration in {@code country}.
878
       *
879
       * <p>Equal to {@code simplified}.
880
       */
881
      @SerializedName("type")
882
      String type;
883
    }
884

885
    @Getter
886
    @Setter
887
    @EqualsAndHashCode(callSuper = false)
888
    public static class Gr extends StripeObject {
×
889
      @SerializedName("standard")
890
      Standard standard;
891

892
      /**
893
       * Type of registration in an EU country.
894
       *
895
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
896
       */
897
      @SerializedName("type")
898
      String type;
899

900
      @Getter
901
      @Setter
902
      @EqualsAndHashCode(callSuper = false)
903
      public static class Standard extends StripeObject {
×
904
        /**
905
         * Place of supply scheme used in an EU standard registration.
906
         *
907
         * <p>One of {@code small_seller}, or {@code standard}.
908
         */
909
        @SerializedName("place_of_supply_scheme")
910
        String placeOfSupplyScheme;
911
      }
912
    }
913

914
    @Getter
915
    @Setter
916
    @EqualsAndHashCode(callSuper = false)
917
    public static class Hr extends StripeObject {
×
918
      @SerializedName("standard")
919
      Standard standard;
920

921
      /**
922
       * Type of registration in an EU country.
923
       *
924
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
925
       */
926
      @SerializedName("type")
927
      String type;
928

929
      @Getter
930
      @Setter
931
      @EqualsAndHashCode(callSuper = false)
932
      public static class Standard extends StripeObject {
×
933
        /**
934
         * Place of supply scheme used in an EU standard registration.
935
         *
936
         * <p>One of {@code small_seller}, or {@code standard}.
937
         */
938
        @SerializedName("place_of_supply_scheme")
939
        String placeOfSupplyScheme;
940
      }
941
    }
942

943
    @Getter
944
    @Setter
945
    @EqualsAndHashCode(callSuper = false)
946
    public static class Hu extends StripeObject {
×
947
      @SerializedName("standard")
948
      Standard standard;
949

950
      /**
951
       * Type of registration in an EU country.
952
       *
953
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
954
       */
955
      @SerializedName("type")
956
      String type;
957

958
      @Getter
959
      @Setter
960
      @EqualsAndHashCode(callSuper = false)
961
      public static class Standard extends StripeObject {
×
962
        /**
963
         * Place of supply scheme used in an EU standard registration.
964
         *
965
         * <p>One of {@code small_seller}, or {@code standard}.
966
         */
967
        @SerializedName("place_of_supply_scheme")
968
        String placeOfSupplyScheme;
969
      }
970
    }
971

972
    @Getter
973
    @Setter
974
    @EqualsAndHashCode(callSuper = false)
975
    public static class Id extends StripeObject {
×
976
      /**
977
       * Type of registration in {@code country}.
978
       *
979
       * <p>Equal to {@code simplified}.
980
       */
981
      @SerializedName("type")
982
      String type;
983
    }
984

985
    @Getter
986
    @Setter
987
    @EqualsAndHashCode(callSuper = false)
988
    public static class Ie extends StripeObject {
×
989
      @SerializedName("standard")
990
      Standard standard;
991

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

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

1014
    @Getter
1015
    @Setter
1016
    @EqualsAndHashCode(callSuper = false)
1017
    public static class Is extends StripeObject {
×
1018
      /**
1019
       * Type of registration in {@code country}.
1020
       *
1021
       * <p>Equal to {@code standard}.
1022
       */
1023
      @SerializedName("type")
1024
      String type;
1025
    }
1026

1027
    @Getter
1028
    @Setter
1029
    @EqualsAndHashCode(callSuper = false)
1030
    public static class It extends StripeObject {
×
1031
      @SerializedName("standard")
1032
      Standard standard;
1033

1034
      /**
1035
       * Type of registration in an EU country.
1036
       *
1037
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1038
       */
1039
      @SerializedName("type")
1040
      String type;
1041

1042
      @Getter
1043
      @Setter
1044
      @EqualsAndHashCode(callSuper = false)
1045
      public static class Standard extends StripeObject {
×
1046
        /**
1047
         * Place of supply scheme used in an EU standard registration.
1048
         *
1049
         * <p>One of {@code small_seller}, or {@code standard}.
1050
         */
1051
        @SerializedName("place_of_supply_scheme")
1052
        String placeOfSupplyScheme;
1053
      }
1054
    }
1055

1056
    @Getter
1057
    @Setter
1058
    @EqualsAndHashCode(callSuper = false)
1059
    public static class Jp extends StripeObject {
×
1060
      /**
1061
       * Type of registration in {@code country}.
1062
       *
1063
       * <p>Equal to {@code standard}.
1064
       */
1065
      @SerializedName("type")
1066
      String type;
1067
    }
1068

1069
    @Getter
1070
    @Setter
1071
    @EqualsAndHashCode(callSuper = false)
1072
    public static class Ke extends StripeObject {
×
1073
      /**
1074
       * Type of registration in {@code country}.
1075
       *
1076
       * <p>Equal to {@code simplified}.
1077
       */
1078
      @SerializedName("type")
1079
      String type;
1080
    }
1081

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

1095
    @Getter
1096
    @Setter
1097
    @EqualsAndHashCode(callSuper = false)
1098
    public static class Kz extends StripeObject {
×
1099
      /**
1100
       * Type of registration in {@code country}.
1101
       *
1102
       * <p>Equal to {@code simplified}.
1103
       */
1104
      @SerializedName("type")
1105
      String type;
1106
    }
1107

1108
    @Getter
1109
    @Setter
1110
    @EqualsAndHashCode(callSuper = false)
1111
    public static class Lt extends StripeObject {
×
1112
      @SerializedName("standard")
1113
      Standard standard;
1114

1115
      /**
1116
       * Type of registration in an EU country.
1117
       *
1118
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1119
       */
1120
      @SerializedName("type")
1121
      String type;
1122

1123
      @Getter
1124
      @Setter
1125
      @EqualsAndHashCode(callSuper = false)
1126
      public static class Standard extends StripeObject {
×
1127
        /**
1128
         * Place of supply scheme used in an EU standard registration.
1129
         *
1130
         * <p>One of {@code small_seller}, or {@code standard}.
1131
         */
1132
        @SerializedName("place_of_supply_scheme")
1133
        String placeOfSupplyScheme;
1134
      }
1135
    }
1136

1137
    @Getter
1138
    @Setter
1139
    @EqualsAndHashCode(callSuper = false)
1140
    public static class Lu extends StripeObject {
×
1141
      @SerializedName("standard")
1142
      Standard standard;
1143

1144
      /**
1145
       * Type of registration in an EU country.
1146
       *
1147
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1148
       */
1149
      @SerializedName("type")
1150
      String type;
1151

1152
      @Getter
1153
      @Setter
1154
      @EqualsAndHashCode(callSuper = false)
1155
      public static class Standard extends StripeObject {
×
1156
        /**
1157
         * Place of supply scheme used in an EU standard registration.
1158
         *
1159
         * <p>One of {@code small_seller}, or {@code standard}.
1160
         */
1161
        @SerializedName("place_of_supply_scheme")
1162
        String placeOfSupplyScheme;
1163
      }
1164
    }
1165

1166
    @Getter
1167
    @Setter
1168
    @EqualsAndHashCode(callSuper = false)
1169
    public static class Lv extends StripeObject {
×
1170
      @SerializedName("standard")
1171
      Standard standard;
1172

1173
      /**
1174
       * Type of registration in an EU country.
1175
       *
1176
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1177
       */
1178
      @SerializedName("type")
1179
      String type;
1180

1181
      @Getter
1182
      @Setter
1183
      @EqualsAndHashCode(callSuper = false)
1184
      public static class Standard extends StripeObject {
×
1185
        /**
1186
         * Place of supply scheme used in an EU standard registration.
1187
         *
1188
         * <p>One of {@code small_seller}, or {@code standard}.
1189
         */
1190
        @SerializedName("place_of_supply_scheme")
1191
        String placeOfSupplyScheme;
1192
      }
1193
    }
1194

1195
    @Getter
1196
    @Setter
1197
    @EqualsAndHashCode(callSuper = false)
1198
    public static class Mt extends StripeObject {
×
1199
      @SerializedName("standard")
1200
      Standard standard;
1201

1202
      /**
1203
       * Type of registration in an EU country.
1204
       *
1205
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1206
       */
1207
      @SerializedName("type")
1208
      String type;
1209

1210
      @Getter
1211
      @Setter
1212
      @EqualsAndHashCode(callSuper = false)
1213
      public static class Standard extends StripeObject {
×
1214
        /**
1215
         * Place of supply scheme used in an EU standard registration.
1216
         *
1217
         * <p>One of {@code small_seller}, or {@code standard}.
1218
         */
1219
        @SerializedName("place_of_supply_scheme")
1220
        String placeOfSupplyScheme;
1221
      }
1222
    }
1223

1224
    @Getter
1225
    @Setter
1226
    @EqualsAndHashCode(callSuper = false)
1227
    public static class Mx extends StripeObject {
×
1228
      /**
1229
       * Type of registration in {@code country}.
1230
       *
1231
       * <p>Equal to {@code simplified}.
1232
       */
1233
      @SerializedName("type")
1234
      String type;
1235
    }
1236

1237
    @Getter
1238
    @Setter
1239
    @EqualsAndHashCode(callSuper = false)
1240
    public static class My extends StripeObject {
×
1241
      /**
1242
       * Type of registration in {@code country}.
1243
       *
1244
       * <p>Equal to {@code simplified}.
1245
       */
1246
      @SerializedName("type")
1247
      String type;
1248
    }
1249

1250
    @Getter
1251
    @Setter
1252
    @EqualsAndHashCode(callSuper = false)
1253
    public static class Ng extends StripeObject {
×
1254
      /**
1255
       * Type of registration in {@code country}.
1256
       *
1257
       * <p>Equal to {@code simplified}.
1258
       */
1259
      @SerializedName("type")
1260
      String type;
1261
    }
1262

1263
    @Getter
1264
    @Setter
1265
    @EqualsAndHashCode(callSuper = false)
1266
    public static class Nl extends StripeObject {
×
1267
      @SerializedName("standard")
1268
      Standard standard;
1269

1270
      /**
1271
       * Type of registration in an EU country.
1272
       *
1273
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1274
       */
1275
      @SerializedName("type")
1276
      String type;
1277

1278
      @Getter
1279
      @Setter
1280
      @EqualsAndHashCode(callSuper = false)
1281
      public static class Standard extends StripeObject {
×
1282
        /**
1283
         * Place of supply scheme used in an EU standard registration.
1284
         *
1285
         * <p>One of {@code small_seller}, or {@code standard}.
1286
         */
1287
        @SerializedName("place_of_supply_scheme")
1288
        String placeOfSupplyScheme;
1289
      }
1290
    }
1291

1292
    @Getter
1293
    @Setter
1294
    @EqualsAndHashCode(callSuper = false)
1295
    public static class No extends StripeObject {
×
1296
      /**
1297
       * Type of registration in {@code country}.
1298
       *
1299
       * <p>Equal to {@code standard}.
1300
       */
1301
      @SerializedName("type")
1302
      String type;
1303
    }
1304

1305
    @Getter
1306
    @Setter
1307
    @EqualsAndHashCode(callSuper = false)
1308
    public static class Nz extends StripeObject {
×
1309
      /**
1310
       * Type of registration in {@code country}.
1311
       *
1312
       * <p>Equal to {@code standard}.
1313
       */
1314
      @SerializedName("type")
1315
      String type;
1316
    }
1317

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

1331
    @Getter
1332
    @Setter
1333
    @EqualsAndHashCode(callSuper = false)
1334
    public static class Pl extends StripeObject {
×
1335
      @SerializedName("standard")
1336
      Standard standard;
1337

1338
      /**
1339
       * Type of registration in an EU country.
1340
       *
1341
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1342
       */
1343
      @SerializedName("type")
1344
      String type;
1345

1346
      @Getter
1347
      @Setter
1348
      @EqualsAndHashCode(callSuper = false)
1349
      public static class Standard extends StripeObject {
×
1350
        /**
1351
         * Place of supply scheme used in an EU standard registration.
1352
         *
1353
         * <p>One of {@code small_seller}, or {@code standard}.
1354
         */
1355
        @SerializedName("place_of_supply_scheme")
1356
        String placeOfSupplyScheme;
1357
      }
1358
    }
1359

1360
    @Getter
1361
    @Setter
1362
    @EqualsAndHashCode(callSuper = false)
1363
    public static class Pt extends StripeObject {
×
1364
      @SerializedName("standard")
1365
      Standard standard;
1366

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

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

1389
    @Getter
1390
    @Setter
1391
    @EqualsAndHashCode(callSuper = false)
1392
    public static class Ro extends StripeObject {
×
1393
      @SerializedName("standard")
1394
      Standard standard;
1395

1396
      /**
1397
       * Type of registration in an EU country.
1398
       *
1399
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1400
       */
1401
      @SerializedName("type")
1402
      String type;
1403

1404
      @Getter
1405
      @Setter
1406
      @EqualsAndHashCode(callSuper = false)
1407
      public static class Standard extends StripeObject {
×
1408
        /**
1409
         * Place of supply scheme used in an EU standard registration.
1410
         *
1411
         * <p>One of {@code small_seller}, or {@code standard}.
1412
         */
1413
        @SerializedName("place_of_supply_scheme")
1414
        String placeOfSupplyScheme;
1415
      }
1416
    }
1417

1418
    @Getter
1419
    @Setter
1420
    @EqualsAndHashCode(callSuper = false)
1421
    public static class Sa extends StripeObject {
×
1422
      /**
1423
       * Type of registration in {@code country}.
1424
       *
1425
       * <p>Equal to {@code simplified}.
1426
       */
1427
      @SerializedName("type")
1428
      String type;
1429
    }
1430

1431
    @Getter
1432
    @Setter
1433
    @EqualsAndHashCode(callSuper = false)
1434
    public static class Se extends StripeObject {
×
1435
      @SerializedName("standard")
1436
      Standard standard;
1437

1438
      /**
1439
       * Type of registration in an EU country.
1440
       *
1441
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1442
       */
1443
      @SerializedName("type")
1444
      String type;
1445

1446
      @Getter
1447
      @Setter
1448
      @EqualsAndHashCode(callSuper = false)
1449
      public static class Standard extends StripeObject {
×
1450
        /**
1451
         * Place of supply scheme used in an EU standard registration.
1452
         *
1453
         * <p>One of {@code small_seller}, or {@code standard}.
1454
         */
1455
        @SerializedName("place_of_supply_scheme")
1456
        String placeOfSupplyScheme;
1457
      }
1458
    }
1459

1460
    @Getter
1461
    @Setter
1462
    @EqualsAndHashCode(callSuper = false)
1463
    public static class Sg extends StripeObject {
×
1464
      /**
1465
       * Type of registration in {@code country}.
1466
       *
1467
       * <p>Equal to {@code standard}.
1468
       */
1469
      @SerializedName("type")
1470
      String type;
1471
    }
1472

1473
    @Getter
1474
    @Setter
1475
    @EqualsAndHashCode(callSuper = false)
1476
    public static class Si extends StripeObject {
×
1477
      @SerializedName("standard")
1478
      Standard standard;
1479

1480
      /**
1481
       * Type of registration in an EU country.
1482
       *
1483
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1484
       */
1485
      @SerializedName("type")
1486
      String type;
1487

1488
      @Getter
1489
      @Setter
1490
      @EqualsAndHashCode(callSuper = false)
1491
      public static class Standard extends StripeObject {
×
1492
        /**
1493
         * Place of supply scheme used in an EU standard registration.
1494
         *
1495
         * <p>One of {@code small_seller}, or {@code standard}.
1496
         */
1497
        @SerializedName("place_of_supply_scheme")
1498
        String placeOfSupplyScheme;
1499
      }
1500
    }
1501

1502
    @Getter
1503
    @Setter
1504
    @EqualsAndHashCode(callSuper = false)
1505
    public static class Sk extends StripeObject {
×
1506
      @SerializedName("standard")
1507
      Standard standard;
1508

1509
      /**
1510
       * Type of registration in an EU country.
1511
       *
1512
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1513
       */
1514
      @SerializedName("type")
1515
      String type;
1516

1517
      @Getter
1518
      @Setter
1519
      @EqualsAndHashCode(callSuper = false)
1520
      public static class Standard extends StripeObject {
×
1521
        /**
1522
         * Place of supply scheme used in an EU standard registration.
1523
         *
1524
         * <p>One of {@code small_seller}, or {@code standard}.
1525
         */
1526
        @SerializedName("place_of_supply_scheme")
1527
        String placeOfSupplyScheme;
1528
      }
1529
    }
1530

1531
    @Getter
1532
    @Setter
1533
    @EqualsAndHashCode(callSuper = false)
1534
    public static class Th extends StripeObject {
×
1535
      /**
1536
       * Type of registration in {@code country}.
1537
       *
1538
       * <p>Equal to {@code simplified}.
1539
       */
1540
      @SerializedName("type")
1541
      String type;
1542
    }
1543

1544
    @Getter
1545
    @Setter
1546
    @EqualsAndHashCode(callSuper = false)
1547
    public static class Tr extends StripeObject {
×
1548
      /**
1549
       * Type of registration in {@code country}.
1550
       *
1551
       * <p>Equal to {@code simplified}.
1552
       */
1553
      @SerializedName("type")
1554
      String type;
1555
    }
1556

1557
    @Getter
1558
    @Setter
1559
    @EqualsAndHashCode(callSuper = false)
1560
    public static class Us extends StripeObject {
1✔
1561
      @SerializedName("local_amusement_tax")
1562
      LocalAmusementTax localAmusementTax;
1563

1564
      @SerializedName("local_lease_tax")
1565
      LocalLeaseTax localLeaseTax;
1566

1567
      /**
1568
       * Two-letter US state code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
1569
       * 3166-2</a>).
1570
       */
1571
      @SerializedName("state")
1572
      String state;
1573

1574
      /**
1575
       * Type of registration in the US.
1576
       *
1577
       * <p>One of {@code local_amusement_tax}, {@code local_lease_tax}, {@code
1578
       * state_communications_tax}, or {@code state_sales_tax}.
1579
       */
1580
      @SerializedName("type")
1581
      String type;
1582

1583
      @Getter
1584
      @Setter
1585
      @EqualsAndHashCode(callSuper = false)
1586
      public static class LocalAmusementTax extends StripeObject {
×
1587
        /**
1588
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
1589
         * representing the local jurisdiction.
1590
         */
1591
        @SerializedName("jurisdiction")
1592
        String jurisdiction;
1593
      }
1594

1595
      @Getter
1596
      @Setter
1597
      @EqualsAndHashCode(callSuper = false)
1598
      public static class LocalLeaseTax extends StripeObject {
×
1599
        /**
1600
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
1601
         * representing the local jurisdiction.
1602
         */
1603
        @SerializedName("jurisdiction")
1604
        String jurisdiction;
1605
      }
1606
    }
1607

1608
    @Getter
1609
    @Setter
1610
    @EqualsAndHashCode(callSuper = false)
1611
    public static class Vn extends StripeObject {
×
1612
      /**
1613
       * Type of registration in {@code country}.
1614
       *
1615
       * <p>Equal to {@code simplified}.
1616
       */
1617
      @SerializedName("type")
1618
      String type;
1619
    }
1620

1621
    @Getter
1622
    @Setter
1623
    @EqualsAndHashCode(callSuper = false)
1624
    public static class Za extends StripeObject {
×
1625
      /**
1626
       * Type of registration in {@code country}.
1627
       *
1628
       * <p>Equal to {@code standard}.
1629
       */
1630
      @SerializedName("type")
1631
      String type;
1632
    }
1633
  }
1634

1635
  @Override
1636
  public void setResponseGetter(StripeResponseGetter responseGetter) {
1637
    super.setResponseGetter(responseGetter);
1✔
1638
    trySetResponseGetter(countryOptions, responseGetter);
1✔
1639
  }
1✔
1640
}
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