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

stripe / stripe-java / #16725

08 Jan 2025 03:19PM UTC coverage: 12.341% (-0.04%) from 12.384%
#16725

Pull #1932

github

web-flow
Merge 1890010d3 into 9aeb03b42
Pull Request #1932: Update generated code for beta

29 of 1339 new or added lines in 25 files covered. (2.17%)

45 existing lines in 12 files now uncovered.

18905 of 153189 relevant lines covered (12.34%)

0.12 hits per line

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

11.04
/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
  /**
251
   * For more details about CountryOptions, please refer to the <a
252
   * href="https://docs.stripe.com/api">API Reference.</a>
253
   */
254
  @Getter
255
  @Setter
256
  @EqualsAndHashCode(callSuper = false)
257
  public static class CountryOptions extends StripeObject {
1✔
258
    @SerializedName("ae")
259
    Ae ae;
260

261
    @SerializedName("al")
262
    Al al;
263

264
    @SerializedName("am")
265
    Am am;
266

267
    @SerializedName("ao")
268
    Ao ao;
269

270
    @SerializedName("at")
271
    At at;
272

273
    @SerializedName("au")
274
    Au au;
275

276
    @SerializedName("ba")
277
    Ba ba;
278

279
    @SerializedName("bb")
280
    Bb bb;
281

282
    @SerializedName("be")
283
    Be be;
284

285
    @SerializedName("bg")
286
    Bg bg;
287

288
    @SerializedName("bh")
289
    Bh bh;
290

291
    @SerializedName("bs")
292
    Bs bs;
293

294
    @SerializedName("by")
295
    By by;
296

297
    @SerializedName("ca")
298
    Ca ca;
299

300
    @SerializedName("cd")
301
    Cd cd;
302

303
    @SerializedName("ch")
304
    Ch ch;
305

306
    @SerializedName("cl")
307
    Cl cl;
308

309
    @SerializedName("co")
310
    Co co;
311

312
    @SerializedName("cr")
313
    Cr cr;
314

315
    @SerializedName("cy")
316
    Cy cy;
317

318
    @SerializedName("cz")
319
    Cz cz;
320

321
    @SerializedName("de")
322
    De de;
323

324
    @SerializedName("dk")
325
    Dk dk;
326

327
    @SerializedName("ec")
328
    Ec ec;
329

330
    @SerializedName("ee")
331
    Ee ee;
332

333
    @SerializedName("eg")
334
    Eg eg;
335

336
    @SerializedName("es")
337
    Es es;
338

339
    @SerializedName("fi")
340
    Fi fi;
341

342
    @SerializedName("fr")
343
    Fr fr;
344

345
    @SerializedName("gb")
346
    Gb gb;
347

348
    @SerializedName("ge")
349
    Ge ge;
350

351
    @SerializedName("gn")
352
    Gn gn;
353

354
    @SerializedName("gr")
355
    Gr gr;
356

357
    @SerializedName("hr")
358
    Hr hr;
359

360
    @SerializedName("hu")
361
    Hu hu;
362

363
    @SerializedName("id")
364
    Id id;
365

366
    @SerializedName("ie")
367
    Ie ie;
368

369
    @SerializedName("is")
370
    Is is;
371

372
    @SerializedName("it")
373
    It it;
374

375
    @SerializedName("jp")
376
    Jp jp;
377

378
    @SerializedName("ke")
379
    Ke ke;
380

381
    @SerializedName("kh")
382
    Kh kh;
383

384
    @SerializedName("kr")
385
    Kr kr;
386

387
    @SerializedName("kz")
388
    Kz kz;
389

390
    @SerializedName("lt")
391
    Lt lt;
392

393
    @SerializedName("lu")
394
    Lu lu;
395

396
    @SerializedName("lv")
397
    Lv lv;
398

399
    @SerializedName("ma")
400
    Ma ma;
401

402
    @SerializedName("md")
403
    Md md;
404

405
    @SerializedName("me")
406
    Me me;
407

408
    @SerializedName("mk")
409
    Mk mk;
410

411
    @SerializedName("mr")
412
    Mr mr;
413

414
    @SerializedName("mt")
415
    Mt mt;
416

417
    @SerializedName("mx")
418
    Mx mx;
419

420
    @SerializedName("my")
421
    My my;
422

423
    @SerializedName("ng")
424
    Ng ng;
425

426
    @SerializedName("nl")
427
    Nl nl;
428

429
    @SerializedName("no")
430
    No no;
431

432
    @SerializedName("np")
433
    Np np;
434

435
    @SerializedName("nz")
436
    Nz nz;
437

438
    @SerializedName("om")
439
    Om om;
440

441
    @SerializedName("pe")
442
    Pe pe;
443

444
    @SerializedName("pl")
445
    Pl pl;
446

447
    @SerializedName("pt")
448
    Pt pt;
449

450
    @SerializedName("ro")
451
    Ro ro;
452

453
    @SerializedName("rs")
454
    Rs rs;
455

456
    @SerializedName("ru")
457
    Ru ru;
458

459
    @SerializedName("sa")
460
    Sa sa;
461

462
    @SerializedName("se")
463
    Se se;
464

465
    @SerializedName("sg")
466
    Sg sg;
467

468
    @SerializedName("si")
469
    Si si;
470

471
    @SerializedName("sk")
472
    Sk sk;
473

474
    @SerializedName("sn")
475
    Sn sn;
476

477
    @SerializedName("sr")
478
    Sr sr;
479

480
    @SerializedName("th")
481
    Th th;
482

483
    @SerializedName("tj")
484
    Tj tj;
485

486
    @SerializedName("tr")
487
    Tr tr;
488

489
    @SerializedName("tz")
490
    Tz tz;
491

492
    @SerializedName("ug")
493
    Ug ug;
494

495
    @SerializedName("us")
496
    Us us;
497

498
    @SerializedName("uy")
499
    Uy uy;
500

501
    @SerializedName("uz")
502
    Uz uz;
503

504
    @SerializedName("vn")
505
    Vn vn;
506

507
    @SerializedName("za")
508
    Za za;
509

510
    @SerializedName("zm")
511
    Zm zm;
512

513
    @SerializedName("zw")
514
    Zw zw;
515

516
    /**
517
     * For more details about Ae, please refer to the <a href="https://docs.stripe.com/api">API
518
     * Reference.</a>
519
     */
520
    @Getter
521
    @Setter
522
    @EqualsAndHashCode(callSuper = false)
523
    public static class Ae extends StripeObject {
×
524
      /**
525
       * Type of registration in {@code country}.
526
       *
527
       * <p>Equal to {@code standard}.
528
       */
529
      @SerializedName("type")
530
      String type;
531
    }
532

533
    /**
534
     * For more details about Al, please refer to the <a href="https://docs.stripe.com/api">API
535
     * Reference.</a>
536
     */
537
    @Getter
538
    @Setter
539
    @EqualsAndHashCode(callSuper = false)
NEW
540
    public static class Al extends StripeObject {
×
541
      /**
542
       * Type of registration in {@code country}.
543
       *
544
       * <p>Equal to {@code standard}.
545
       */
546
      @SerializedName("type")
547
      String type;
548
    }
549

550
    /**
551
     * For more details about Am, please refer to the <a href="https://docs.stripe.com/api">API
552
     * Reference.</a>
553
     */
554
    @Getter
555
    @Setter
556
    @EqualsAndHashCode(callSuper = false)
NEW
557
    public static class Am extends StripeObject {
×
558
      /**
559
       * Type of registration in {@code country}.
560
       *
561
       * <p>Equal to {@code simplified}.
562
       */
563
      @SerializedName("type")
564
      String type;
565
    }
566

567
    /**
568
     * For more details about Ao, please refer to the <a href="https://docs.stripe.com/api">API
569
     * Reference.</a>
570
     */
571
    @Getter
572
    @Setter
573
    @EqualsAndHashCode(callSuper = false)
NEW
574
    public static class Ao extends StripeObject {
×
575
      /**
576
       * Type of registration in {@code country}.
577
       *
578
       * <p>Equal to {@code standard}.
579
       */
580
      @SerializedName("type")
581
      String type;
582
    }
583

584
    /**
585
     * For more details about At, please refer to the <a href="https://docs.stripe.com/api">API
586
     * Reference.</a>
587
     */
588
    @Getter
589
    @Setter
590
    @EqualsAndHashCode(callSuper = false)
591
    public static class At extends StripeObject {
×
592
      @SerializedName("standard")
593
      Standard standard;
594

595
      /**
596
       * Type of registration in an EU country.
597
       *
598
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
599
       */
600
      @SerializedName("type")
601
      String type;
602

603
      /**
604
       * For more details about Standard, please refer to the <a
605
       * href="https://docs.stripe.com/api">API Reference.</a>
606
       */
607
      @Getter
608
      @Setter
609
      @EqualsAndHashCode(callSuper = false)
610
      public static class Standard extends StripeObject {
×
611
        /**
612
         * Place of supply scheme used in an EU standard registration.
613
         *
614
         * <p>One of {@code small_seller}, or {@code standard}.
615
         */
616
        @SerializedName("place_of_supply_scheme")
617
        String placeOfSupplyScheme;
618
      }
619
    }
620

621
    /**
622
     * For more details about Au, please refer to the <a href="https://docs.stripe.com/api">API
623
     * Reference.</a>
624
     */
625
    @Getter
626
    @Setter
627
    @EqualsAndHashCode(callSuper = false)
628
    public static class Au extends StripeObject {
×
629
      /**
630
       * Type of registration in {@code country}.
631
       *
632
       * <p>Equal to {@code standard}.
633
       */
634
      @SerializedName("type")
635
      String type;
636
    }
637

638
    /**
639
     * For more details about Ba, please refer to the <a href="https://docs.stripe.com/api">API
640
     * Reference.</a>
641
     */
642
    @Getter
643
    @Setter
644
    @EqualsAndHashCode(callSuper = false)
NEW
645
    public static class Ba extends StripeObject {
×
646
      /**
647
       * Type of registration in {@code country}.
648
       *
649
       * <p>Equal to {@code standard}.
650
       */
651
      @SerializedName("type")
652
      String type;
653
    }
654

655
    /**
656
     * For more details about Bb, please refer to the <a href="https://docs.stripe.com/api">API
657
     * Reference.</a>
658
     */
659
    @Getter
660
    @Setter
661
    @EqualsAndHashCode(callSuper = false)
NEW
662
    public static class Bb extends StripeObject {
×
663
      /**
664
       * Type of registration in {@code country}.
665
       *
666
       * <p>Equal to {@code standard}.
667
       */
668
      @SerializedName("type")
669
      String type;
670
    }
671

672
    /**
673
     * For more details about Be, please refer to the <a href="https://docs.stripe.com/api">API
674
     * Reference.</a>
675
     */
676
    @Getter
677
    @Setter
678
    @EqualsAndHashCode(callSuper = false)
679
    public static class Be extends StripeObject {
×
680
      @SerializedName("standard")
681
      Standard standard;
682

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

691
      /**
692
       * For more details about Standard, please refer to the <a
693
       * href="https://docs.stripe.com/api">API Reference.</a>
694
       */
695
      @Getter
696
      @Setter
697
      @EqualsAndHashCode(callSuper = false)
698
      public static class Standard extends StripeObject {
×
699
        /**
700
         * Place of supply scheme used in an EU standard registration.
701
         *
702
         * <p>One of {@code small_seller}, or {@code standard}.
703
         */
704
        @SerializedName("place_of_supply_scheme")
705
        String placeOfSupplyScheme;
706
      }
707
    }
708

709
    /**
710
     * For more details about Bg, please refer to the <a href="https://docs.stripe.com/api">API
711
     * Reference.</a>
712
     */
713
    @Getter
714
    @Setter
715
    @EqualsAndHashCode(callSuper = false)
716
    public static class Bg extends StripeObject {
×
717
      @SerializedName("standard")
718
      Standard standard;
719

720
      /**
721
       * Type of registration in an EU country.
722
       *
723
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
724
       */
725
      @SerializedName("type")
726
      String type;
727

728
      /**
729
       * For more details about Standard, please refer to the <a
730
       * href="https://docs.stripe.com/api">API Reference.</a>
731
       */
732
      @Getter
733
      @Setter
734
      @EqualsAndHashCode(callSuper = false)
735
      public static class Standard extends StripeObject {
×
736
        /**
737
         * Place of supply scheme used in an EU standard registration.
738
         *
739
         * <p>One of {@code small_seller}, or {@code standard}.
740
         */
741
        @SerializedName("place_of_supply_scheme")
742
        String placeOfSupplyScheme;
743
      }
744
    }
745

746
    /**
747
     * For more details about Bh, please refer to the <a href="https://docs.stripe.com/api">API
748
     * Reference.</a>
749
     */
750
    @Getter
751
    @Setter
752
    @EqualsAndHashCode(callSuper = false)
753
    public static class Bh extends StripeObject {
×
754
      /**
755
       * Type of registration in {@code country}.
756
       *
757
       * <p>Equal to {@code standard}.
758
       */
759
      @SerializedName("type")
760
      String type;
761
    }
762

763
    /**
764
     * For more details about Bs, please refer to the <a href="https://docs.stripe.com/api">API
765
     * Reference.</a>
766
     */
767
    @Getter
768
    @Setter
769
    @EqualsAndHashCode(callSuper = false)
NEW
770
    public static class Bs extends StripeObject {
×
771
      /**
772
       * Type of registration in {@code country}.
773
       *
774
       * <p>Equal to {@code standard}.
775
       */
776
      @SerializedName("type")
777
      String type;
778
    }
779

780
    /**
781
     * For more details about By, please refer to the <a href="https://docs.stripe.com/api">API
782
     * Reference.</a>
783
     */
784
    @Getter
785
    @Setter
786
    @EqualsAndHashCode(callSuper = false)
787
    public static class By 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
    /**
798
     * For more details about Ca, please refer to the <a href="https://docs.stripe.com/api">API
799
     * Reference.</a>
800
     */
801
    @Getter
802
    @Setter
803
    @EqualsAndHashCode(callSuper = false)
804
    public static class Ca extends StripeObject {
×
805
      @SerializedName("province_standard")
806
      ProvinceStandard provinceStandard;
807

808
      /**
809
       * Type of registration in Canada.
810
       *
811
       * <p>One of {@code province_standard}, {@code simplified}, or {@code standard}.
812
       */
813
      @SerializedName("type")
814
      String type;
815

816
      /**
817
       * For more details about ProvinceStandard, please refer to the <a
818
       * href="https://docs.stripe.com/api">API Reference.</a>
819
       */
820
      @Getter
821
      @Setter
822
      @EqualsAndHashCode(callSuper = false)
823
      public static class ProvinceStandard extends StripeObject {
×
824
        /**
825
         * Two-letter CA province code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
826
         * 3166-2</a>).
827
         */
828
        @SerializedName("province")
829
        String province;
830
      }
831
    }
832

833
    /**
834
     * For more details about Cd, please refer to the <a href="https://docs.stripe.com/api">API
835
     * Reference.</a>
836
     */
837
    @Getter
838
    @Setter
839
    @EqualsAndHashCode(callSuper = false)
NEW
840
    public static class Cd extends StripeObject {
×
841
      /**
842
       * Type of registration in {@code country}.
843
       *
844
       * <p>Equal to {@code standard}.
845
       */
846
      @SerializedName("type")
847
      String type;
848
    }
849

850
    /**
851
     * For more details about Ch, please refer to the <a href="https://docs.stripe.com/api">API
852
     * Reference.</a>
853
     */
854
    @Getter
855
    @Setter
856
    @EqualsAndHashCode(callSuper = false)
857
    public static class Ch extends StripeObject {
×
858
      /**
859
       * Type of registration in {@code country}.
860
       *
861
       * <p>Equal to {@code standard}.
862
       */
863
      @SerializedName("type")
864
      String type;
865
    }
866

867
    /**
868
     * For more details about Cl, please refer to the <a href="https://docs.stripe.com/api">API
869
     * Reference.</a>
870
     */
871
    @Getter
872
    @Setter
873
    @EqualsAndHashCode(callSuper = false)
874
    public static class Cl extends StripeObject {
×
875
      /**
876
       * Type of registration in {@code country}.
877
       *
878
       * <p>Equal to {@code simplified}.
879
       */
880
      @SerializedName("type")
881
      String type;
882
    }
883

884
    /**
885
     * For more details about Co, please refer to the <a href="https://docs.stripe.com/api">API
886
     * Reference.</a>
887
     */
888
    @Getter
889
    @Setter
890
    @EqualsAndHashCode(callSuper = false)
891
    public static class Co extends StripeObject {
×
892
      /**
893
       * Type of registration in {@code country}.
894
       *
895
       * <p>Equal to {@code simplified}.
896
       */
897
      @SerializedName("type")
898
      String type;
899
    }
900

901
    /**
902
     * For more details about Cr, please refer to the <a href="https://docs.stripe.com/api">API
903
     * Reference.</a>
904
     */
905
    @Getter
906
    @Setter
907
    @EqualsAndHashCode(callSuper = false)
908
    public static class Cr extends StripeObject {
×
909
      /**
910
       * Type of registration in {@code country}.
911
       *
912
       * <p>Equal to {@code simplified}.
913
       */
914
      @SerializedName("type")
915
      String type;
916
    }
917

918
    /**
919
     * For more details about Cy, please refer to the <a href="https://docs.stripe.com/api">API
920
     * Reference.</a>
921
     */
922
    @Getter
923
    @Setter
924
    @EqualsAndHashCode(callSuper = false)
925
    public static class Cy extends StripeObject {
×
926
      @SerializedName("standard")
927
      Standard standard;
928

929
      /**
930
       * Type of registration in an EU country.
931
       *
932
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
933
       */
934
      @SerializedName("type")
935
      String type;
936

937
      /**
938
       * For more details about Standard, please refer to the <a
939
       * href="https://docs.stripe.com/api">API Reference.</a>
940
       */
941
      @Getter
942
      @Setter
943
      @EqualsAndHashCode(callSuper = false)
944
      public static class Standard extends StripeObject {
×
945
        /**
946
         * Place of supply scheme used in an EU standard registration.
947
         *
948
         * <p>One of {@code small_seller}, or {@code standard}.
949
         */
950
        @SerializedName("place_of_supply_scheme")
951
        String placeOfSupplyScheme;
952
      }
953
    }
954

955
    /**
956
     * For more details about Cz, please refer to the <a href="https://docs.stripe.com/api">API
957
     * Reference.</a>
958
     */
959
    @Getter
960
    @Setter
961
    @EqualsAndHashCode(callSuper = false)
962
    public static class Cz extends StripeObject {
×
963
      @SerializedName("standard")
964
      Standard standard;
965

966
      /**
967
       * Type of registration in an EU country.
968
       *
969
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
970
       */
971
      @SerializedName("type")
972
      String type;
973

974
      /**
975
       * For more details about Standard, please refer to the <a
976
       * href="https://docs.stripe.com/api">API Reference.</a>
977
       */
978
      @Getter
979
      @Setter
980
      @EqualsAndHashCode(callSuper = false)
981
      public static class Standard extends StripeObject {
×
982
        /**
983
         * Place of supply scheme used in an EU standard registration.
984
         *
985
         * <p>One of {@code small_seller}, or {@code standard}.
986
         */
987
        @SerializedName("place_of_supply_scheme")
988
        String placeOfSupplyScheme;
989
      }
990
    }
991

992
    /**
993
     * For more details about De, please refer to the <a href="https://docs.stripe.com/api">API
994
     * Reference.</a>
995
     */
996
    @Getter
997
    @Setter
998
    @EqualsAndHashCode(callSuper = false)
999
    public static class De extends StripeObject {
×
1000
      @SerializedName("standard")
1001
      Standard standard;
1002

1003
      /**
1004
       * Type of registration in an EU country.
1005
       *
1006
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1007
       */
1008
      @SerializedName("type")
1009
      String type;
1010

1011
      /**
1012
       * For more details about Standard, please refer to the <a
1013
       * href="https://docs.stripe.com/api">API Reference.</a>
1014
       */
1015
      @Getter
1016
      @Setter
1017
      @EqualsAndHashCode(callSuper = false)
1018
      public static class Standard extends StripeObject {
×
1019
        /**
1020
         * Place of supply scheme used in an EU standard registration.
1021
         *
1022
         * <p>One of {@code small_seller}, or {@code standard}.
1023
         */
1024
        @SerializedName("place_of_supply_scheme")
1025
        String placeOfSupplyScheme;
1026
      }
1027
    }
1028

1029
    /**
1030
     * For more details about Dk, please refer to the <a href="https://docs.stripe.com/api">API
1031
     * Reference.</a>
1032
     */
1033
    @Getter
1034
    @Setter
1035
    @EqualsAndHashCode(callSuper = false)
1036
    public static class Dk extends StripeObject {
×
1037
      @SerializedName("standard")
1038
      Standard standard;
1039

1040
      /**
1041
       * Type of registration in an EU country.
1042
       *
1043
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1044
       */
1045
      @SerializedName("type")
1046
      String type;
1047

1048
      /**
1049
       * For more details about Standard, please refer to the <a
1050
       * href="https://docs.stripe.com/api">API Reference.</a>
1051
       */
1052
      @Getter
1053
      @Setter
1054
      @EqualsAndHashCode(callSuper = false)
1055
      public static class Standard extends StripeObject {
×
1056
        /**
1057
         * Place of supply scheme used in an EU standard registration.
1058
         *
1059
         * <p>One of {@code small_seller}, or {@code standard}.
1060
         */
1061
        @SerializedName("place_of_supply_scheme")
1062
        String placeOfSupplyScheme;
1063
      }
1064
    }
1065

1066
    /**
1067
     * For more details about Ec, please refer to the <a href="https://docs.stripe.com/api">API
1068
     * Reference.</a>
1069
     */
1070
    @Getter
1071
    @Setter
1072
    @EqualsAndHashCode(callSuper = false)
1073
    public static class Ec extends StripeObject {
×
1074
      /**
1075
       * Type of registration in {@code country}.
1076
       *
1077
       * <p>Equal to {@code simplified}.
1078
       */
1079
      @SerializedName("type")
1080
      String type;
1081
    }
1082

1083
    /**
1084
     * For more details about Ee, please refer to the <a href="https://docs.stripe.com/api">API
1085
     * Reference.</a>
1086
     */
1087
    @Getter
1088
    @Setter
1089
    @EqualsAndHashCode(callSuper = false)
1090
    public static class Ee extends StripeObject {
×
1091
      @SerializedName("standard")
1092
      Standard standard;
1093

1094
      /**
1095
       * Type of registration in an EU country.
1096
       *
1097
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1098
       */
1099
      @SerializedName("type")
1100
      String type;
1101

1102
      /**
1103
       * For more details about Standard, please refer to the <a
1104
       * href="https://docs.stripe.com/api">API Reference.</a>
1105
       */
1106
      @Getter
1107
      @Setter
1108
      @EqualsAndHashCode(callSuper = false)
1109
      public static class Standard extends StripeObject {
×
1110
        /**
1111
         * Place of supply scheme used in an EU standard registration.
1112
         *
1113
         * <p>One of {@code small_seller}, or {@code standard}.
1114
         */
1115
        @SerializedName("place_of_supply_scheme")
1116
        String placeOfSupplyScheme;
1117
      }
1118
    }
1119

1120
    /**
1121
     * For more details about Eg, please refer to the <a href="https://docs.stripe.com/api">API
1122
     * Reference.</a>
1123
     */
1124
    @Getter
1125
    @Setter
1126
    @EqualsAndHashCode(callSuper = false)
1127
    public static class Eg extends StripeObject {
×
1128
      /**
1129
       * Type of registration in {@code country}.
1130
       *
1131
       * <p>Equal to {@code simplified}.
1132
       */
1133
      @SerializedName("type")
1134
      String type;
1135
    }
1136

1137
    /**
1138
     * For more details about Es, please refer to the <a href="https://docs.stripe.com/api">API
1139
     * Reference.</a>
1140
     */
1141
    @Getter
1142
    @Setter
1143
    @EqualsAndHashCode(callSuper = false)
1144
    public static class Es extends StripeObject {
×
1145
      @SerializedName("standard")
1146
      Standard standard;
1147

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

1156
      /**
1157
       * For more details about Standard, please refer to the <a
1158
       * href="https://docs.stripe.com/api">API Reference.</a>
1159
       */
1160
      @Getter
1161
      @Setter
1162
      @EqualsAndHashCode(callSuper = false)
1163
      public static class Standard extends StripeObject {
×
1164
        /**
1165
         * Place of supply scheme used in an EU standard registration.
1166
         *
1167
         * <p>One of {@code small_seller}, or {@code standard}.
1168
         */
1169
        @SerializedName("place_of_supply_scheme")
1170
        String placeOfSupplyScheme;
1171
      }
1172
    }
1173

1174
    /**
1175
     * For more details about Fi, please refer to the <a href="https://docs.stripe.com/api">API
1176
     * Reference.</a>
1177
     */
1178
    @Getter
1179
    @Setter
1180
    @EqualsAndHashCode(callSuper = false)
1181
    public static class Fi extends StripeObject {
×
1182
      @SerializedName("standard")
1183
      Standard standard;
1184

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

1193
      /**
1194
       * For more details about Standard, please refer to the <a
1195
       * href="https://docs.stripe.com/api">API Reference.</a>
1196
       */
1197
      @Getter
1198
      @Setter
1199
      @EqualsAndHashCode(callSuper = false)
1200
      public static class Standard extends StripeObject {
×
1201
        /**
1202
         * Place of supply scheme used in an EU standard registration.
1203
         *
1204
         * <p>One of {@code small_seller}, or {@code standard}.
1205
         */
1206
        @SerializedName("place_of_supply_scheme")
1207
        String placeOfSupplyScheme;
1208
      }
1209
    }
1210

1211
    /**
1212
     * For more details about Fr, please refer to the <a href="https://docs.stripe.com/api">API
1213
     * Reference.</a>
1214
     */
1215
    @Getter
1216
    @Setter
1217
    @EqualsAndHashCode(callSuper = false)
1218
    public static class Fr extends StripeObject {
×
1219
      @SerializedName("standard")
1220
      Standard standard;
1221

1222
      /**
1223
       * Type of registration in an EU country.
1224
       *
1225
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1226
       */
1227
      @SerializedName("type")
1228
      String type;
1229

1230
      /**
1231
       * For more details about Standard, please refer to the <a
1232
       * href="https://docs.stripe.com/api">API Reference.</a>
1233
       */
1234
      @Getter
1235
      @Setter
1236
      @EqualsAndHashCode(callSuper = false)
1237
      public static class Standard extends StripeObject {
×
1238
        /**
1239
         * Place of supply scheme used in an EU standard registration.
1240
         *
1241
         * <p>One of {@code small_seller}, or {@code standard}.
1242
         */
1243
        @SerializedName("place_of_supply_scheme")
1244
        String placeOfSupplyScheme;
1245
      }
1246
    }
1247

1248
    /**
1249
     * For more details about Gb, please refer to the <a href="https://docs.stripe.com/api">API
1250
     * Reference.</a>
1251
     */
1252
    @Getter
1253
    @Setter
1254
    @EqualsAndHashCode(callSuper = false)
1255
    public static class Gb extends StripeObject {
×
1256
      /**
1257
       * Type of registration in {@code country}.
1258
       *
1259
       * <p>Equal to {@code standard}.
1260
       */
1261
      @SerializedName("type")
1262
      String type;
1263
    }
1264

1265
    /**
1266
     * For more details about Ge, please refer to the <a href="https://docs.stripe.com/api">API
1267
     * Reference.</a>
1268
     */
1269
    @Getter
1270
    @Setter
1271
    @EqualsAndHashCode(callSuper = false)
1272
    public static class Ge extends StripeObject {
×
1273
      /**
1274
       * Type of registration in {@code country}.
1275
       *
1276
       * <p>Equal to {@code simplified}.
1277
       */
1278
      @SerializedName("type")
1279
      String type;
1280
    }
1281

1282
    /**
1283
     * For more details about Gn, please refer to the <a href="https://docs.stripe.com/api">API
1284
     * Reference.</a>
1285
     */
1286
    @Getter
1287
    @Setter
1288
    @EqualsAndHashCode(callSuper = false)
NEW
1289
    public static class Gn extends StripeObject {
×
1290
      /**
1291
       * Type of registration in {@code country}.
1292
       *
1293
       * <p>Equal to {@code standard}.
1294
       */
1295
      @SerializedName("type")
1296
      String type;
1297
    }
1298

1299
    /**
1300
     * For more details about Gr, please refer to the <a href="https://docs.stripe.com/api">API
1301
     * Reference.</a>
1302
     */
1303
    @Getter
1304
    @Setter
1305
    @EqualsAndHashCode(callSuper = false)
1306
    public static class Gr extends StripeObject {
×
1307
      @SerializedName("standard")
1308
      Standard standard;
1309

1310
      /**
1311
       * Type of registration in an EU country.
1312
       *
1313
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1314
       */
1315
      @SerializedName("type")
1316
      String type;
1317

1318
      /**
1319
       * For more details about Standard, please refer to the <a
1320
       * href="https://docs.stripe.com/api">API Reference.</a>
1321
       */
1322
      @Getter
1323
      @Setter
1324
      @EqualsAndHashCode(callSuper = false)
1325
      public static class Standard extends StripeObject {
×
1326
        /**
1327
         * Place of supply scheme used in an EU standard registration.
1328
         *
1329
         * <p>One of {@code small_seller}, or {@code standard}.
1330
         */
1331
        @SerializedName("place_of_supply_scheme")
1332
        String placeOfSupplyScheme;
1333
      }
1334
    }
1335

1336
    /**
1337
     * For more details about Hr, please refer to the <a href="https://docs.stripe.com/api">API
1338
     * Reference.</a>
1339
     */
1340
    @Getter
1341
    @Setter
1342
    @EqualsAndHashCode(callSuper = false)
1343
    public static class Hr extends StripeObject {
×
1344
      @SerializedName("standard")
1345
      Standard standard;
1346

1347
      /**
1348
       * Type of registration in an EU country.
1349
       *
1350
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1351
       */
1352
      @SerializedName("type")
1353
      String type;
1354

1355
      /**
1356
       * For more details about Standard, please refer to the <a
1357
       * href="https://docs.stripe.com/api">API Reference.</a>
1358
       */
1359
      @Getter
1360
      @Setter
1361
      @EqualsAndHashCode(callSuper = false)
1362
      public static class Standard extends StripeObject {
×
1363
        /**
1364
         * Place of supply scheme used in an EU standard registration.
1365
         *
1366
         * <p>One of {@code small_seller}, or {@code standard}.
1367
         */
1368
        @SerializedName("place_of_supply_scheme")
1369
        String placeOfSupplyScheme;
1370
      }
1371
    }
1372

1373
    /**
1374
     * For more details about Hu, please refer to the <a href="https://docs.stripe.com/api">API
1375
     * Reference.</a>
1376
     */
1377
    @Getter
1378
    @Setter
1379
    @EqualsAndHashCode(callSuper = false)
1380
    public static class Hu extends StripeObject {
×
1381
      @SerializedName("standard")
1382
      Standard standard;
1383

1384
      /**
1385
       * Type of registration in an EU country.
1386
       *
1387
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1388
       */
1389
      @SerializedName("type")
1390
      String type;
1391

1392
      /**
1393
       * For more details about Standard, please refer to the <a
1394
       * href="https://docs.stripe.com/api">API Reference.</a>
1395
       */
1396
      @Getter
1397
      @Setter
1398
      @EqualsAndHashCode(callSuper = false)
1399
      public static class Standard extends StripeObject {
×
1400
        /**
1401
         * Place of supply scheme used in an EU standard registration.
1402
         *
1403
         * <p>One of {@code small_seller}, or {@code standard}.
1404
         */
1405
        @SerializedName("place_of_supply_scheme")
1406
        String placeOfSupplyScheme;
1407
      }
1408
    }
1409

1410
    /**
1411
     * For more details about Id, please refer to the <a href="https://docs.stripe.com/api">API
1412
     * Reference.</a>
1413
     */
1414
    @Getter
1415
    @Setter
1416
    @EqualsAndHashCode(callSuper = false)
1417
    public static class Id extends StripeObject {
×
1418
      /**
1419
       * Type of registration in {@code country}.
1420
       *
1421
       * <p>Equal to {@code simplified}.
1422
       */
1423
      @SerializedName("type")
1424
      String type;
1425
    }
1426

1427
    /**
1428
     * For more details about Ie, please refer to the <a href="https://docs.stripe.com/api">API
1429
     * Reference.</a>
1430
     */
1431
    @Getter
1432
    @Setter
1433
    @EqualsAndHashCode(callSuper = false)
1434
    public static class Ie 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
      /**
1447
       * For more details about Standard, please refer to the <a
1448
       * href="https://docs.stripe.com/api">API Reference.</a>
1449
       */
1450
      @Getter
1451
      @Setter
1452
      @EqualsAndHashCode(callSuper = false)
1453
      public static class Standard extends StripeObject {
×
1454
        /**
1455
         * Place of supply scheme used in an EU standard registration.
1456
         *
1457
         * <p>One of {@code small_seller}, or {@code standard}.
1458
         */
1459
        @SerializedName("place_of_supply_scheme")
1460
        String placeOfSupplyScheme;
1461
      }
1462
    }
1463

1464
    /**
1465
     * For more details about Is, please refer to the <a href="https://docs.stripe.com/api">API
1466
     * Reference.</a>
1467
     */
1468
    @Getter
1469
    @Setter
1470
    @EqualsAndHashCode(callSuper = false)
1471
    public static class Is extends StripeObject {
×
1472
      /**
1473
       * Type of registration in {@code country}.
1474
       *
1475
       * <p>Equal to {@code standard}.
1476
       */
1477
      @SerializedName("type")
1478
      String type;
1479
    }
1480

1481
    /**
1482
     * For more details about It, please refer to the <a href="https://docs.stripe.com/api">API
1483
     * Reference.</a>
1484
     */
1485
    @Getter
1486
    @Setter
1487
    @EqualsAndHashCode(callSuper = false)
1488
    public static class It extends StripeObject {
×
1489
      @SerializedName("standard")
1490
      Standard standard;
1491

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

1500
      /**
1501
       * For more details about Standard, please refer to the <a
1502
       * href="https://docs.stripe.com/api">API Reference.</a>
1503
       */
1504
      @Getter
1505
      @Setter
1506
      @EqualsAndHashCode(callSuper = false)
1507
      public static class Standard extends StripeObject {
×
1508
        /**
1509
         * Place of supply scheme used in an EU standard registration.
1510
         *
1511
         * <p>One of {@code small_seller}, or {@code standard}.
1512
         */
1513
        @SerializedName("place_of_supply_scheme")
1514
        String placeOfSupplyScheme;
1515
      }
1516
    }
1517

1518
    /**
1519
     * For more details about Jp, please refer to the <a href="https://docs.stripe.com/api">API
1520
     * Reference.</a>
1521
     */
1522
    @Getter
1523
    @Setter
1524
    @EqualsAndHashCode(callSuper = false)
1525
    public static class Jp extends StripeObject {
×
1526
      /**
1527
       * Type of registration in {@code country}.
1528
       *
1529
       * <p>Equal to {@code standard}.
1530
       */
1531
      @SerializedName("type")
1532
      String type;
1533
    }
1534

1535
    /**
1536
     * For more details about Ke, please refer to the <a href="https://docs.stripe.com/api">API
1537
     * Reference.</a>
1538
     */
1539
    @Getter
1540
    @Setter
1541
    @EqualsAndHashCode(callSuper = false)
1542
    public static class Ke extends StripeObject {
×
1543
      /**
1544
       * Type of registration in {@code country}.
1545
       *
1546
       * <p>Equal to {@code simplified}.
1547
       */
1548
      @SerializedName("type")
1549
      String type;
1550
    }
1551

1552
    /**
1553
     * For more details about Kh, please refer to the <a href="https://docs.stripe.com/api">API
1554
     * Reference.</a>
1555
     */
1556
    @Getter
1557
    @Setter
1558
    @EqualsAndHashCode(callSuper = false)
NEW
1559
    public static class Kh extends StripeObject {
×
1560
      /**
1561
       * Type of registration in {@code country}.
1562
       *
1563
       * <p>Equal to {@code simplified}.
1564
       */
1565
      @SerializedName("type")
1566
      String type;
1567
    }
1568

1569
    /**
1570
     * For more details about Kr, please refer to the <a href="https://docs.stripe.com/api">API
1571
     * Reference.</a>
1572
     */
1573
    @Getter
1574
    @Setter
1575
    @EqualsAndHashCode(callSuper = false)
1576
    public static class Kr extends StripeObject {
×
1577
      /**
1578
       * Type of registration in {@code country}.
1579
       *
1580
       * <p>Equal to {@code simplified}.
1581
       */
1582
      @SerializedName("type")
1583
      String type;
1584
    }
1585

1586
    /**
1587
     * For more details about Kz, please refer to the <a href="https://docs.stripe.com/api">API
1588
     * Reference.</a>
1589
     */
1590
    @Getter
1591
    @Setter
1592
    @EqualsAndHashCode(callSuper = false)
1593
    public static class Kz extends StripeObject {
×
1594
      /**
1595
       * Type of registration in {@code country}.
1596
       *
1597
       * <p>Equal to {@code simplified}.
1598
       */
1599
      @SerializedName("type")
1600
      String type;
1601
    }
1602

1603
    /**
1604
     * For more details about Lt, please refer to the <a href="https://docs.stripe.com/api">API
1605
     * Reference.</a>
1606
     */
1607
    @Getter
1608
    @Setter
1609
    @EqualsAndHashCode(callSuper = false)
1610
    public static class Lt extends StripeObject {
×
1611
      @SerializedName("standard")
1612
      Standard standard;
1613

1614
      /**
1615
       * Type of registration in an EU country.
1616
       *
1617
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1618
       */
1619
      @SerializedName("type")
1620
      String type;
1621

1622
      /**
1623
       * For more details about Standard, please refer to the <a
1624
       * href="https://docs.stripe.com/api">API Reference.</a>
1625
       */
1626
      @Getter
1627
      @Setter
1628
      @EqualsAndHashCode(callSuper = false)
1629
      public static class Standard extends StripeObject {
×
1630
        /**
1631
         * Place of supply scheme used in an EU standard registration.
1632
         *
1633
         * <p>One of {@code small_seller}, or {@code standard}.
1634
         */
1635
        @SerializedName("place_of_supply_scheme")
1636
        String placeOfSupplyScheme;
1637
      }
1638
    }
1639

1640
    /**
1641
     * For more details about Lu, please refer to the <a href="https://docs.stripe.com/api">API
1642
     * Reference.</a>
1643
     */
1644
    @Getter
1645
    @Setter
1646
    @EqualsAndHashCode(callSuper = false)
1647
    public static class Lu extends StripeObject {
×
1648
      @SerializedName("standard")
1649
      Standard standard;
1650

1651
      /**
1652
       * Type of registration in an EU country.
1653
       *
1654
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1655
       */
1656
      @SerializedName("type")
1657
      String type;
1658

1659
      /**
1660
       * For more details about Standard, please refer to the <a
1661
       * href="https://docs.stripe.com/api">API Reference.</a>
1662
       */
1663
      @Getter
1664
      @Setter
1665
      @EqualsAndHashCode(callSuper = false)
1666
      public static class Standard extends StripeObject {
×
1667
        /**
1668
         * Place of supply scheme used in an EU standard registration.
1669
         *
1670
         * <p>One of {@code small_seller}, or {@code standard}.
1671
         */
1672
        @SerializedName("place_of_supply_scheme")
1673
        String placeOfSupplyScheme;
1674
      }
1675
    }
1676

1677
    /**
1678
     * For more details about Lv, please refer to the <a href="https://docs.stripe.com/api">API
1679
     * Reference.</a>
1680
     */
1681
    @Getter
1682
    @Setter
1683
    @EqualsAndHashCode(callSuper = false)
1684
    public static class Lv extends StripeObject {
×
1685
      @SerializedName("standard")
1686
      Standard standard;
1687

1688
      /**
1689
       * Type of registration in an EU country.
1690
       *
1691
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1692
       */
1693
      @SerializedName("type")
1694
      String type;
1695

1696
      /**
1697
       * For more details about Standard, please refer to the <a
1698
       * href="https://docs.stripe.com/api">API Reference.</a>
1699
       */
1700
      @Getter
1701
      @Setter
1702
      @EqualsAndHashCode(callSuper = false)
1703
      public static class Standard extends StripeObject {
×
1704
        /**
1705
         * Place of supply scheme used in an EU standard registration.
1706
         *
1707
         * <p>One of {@code small_seller}, or {@code standard}.
1708
         */
1709
        @SerializedName("place_of_supply_scheme")
1710
        String placeOfSupplyScheme;
1711
      }
1712
    }
1713

1714
    /**
1715
     * For more details about Ma, please refer to the <a href="https://docs.stripe.com/api">API
1716
     * Reference.</a>
1717
     */
1718
    @Getter
1719
    @Setter
1720
    @EqualsAndHashCode(callSuper = false)
1721
    public static class Ma extends StripeObject {
×
1722
      /**
1723
       * Type of registration in {@code country}.
1724
       *
1725
       * <p>Equal to {@code simplified}.
1726
       */
1727
      @SerializedName("type")
1728
      String type;
1729
    }
1730

1731
    /**
1732
     * For more details about Md, please refer to the <a href="https://docs.stripe.com/api">API
1733
     * Reference.</a>
1734
     */
1735
    @Getter
1736
    @Setter
1737
    @EqualsAndHashCode(callSuper = false)
1738
    public static class Md extends StripeObject {
×
1739
      /**
1740
       * Type of registration in {@code country}.
1741
       *
1742
       * <p>Equal to {@code simplified}.
1743
       */
1744
      @SerializedName("type")
1745
      String type;
1746
    }
1747

1748
    /**
1749
     * For more details about Me, please refer to the <a href="https://docs.stripe.com/api">API
1750
     * Reference.</a>
1751
     */
1752
    @Getter
1753
    @Setter
1754
    @EqualsAndHashCode(callSuper = false)
NEW
1755
    public static class Me extends StripeObject {
×
1756
      /**
1757
       * Type of registration in {@code country}.
1758
       *
1759
       * <p>Equal to {@code standard}.
1760
       */
1761
      @SerializedName("type")
1762
      String type;
1763
    }
1764

1765
    /**
1766
     * For more details about Mk, please refer to the <a href="https://docs.stripe.com/api">API
1767
     * Reference.</a>
1768
     */
1769
    @Getter
1770
    @Setter
1771
    @EqualsAndHashCode(callSuper = false)
NEW
1772
    public static class Mk extends StripeObject {
×
1773
      /**
1774
       * Type of registration in {@code country}.
1775
       *
1776
       * <p>Equal to {@code standard}.
1777
       */
1778
      @SerializedName("type")
1779
      String type;
1780
    }
1781

1782
    /**
1783
     * For more details about Mr, please refer to the <a href="https://docs.stripe.com/api">API
1784
     * Reference.</a>
1785
     */
1786
    @Getter
1787
    @Setter
1788
    @EqualsAndHashCode(callSuper = false)
NEW
1789
    public static class Mr extends StripeObject {
×
1790
      /**
1791
       * Type of registration in {@code country}.
1792
       *
1793
       * <p>Equal to {@code standard}.
1794
       */
1795
      @SerializedName("type")
1796
      String type;
1797
    }
1798

1799
    /**
1800
     * For more details about Mt, please refer to the <a href="https://docs.stripe.com/api">API
1801
     * Reference.</a>
1802
     */
1803
    @Getter
1804
    @Setter
1805
    @EqualsAndHashCode(callSuper = false)
1806
    public static class Mt extends StripeObject {
×
1807
      @SerializedName("standard")
1808
      Standard standard;
1809

1810
      /**
1811
       * Type of registration in an EU country.
1812
       *
1813
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1814
       */
1815
      @SerializedName("type")
1816
      String type;
1817

1818
      /**
1819
       * For more details about Standard, please refer to the <a
1820
       * href="https://docs.stripe.com/api">API Reference.</a>
1821
       */
1822
      @Getter
1823
      @Setter
1824
      @EqualsAndHashCode(callSuper = false)
1825
      public static class Standard extends StripeObject {
×
1826
        /**
1827
         * Place of supply scheme used in an EU standard registration.
1828
         *
1829
         * <p>One of {@code small_seller}, or {@code standard}.
1830
         */
1831
        @SerializedName("place_of_supply_scheme")
1832
        String placeOfSupplyScheme;
1833
      }
1834
    }
1835

1836
    /**
1837
     * For more details about Mx, please refer to the <a href="https://docs.stripe.com/api">API
1838
     * Reference.</a>
1839
     */
1840
    @Getter
1841
    @Setter
1842
    @EqualsAndHashCode(callSuper = false)
1843
    public static class Mx extends StripeObject {
×
1844
      /**
1845
       * Type of registration in {@code country}.
1846
       *
1847
       * <p>Equal to {@code simplified}.
1848
       */
1849
      @SerializedName("type")
1850
      String type;
1851
    }
1852

1853
    /**
1854
     * For more details about My, please refer to the <a href="https://docs.stripe.com/api">API
1855
     * Reference.</a>
1856
     */
1857
    @Getter
1858
    @Setter
1859
    @EqualsAndHashCode(callSuper = false)
1860
    public static class My extends StripeObject {
×
1861
      /**
1862
       * Type of registration in {@code country}.
1863
       *
1864
       * <p>Equal to {@code simplified}.
1865
       */
1866
      @SerializedName("type")
1867
      String type;
1868
    }
1869

1870
    /**
1871
     * For more details about Ng, please refer to the <a href="https://docs.stripe.com/api">API
1872
     * Reference.</a>
1873
     */
1874
    @Getter
1875
    @Setter
1876
    @EqualsAndHashCode(callSuper = false)
1877
    public static class Ng extends StripeObject {
×
1878
      /**
1879
       * Type of registration in {@code country}.
1880
       *
1881
       * <p>Equal to {@code simplified}.
1882
       */
1883
      @SerializedName("type")
1884
      String type;
1885
    }
1886

1887
    /**
1888
     * For more details about Nl, please refer to the <a href="https://docs.stripe.com/api">API
1889
     * Reference.</a>
1890
     */
1891
    @Getter
1892
    @Setter
1893
    @EqualsAndHashCode(callSuper = false)
1894
    public static class Nl extends StripeObject {
×
1895
      @SerializedName("standard")
1896
      Standard standard;
1897

1898
      /**
1899
       * Type of registration in an EU country.
1900
       *
1901
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
1902
       */
1903
      @SerializedName("type")
1904
      String type;
1905

1906
      /**
1907
       * For more details about Standard, please refer to the <a
1908
       * href="https://docs.stripe.com/api">API Reference.</a>
1909
       */
1910
      @Getter
1911
      @Setter
1912
      @EqualsAndHashCode(callSuper = false)
1913
      public static class Standard extends StripeObject {
×
1914
        /**
1915
         * Place of supply scheme used in an EU standard registration.
1916
         *
1917
         * <p>One of {@code small_seller}, or {@code standard}.
1918
         */
1919
        @SerializedName("place_of_supply_scheme")
1920
        String placeOfSupplyScheme;
1921
      }
1922
    }
1923

1924
    /**
1925
     * For more details about No, please refer to the <a href="https://docs.stripe.com/api">API
1926
     * Reference.</a>
1927
     */
1928
    @Getter
1929
    @Setter
1930
    @EqualsAndHashCode(callSuper = false)
1931
    public static class No extends StripeObject {
×
1932
      /**
1933
       * Type of registration in {@code country}.
1934
       *
1935
       * <p>Equal to {@code standard}.
1936
       */
1937
      @SerializedName("type")
1938
      String type;
1939
    }
1940

1941
    /**
1942
     * For more details about Np, please refer to the <a href="https://docs.stripe.com/api">API
1943
     * Reference.</a>
1944
     */
1945
    @Getter
1946
    @Setter
1947
    @EqualsAndHashCode(callSuper = false)
NEW
1948
    public static class Np extends StripeObject {
×
1949
      /**
1950
       * Type of registration in {@code country}.
1951
       *
1952
       * <p>Equal to {@code simplified}.
1953
       */
1954
      @SerializedName("type")
1955
      String type;
1956
    }
1957

1958
    /**
1959
     * For more details about Nz, please refer to the <a href="https://docs.stripe.com/api">API
1960
     * Reference.</a>
1961
     */
1962
    @Getter
1963
    @Setter
1964
    @EqualsAndHashCode(callSuper = false)
1965
    public static class Nz extends StripeObject {
×
1966
      /**
1967
       * Type of registration in {@code country}.
1968
       *
1969
       * <p>Equal to {@code standard}.
1970
       */
1971
      @SerializedName("type")
1972
      String type;
1973
    }
1974

1975
    /**
1976
     * For more details about Om, please refer to the <a href="https://docs.stripe.com/api">API
1977
     * Reference.</a>
1978
     */
1979
    @Getter
1980
    @Setter
1981
    @EqualsAndHashCode(callSuper = false)
1982
    public static class Om extends StripeObject {
×
1983
      /**
1984
       * Type of registration in {@code country}.
1985
       *
1986
       * <p>Equal to {@code standard}.
1987
       */
1988
      @SerializedName("type")
1989
      String type;
1990
    }
1991

1992
    /**
1993
     * For more details about Pe, please refer to the <a href="https://docs.stripe.com/api">API
1994
     * Reference.</a>
1995
     */
1996
    @Getter
1997
    @Setter
1998
    @EqualsAndHashCode(callSuper = false)
NEW
1999
    public static class Pe extends StripeObject {
×
2000
      /**
2001
       * Type of registration in {@code country}.
2002
       *
2003
       * <p>Equal to {@code simplified}.
2004
       */
2005
      @SerializedName("type")
2006
      String type;
2007
    }
2008

2009
    /**
2010
     * For more details about Pl, please refer to the <a href="https://docs.stripe.com/api">API
2011
     * Reference.</a>
2012
     */
2013
    @Getter
2014
    @Setter
2015
    @EqualsAndHashCode(callSuper = false)
2016
    public static class Pl extends StripeObject {
×
2017
      @SerializedName("standard")
2018
      Standard standard;
2019

2020
      /**
2021
       * Type of registration in an EU country.
2022
       *
2023
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2024
       */
2025
      @SerializedName("type")
2026
      String type;
2027

2028
      /**
2029
       * For more details about Standard, please refer to the <a
2030
       * href="https://docs.stripe.com/api">API Reference.</a>
2031
       */
2032
      @Getter
2033
      @Setter
2034
      @EqualsAndHashCode(callSuper = false)
2035
      public static class Standard extends StripeObject {
×
2036
        /**
2037
         * Place of supply scheme used in an EU standard registration.
2038
         *
2039
         * <p>One of {@code small_seller}, or {@code standard}.
2040
         */
2041
        @SerializedName("place_of_supply_scheme")
2042
        String placeOfSupplyScheme;
2043
      }
2044
    }
2045

2046
    /**
2047
     * For more details about Pt, please refer to the <a href="https://docs.stripe.com/api">API
2048
     * Reference.</a>
2049
     */
2050
    @Getter
2051
    @Setter
2052
    @EqualsAndHashCode(callSuper = false)
2053
    public static class Pt extends StripeObject {
×
2054
      @SerializedName("standard")
2055
      Standard standard;
2056

2057
      /**
2058
       * Type of registration in an EU country.
2059
       *
2060
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2061
       */
2062
      @SerializedName("type")
2063
      String type;
2064

2065
      /**
2066
       * For more details about Standard, please refer to the <a
2067
       * href="https://docs.stripe.com/api">API Reference.</a>
2068
       */
2069
      @Getter
2070
      @Setter
2071
      @EqualsAndHashCode(callSuper = false)
2072
      public static class Standard extends StripeObject {
×
2073
        /**
2074
         * Place of supply scheme used in an EU standard registration.
2075
         *
2076
         * <p>One of {@code small_seller}, or {@code standard}.
2077
         */
2078
        @SerializedName("place_of_supply_scheme")
2079
        String placeOfSupplyScheme;
2080
      }
2081
    }
2082

2083
    /**
2084
     * For more details about Ro, please refer to the <a href="https://docs.stripe.com/api">API
2085
     * Reference.</a>
2086
     */
2087
    @Getter
2088
    @Setter
2089
    @EqualsAndHashCode(callSuper = false)
2090
    public static class Ro extends StripeObject {
×
2091
      @SerializedName("standard")
2092
      Standard standard;
2093

2094
      /**
2095
       * Type of registration in an EU country.
2096
       *
2097
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2098
       */
2099
      @SerializedName("type")
2100
      String type;
2101

2102
      /**
2103
       * For more details about Standard, please refer to the <a
2104
       * href="https://docs.stripe.com/api">API Reference.</a>
2105
       */
2106
      @Getter
2107
      @Setter
2108
      @EqualsAndHashCode(callSuper = false)
2109
      public static class Standard extends StripeObject {
×
2110
        /**
2111
         * Place of supply scheme used in an EU standard registration.
2112
         *
2113
         * <p>One of {@code small_seller}, or {@code standard}.
2114
         */
2115
        @SerializedName("place_of_supply_scheme")
2116
        String placeOfSupplyScheme;
2117
      }
2118
    }
2119

2120
    /**
2121
     * For more details about Rs, please refer to the <a href="https://docs.stripe.com/api">API
2122
     * Reference.</a>
2123
     */
2124
    @Getter
2125
    @Setter
2126
    @EqualsAndHashCode(callSuper = false)
2127
    public static class Rs extends StripeObject {
×
2128
      /**
2129
       * Type of registration in {@code country}.
2130
       *
2131
       * <p>Equal to {@code standard}.
2132
       */
2133
      @SerializedName("type")
2134
      String type;
2135
    }
2136

2137
    /**
2138
     * For more details about Ru, please refer to the <a href="https://docs.stripe.com/api">API
2139
     * Reference.</a>
2140
     */
2141
    @Getter
2142
    @Setter
2143
    @EqualsAndHashCode(callSuper = false)
2144
    public static class Ru extends StripeObject {
×
2145
      /**
2146
       * Type of registration in {@code country}.
2147
       *
2148
       * <p>Equal to {@code simplified}.
2149
       */
2150
      @SerializedName("type")
2151
      String type;
2152
    }
2153

2154
    /**
2155
     * For more details about Sa, please refer to the <a href="https://docs.stripe.com/api">API
2156
     * Reference.</a>
2157
     */
2158
    @Getter
2159
    @Setter
2160
    @EqualsAndHashCode(callSuper = false)
2161
    public static class Sa extends StripeObject {
×
2162
      /**
2163
       * Type of registration in {@code country}.
2164
       *
2165
       * <p>Equal to {@code simplified}.
2166
       */
2167
      @SerializedName("type")
2168
      String type;
2169
    }
2170

2171
    /**
2172
     * For more details about Se, please refer to the <a href="https://docs.stripe.com/api">API
2173
     * Reference.</a>
2174
     */
2175
    @Getter
2176
    @Setter
2177
    @EqualsAndHashCode(callSuper = false)
2178
    public static class Se extends StripeObject {
×
2179
      @SerializedName("standard")
2180
      Standard standard;
2181

2182
      /**
2183
       * Type of registration in an EU country.
2184
       *
2185
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2186
       */
2187
      @SerializedName("type")
2188
      String type;
2189

2190
      /**
2191
       * For more details about Standard, please refer to the <a
2192
       * href="https://docs.stripe.com/api">API Reference.</a>
2193
       */
2194
      @Getter
2195
      @Setter
2196
      @EqualsAndHashCode(callSuper = false)
2197
      public static class Standard extends StripeObject {
×
2198
        /**
2199
         * Place of supply scheme used in an EU standard registration.
2200
         *
2201
         * <p>One of {@code small_seller}, or {@code standard}.
2202
         */
2203
        @SerializedName("place_of_supply_scheme")
2204
        String placeOfSupplyScheme;
2205
      }
2206
    }
2207

2208
    /**
2209
     * For more details about Sg, please refer to the <a href="https://docs.stripe.com/api">API
2210
     * Reference.</a>
2211
     */
2212
    @Getter
2213
    @Setter
2214
    @EqualsAndHashCode(callSuper = false)
2215
    public static class Sg extends StripeObject {
×
2216
      /**
2217
       * Type of registration in {@code country}.
2218
       *
2219
       * <p>Equal to {@code standard}.
2220
       */
2221
      @SerializedName("type")
2222
      String type;
2223
    }
2224

2225
    /**
2226
     * For more details about Si, please refer to the <a href="https://docs.stripe.com/api">API
2227
     * Reference.</a>
2228
     */
2229
    @Getter
2230
    @Setter
2231
    @EqualsAndHashCode(callSuper = false)
2232
    public static class Si extends StripeObject {
×
2233
      @SerializedName("standard")
2234
      Standard standard;
2235

2236
      /**
2237
       * Type of registration in an EU country.
2238
       *
2239
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2240
       */
2241
      @SerializedName("type")
2242
      String type;
2243

2244
      /**
2245
       * For more details about Standard, please refer to the <a
2246
       * href="https://docs.stripe.com/api">API Reference.</a>
2247
       */
2248
      @Getter
2249
      @Setter
2250
      @EqualsAndHashCode(callSuper = false)
2251
      public static class Standard extends StripeObject {
×
2252
        /**
2253
         * Place of supply scheme used in an EU standard registration.
2254
         *
2255
         * <p>One of {@code small_seller}, or {@code standard}.
2256
         */
2257
        @SerializedName("place_of_supply_scheme")
2258
        String placeOfSupplyScheme;
2259
      }
2260
    }
2261

2262
    /**
2263
     * For more details about Sk, please refer to the <a href="https://docs.stripe.com/api">API
2264
     * Reference.</a>
2265
     */
2266
    @Getter
2267
    @Setter
2268
    @EqualsAndHashCode(callSuper = false)
2269
    public static class Sk extends StripeObject {
×
2270
      @SerializedName("standard")
2271
      Standard standard;
2272

2273
      /**
2274
       * Type of registration in an EU country.
2275
       *
2276
       * <p>One of {@code ioss}, {@code oss_non_union}, {@code oss_union}, or {@code standard}.
2277
       */
2278
      @SerializedName("type")
2279
      String type;
2280

2281
      /**
2282
       * For more details about Standard, please refer to the <a
2283
       * href="https://docs.stripe.com/api">API Reference.</a>
2284
       */
2285
      @Getter
2286
      @Setter
2287
      @EqualsAndHashCode(callSuper = false)
2288
      public static class Standard extends StripeObject {
×
2289
        /**
2290
         * Place of supply scheme used in an EU standard registration.
2291
         *
2292
         * <p>One of {@code small_seller}, or {@code standard}.
2293
         */
2294
        @SerializedName("place_of_supply_scheme")
2295
        String placeOfSupplyScheme;
2296
      }
2297
    }
2298

2299
    /**
2300
     * For more details about Sn, please refer to the <a href="https://docs.stripe.com/api">API
2301
     * Reference.</a>
2302
     */
2303
    @Getter
2304
    @Setter
2305
    @EqualsAndHashCode(callSuper = false)
NEW
2306
    public static class Sn extends StripeObject {
×
2307
      /**
2308
       * Type of registration in {@code country}.
2309
       *
2310
       * <p>Equal to {@code simplified}.
2311
       */
2312
      @SerializedName("type")
2313
      String type;
2314
    }
2315

2316
    /**
2317
     * For more details about Sr, please refer to the <a href="https://docs.stripe.com/api">API
2318
     * Reference.</a>
2319
     */
2320
    @Getter
2321
    @Setter
2322
    @EqualsAndHashCode(callSuper = false)
NEW
2323
    public static class Sr extends StripeObject {
×
2324
      /**
2325
       * Type of registration in {@code country}.
2326
       *
2327
       * <p>Equal to {@code standard}.
2328
       */
2329
      @SerializedName("type")
2330
      String type;
2331
    }
2332

2333
    /**
2334
     * For more details about Th, please refer to the <a href="https://docs.stripe.com/api">API
2335
     * Reference.</a>
2336
     */
2337
    @Getter
2338
    @Setter
2339
    @EqualsAndHashCode(callSuper = false)
2340
    public static class Th extends StripeObject {
×
2341
      /**
2342
       * Type of registration in {@code country}.
2343
       *
2344
       * <p>Equal to {@code simplified}.
2345
       */
2346
      @SerializedName("type")
2347
      String type;
2348
    }
2349

2350
    /**
2351
     * For more details about Tj, please refer to the <a href="https://docs.stripe.com/api">API
2352
     * Reference.</a>
2353
     */
2354
    @Getter
2355
    @Setter
2356
    @EqualsAndHashCode(callSuper = false)
NEW
2357
    public static class Tj extends StripeObject {
×
2358
      /**
2359
       * Type of registration in {@code country}.
2360
       *
2361
       * <p>Equal to {@code simplified}.
2362
       */
2363
      @SerializedName("type")
2364
      String type;
2365
    }
2366

2367
    /**
2368
     * For more details about Tr, please refer to the <a href="https://docs.stripe.com/api">API
2369
     * Reference.</a>
2370
     */
2371
    @Getter
2372
    @Setter
2373
    @EqualsAndHashCode(callSuper = false)
2374
    public static class Tr extends StripeObject {
×
2375
      /**
2376
       * Type of registration in {@code country}.
2377
       *
2378
       * <p>Equal to {@code simplified}.
2379
       */
2380
      @SerializedName("type")
2381
      String type;
2382
    }
2383

2384
    /**
2385
     * For more details about Tz, please refer to the <a href="https://docs.stripe.com/api">API
2386
     * Reference.</a>
2387
     */
2388
    @Getter
2389
    @Setter
2390
    @EqualsAndHashCode(callSuper = false)
2391
    public static class Tz extends StripeObject {
×
2392
      /**
2393
       * Type of registration in {@code country}.
2394
       *
2395
       * <p>Equal to {@code simplified}.
2396
       */
2397
      @SerializedName("type")
2398
      String type;
2399
    }
2400

2401
    /**
2402
     * For more details about Ug, please refer to the <a href="https://docs.stripe.com/api">API
2403
     * Reference.</a>
2404
     */
2405
    @Getter
2406
    @Setter
2407
    @EqualsAndHashCode(callSuper = false)
NEW
2408
    public static class Ug extends StripeObject {
×
2409
      /**
2410
       * Type of registration in {@code country}.
2411
       *
2412
       * <p>Equal to {@code simplified}.
2413
       */
2414
      @SerializedName("type")
2415
      String type;
2416
    }
2417

2418
    /**
2419
     * For more details about Us, please refer to the <a href="https://docs.stripe.com/api">API
2420
     * Reference.</a>
2421
     */
2422
    @Getter
2423
    @Setter
2424
    @EqualsAndHashCode(callSuper = false)
2425
    public static class Us extends StripeObject {
1✔
2426
      @SerializedName("local_amusement_tax")
2427
      LocalAmusementTax localAmusementTax;
2428

2429
      @SerializedName("local_lease_tax")
2430
      LocalLeaseTax localLeaseTax;
2431

2432
      /**
2433
       * Two-letter US state code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
2434
       * 3166-2</a>).
2435
       */
2436
      @SerializedName("state")
2437
      String state;
2438

2439
      @SerializedName("state_sales_tax")
2440
      StateSalesTax stateSalesTax;
2441

2442
      /**
2443
       * Type of registration in the US.
2444
       *
2445
       * <p>One of {@code local_amusement_tax}, {@code local_lease_tax}, {@code
2446
       * state_communications_tax}, {@code state_retail_delivery_fee}, or {@code state_sales_tax}.
2447
       */
2448
      @SerializedName("type")
2449
      String type;
2450

2451
      /**
2452
       * For more details about LocalAmusementTax, please refer to the <a
2453
       * href="https://docs.stripe.com/api">API Reference.</a>
2454
       */
2455
      @Getter
2456
      @Setter
2457
      @EqualsAndHashCode(callSuper = false)
2458
      public static class LocalAmusementTax extends StripeObject {
×
2459
        /**
2460
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
2461
         * representing the local jurisdiction.
2462
         */
2463
        @SerializedName("jurisdiction")
2464
        String jurisdiction;
2465
      }
2466

2467
      /**
2468
       * For more details about LocalLeaseTax, please refer to the <a
2469
       * href="https://docs.stripe.com/api">API Reference.</a>
2470
       */
2471
      @Getter
2472
      @Setter
2473
      @EqualsAndHashCode(callSuper = false)
2474
      public static class LocalLeaseTax extends StripeObject {
×
2475
        /**
2476
         * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
2477
         * representing the local jurisdiction.
2478
         */
2479
        @SerializedName("jurisdiction")
2480
        String jurisdiction;
2481
      }
2482

2483
      /**
2484
       * For more details about StateSalesTax, please refer to the <a
2485
       * href="https://docs.stripe.com/api">API Reference.</a>
2486
       */
2487
      @Getter
2488
      @Setter
2489
      @EqualsAndHashCode(callSuper = false)
2490
      public static class StateSalesTax extends StripeObject {
×
2491
        /** Elections for the state sales tax registration. */
2492
        @SerializedName("elections")
2493
        List<Registration.CountryOptions.Us.StateSalesTax.Election> elections;
2494

2495
        /**
2496
         * For more details about Election, please refer to the <a
2497
         * href="https://docs.stripe.com/api">API Reference.</a>
2498
         */
2499
        @Getter
2500
        @Setter
2501
        @EqualsAndHashCode(callSuper = false)
2502
        public static class Election extends StripeObject {
×
2503
          /**
2504
           * A <a href="https://www.census.gov/library/reference/code-lists/ansi.html">FIPS code</a>
2505
           * representing the local jurisdiction.
2506
           */
2507
          @SerializedName("jurisdiction")
2508
          String jurisdiction;
2509

2510
          /**
2511
           * The type of the election for the state sales tax registration.
2512
           *
2513
           * <p>One of {@code local_use_tax}, {@code simplified_sellers_use_tax}, or {@code
2514
           * single_local_use_tax}.
2515
           */
2516
          @SerializedName("type")
2517
          String type;
2518
        }
2519
      }
2520
    }
2521

2522
    /**
2523
     * For more details about Uy, please refer to the <a href="https://docs.stripe.com/api">API
2524
     * Reference.</a>
2525
     */
2526
    @Getter
2527
    @Setter
2528
    @EqualsAndHashCode(callSuper = false)
NEW
2529
    public static class Uy extends StripeObject {
×
2530
      /**
2531
       * Type of registration in {@code country}.
2532
       *
2533
       * <p>Equal to {@code standard}.
2534
       */
2535
      @SerializedName("type")
2536
      String type;
2537
    }
2538

2539
    /**
2540
     * For more details about Uz, please refer to the <a href="https://docs.stripe.com/api">API
2541
     * Reference.</a>
2542
     */
2543
    @Getter
2544
    @Setter
2545
    @EqualsAndHashCode(callSuper = false)
2546
    public static class Uz extends StripeObject {
×
2547
      /**
2548
       * Type of registration in {@code country}.
2549
       *
2550
       * <p>Equal to {@code simplified}.
2551
       */
2552
      @SerializedName("type")
2553
      String type;
2554
    }
2555

2556
    /**
2557
     * For more details about Vn, please refer to the <a href="https://docs.stripe.com/api">API
2558
     * Reference.</a>
2559
     */
2560
    @Getter
2561
    @Setter
2562
    @EqualsAndHashCode(callSuper = false)
2563
    public static class Vn extends StripeObject {
×
2564
      /**
2565
       * Type of registration in {@code country}.
2566
       *
2567
       * <p>Equal to {@code simplified}.
2568
       */
2569
      @SerializedName("type")
2570
      String type;
2571
    }
2572

2573
    /**
2574
     * For more details about Za, please refer to the <a href="https://docs.stripe.com/api">API
2575
     * Reference.</a>
2576
     */
2577
    @Getter
2578
    @Setter
2579
    @EqualsAndHashCode(callSuper = false)
2580
    public static class Za extends StripeObject {
×
2581
      /**
2582
       * Type of registration in {@code country}.
2583
       *
2584
       * <p>Equal to {@code standard}.
2585
       */
2586
      @SerializedName("type")
2587
      String type;
2588
    }
2589

2590
    /**
2591
     * For more details about Zm, please refer to the <a href="https://docs.stripe.com/api">API
2592
     * Reference.</a>
2593
     */
2594
    @Getter
2595
    @Setter
2596
    @EqualsAndHashCode(callSuper = false)
NEW
2597
    public static class Zm extends StripeObject {
×
2598
      /**
2599
       * Type of registration in {@code country}.
2600
       *
2601
       * <p>Equal to {@code simplified}.
2602
       */
2603
      @SerializedName("type")
2604
      String type;
2605
    }
2606

2607
    /**
2608
     * For more details about Zw, please refer to the <a href="https://docs.stripe.com/api">API
2609
     * Reference.</a>
2610
     */
2611
    @Getter
2612
    @Setter
2613
    @EqualsAndHashCode(callSuper = false)
NEW
2614
    public static class Zw extends StripeObject {
×
2615
      /**
2616
       * Type of registration in {@code country}.
2617
       *
2618
       * <p>Equal to {@code standard}.
2619
       */
2620
      @SerializedName("type")
2621
      String type;
2622
    }
2623
  }
2624

2625
  @Override
2626
  public void setResponseGetter(StripeResponseGetter responseGetter) {
2627
    super.setResponseGetter(responseGetter);
1✔
2628
    trySetResponseGetter(countryOptions, responseGetter);
1✔
2629
  }
1✔
2630
}
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

© 2025 Coveralls, Inc