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

stripe / stripe-java / #16730

10 Jan 2025 03:18AM UTC coverage: 12.334% (-0.006%) from 12.34%
#16730

Pull #1935

github

web-flow
Merge 2a4d05afb into fc96887fe
Pull Request #1935: Update generated code for beta

1 of 77 new or added lines in 3 files covered. (1.3%)

24 existing lines in 1 file now uncovered.

18907 of 153286 relevant lines covered (12.33%)

0.12 hits per line

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

0.0
/src/main/java/com/stripe/model/AccountSession.java
1
// File generated from our OpenAPI spec
2
package com.stripe.model;
3

4
import com.google.gson.annotations.SerializedName;
5
import com.stripe.exception.StripeException;
6
import com.stripe.net.ApiRequest;
7
import com.stripe.net.ApiRequestParams;
8
import com.stripe.net.ApiResource;
9
import com.stripe.net.BaseAddress;
10
import com.stripe.net.RequestOptions;
11
import com.stripe.net.StripeResponseGetter;
12
import com.stripe.param.AccountSessionCreateParams;
13
import java.util.Map;
14
import lombok.EqualsAndHashCode;
15
import lombok.Getter;
16
import lombok.Setter;
17

18
/**
19
 * An AccountSession allows a Connect platform to grant access to a connected account in Connect
20
 * embedded components.
21
 *
22
 * <p>We recommend that you create an AccountSession each time you need to display an embedded
23
 * component to your user. Do not save AccountSessions to your database as they expire relatively
24
 * quickly, and cannot be used more than once.
25
 *
26
 * <p>Related guide: <a
27
 * href="https://stripe.com/docs/connect/get-started-connect-embedded-components">Connect embedded
28
 * components</a>
29
 */
30
@Getter
31
@Setter
32
@EqualsAndHashCode(callSuper = false)
33
public class AccountSession extends ApiResource {
×
34
  /** The ID of the account the AccountSession was created for. */
35
  @SerializedName("account")
36
  String account;
37

38
  /**
39
   * The client secret of this AccountSession. Used on the client to set up secure access to the
40
   * given {@code account}.
41
   *
42
   * <p>The client secret can be used to provide access to {@code account} from your frontend. It
43
   * should not be stored, logged, or exposed to anyone other than the connected account. Make sure
44
   * that you have TLS enabled on any page that includes the client secret.
45
   *
46
   * <p>Refer to our docs to <a
47
   * href="https://stripe.com/docs/connect/get-started-connect-embedded-components">setup Connect
48
   * embedded components</a> and learn about how {@code client_secret} should be handled.
49
   */
50
  @SerializedName("client_secret")
51
  String clientSecret;
52

53
  @SerializedName("components")
54
  Components components;
55

56
  /** The timestamp at which this AccountSession will expire. */
57
  @SerializedName("expires_at")
58
  Long expiresAt;
59

60
  /**
61
   * Has the value {@code true} if the object exists in live mode or the value {@code false} if the
62
   * object exists in test mode.
63
   */
64
  @SerializedName("livemode")
65
  Boolean livemode;
66

67
  /**
68
   * String representing the object's type. Objects of the same type share the same value.
69
   *
70
   * <p>Equal to {@code account_session}.
71
   */
72
  @SerializedName("object")
73
  String object;
74

75
  /**
76
   * Creates a AccountSession object that includes a single-use token that the platform can use on
77
   * their front-end to grant client-side API access.
78
   */
79
  public static AccountSession create(Map<String, Object> params) throws StripeException {
80
    return create(params, (RequestOptions) null);
×
81
  }
82

83
  /**
84
   * Creates a AccountSession object that includes a single-use token that the platform can use on
85
   * their front-end to grant client-side API access.
86
   */
87
  public static AccountSession create(Map<String, Object> params, RequestOptions options)
88
      throws StripeException {
89
    String path = "/v1/account_sessions";
×
90
    ApiRequest request =
×
91
        new ApiRequest(BaseAddress.API, ApiResource.RequestMethod.POST, path, params, options);
92
    return getGlobalResponseGetter().request(request, AccountSession.class);
×
93
  }
94

95
  /**
96
   * Creates a AccountSession object that includes a single-use token that the platform can use on
97
   * their front-end to grant client-side API access.
98
   */
99
  public static AccountSession create(AccountSessionCreateParams params) throws StripeException {
100
    return create(params, (RequestOptions) null);
×
101
  }
102

103
  /**
104
   * Creates a AccountSession object that includes a single-use token that the platform can use on
105
   * their front-end to grant client-side API access.
106
   */
107
  public static AccountSession create(AccountSessionCreateParams params, RequestOptions options)
108
      throws StripeException {
109
    String path = "/v1/account_sessions";
×
110
    ApiResource.checkNullTypedParams(path, params);
×
111
    ApiRequest request =
×
112
        new ApiRequest(
113
            BaseAddress.API,
114
            ApiResource.RequestMethod.POST,
115
            path,
116
            ApiRequestParams.paramsToMap(params),
×
117
            options);
118
    return getGlobalResponseGetter().request(request, AccountSession.class);
×
119
  }
120

121
  /**
122
   * For more details about Components, please refer to the <a
123
   * href="https://docs.stripe.com/api">API Reference.</a>
124
   */
125
  @Getter
126
  @Setter
127
  @EqualsAndHashCode(callSuper = false)
128
  public static class Components extends StripeObject {
×
129
    @SerializedName("account_management")
130
    AccountManagement accountManagement;
131

132
    @SerializedName("account_onboarding")
133
    AccountOnboarding accountOnboarding;
134

135
    @SerializedName("balances")
136
    Balances balances;
137

138
    @SerializedName("capital_financing")
139
    CapitalFinancing capitalFinancing;
140

141
    @SerializedName("capital_financing_application")
142
    CapitalFinancingApplication capitalFinancingApplication;
143

144
    @SerializedName("capital_financing_promotion")
145
    CapitalFinancingPromotion capitalFinancingPromotion;
146

147
    @SerializedName("documents")
148
    Documents documents;
149

150
    @SerializedName("notification_banner")
151
    NotificationBanner notificationBanner;
152

153
    @SerializedName("payment_details")
154
    PaymentDetails paymentDetails;
155

156
    @SerializedName("payments")
157
    Payments payments;
158

159
    @SerializedName("payouts")
160
    Payouts payouts;
161

162
    @SerializedName("payouts_list")
163
    PayoutsList payoutsList;
164

165
    @SerializedName("tax_registrations")
166
    TaxRegistrations taxRegistrations;
167

168
    @SerializedName("tax_settings")
169
    TaxSettings taxSettings;
170

171
    /**
172
     * For more details about AccountManagement, please refer to the <a
173
     * href="https://docs.stripe.com/api">API Reference.</a>
174
     */
175
    @Getter
176
    @Setter
177
    @EqualsAndHashCode(callSuper = false)
UNCOV
178
    public static class AccountManagement extends StripeObject {
×
179
      /** Whether the embedded component is enabled. */
180
      @SerializedName("enabled")
181
      Boolean enabled;
182

183
      @SerializedName("features")
184
      Features features;
185

186
      /**
187
       * For more details about Features, please refer to the <a
188
       * href="https://docs.stripe.com/api">API Reference.</a>
189
       */
190
      @Getter
191
      @Setter
192
      @EqualsAndHashCode(callSuper = false)
UNCOV
193
      public static class Features extends StripeObject {
×
194
        /**
195
         * Disables Stripe user authentication for this embedded component. This value can only be
196
         * true for accounts where {@code controller.requirement_collection} is {@code application}.
197
         * The default value is the opposite of the {@code external_account_collection} value. For
198
         * example, if you don’t set {@code external_account_collection}, it defaults to true and
199
         * {@code disable_stripe_user_authentication} defaults to false.
200
         */
201
        @SerializedName("disable_stripe_user_authentication")
202
        Boolean disableStripeUserAuthentication;
203

204
        /**
205
         * Whether to allow platforms to control bank account collection for their connected
206
         * accounts. This feature can only be false for accounts where you’re responsible for
207
         * collecting updated information when requirements are due or change, like custom accounts.
208
         * Otherwise, bank account collection is determined by compliance requirements. The default
209
         * value for this feature is {@code true}.
210
         */
211
        @SerializedName("external_account_collection")
212
        Boolean externalAccountCollection;
213
      }
214
    }
215

216
    /**
217
     * For more details about AccountOnboarding, please refer to the <a
218
     * href="https://docs.stripe.com/api">API Reference.</a>
219
     */
220
    @Getter
221
    @Setter
222
    @EqualsAndHashCode(callSuper = false)
UNCOV
223
    public static class AccountOnboarding extends StripeObject {
×
224
      /** Whether the embedded component is enabled. */
225
      @SerializedName("enabled")
226
      Boolean enabled;
227

228
      @SerializedName("features")
229
      Features features;
230

231
      /**
232
       * For more details about Features, please refer to the <a
233
       * href="https://docs.stripe.com/api">API Reference.</a>
234
       */
235
      @Getter
236
      @Setter
237
      @EqualsAndHashCode(callSuper = false)
UNCOV
238
      public static class Features extends StripeObject {
×
239
        /**
240
         * Disables Stripe user authentication for this embedded component. This value can only be
241
         * true for accounts where {@code controller.requirement_collection} is {@code application}.
242
         * The default value is the opposite of the {@code external_account_collection} value. For
243
         * example, if you don’t set {@code external_account_collection}, it defaults to true and
244
         * {@code disable_stripe_user_authentication} defaults to false.
245
         */
246
        @SerializedName("disable_stripe_user_authentication")
247
        Boolean disableStripeUserAuthentication;
248

249
        /**
250
         * Whether to allow platforms to control bank account collection for their connected
251
         * accounts. This feature can only be false for accounts where you’re responsible for
252
         * collecting updated information when requirements are due or change, like custom accounts.
253
         * Otherwise, bank account collection is determined by compliance requirements. The default
254
         * value for this feature is {@code true}.
255
         */
256
        @SerializedName("external_account_collection")
257
        Boolean externalAccountCollection;
258
      }
259
    }
260

261
    /**
262
     * For more details about Balances, please refer to the <a
263
     * href="https://docs.stripe.com/api">API Reference.</a>
264
     */
265
    @Getter
266
    @Setter
267
    @EqualsAndHashCode(callSuper = false)
UNCOV
268
    public static class Balances extends StripeObject {
×
269
      /** Whether the embedded component is enabled. */
270
      @SerializedName("enabled")
271
      Boolean enabled;
272

273
      @SerializedName("features")
274
      Features features;
275

276
      /**
277
       * For more details about Features, please refer to the <a
278
       * href="https://docs.stripe.com/api">API Reference.</a>
279
       */
280
      @Getter
281
      @Setter
282
      @EqualsAndHashCode(callSuper = false)
UNCOV
283
      public static class Features extends StripeObject {
×
284
        /**
285
         * Disables Stripe user authentication for this embedded component. This value can only be
286
         * true for accounts where {@code controller.requirement_collection} is {@code application}.
287
         * The default value is the opposite of the {@code external_account_collection} value. For
288
         * example, if you don’t set {@code external_account_collection}, it defaults to true and
289
         * {@code disable_stripe_user_authentication} defaults to false.
290
         */
291
        @SerializedName("disable_stripe_user_authentication")
292
        Boolean disableStripeUserAuthentication;
293

294
        /**
295
         * Whether to allow payout schedule to be changed. Default {@code true} when Stripe owns
296
         * Loss Liability, default {@code false} otherwise.
297
         */
298
        @SerializedName("edit_payout_schedule")
299
        Boolean editPayoutSchedule;
300

301
        /**
302
         * Whether to allow platforms to control bank account collection for their connected
303
         * accounts. This feature can only be false for accounts where you’re responsible for
304
         * collecting updated information when requirements are due or change, like custom accounts.
305
         * Otherwise, bank account collection is determined by compliance requirements. The default
306
         * value for this feature is {@code true}.
307
         */
308
        @SerializedName("external_account_collection")
309
        Boolean externalAccountCollection;
310

311
        /**
312
         * Whether to allow creation of instant payouts. Default {@code true} when Stripe owns Loss
313
         * Liability, default {@code false} otherwise.
314
         */
315
        @SerializedName("instant_payouts")
316
        Boolean instantPayouts;
317

318
        /**
319
         * Whether to allow creation of standard payouts. Default {@code true} when Stripe owns Loss
320
         * Liability, default {@code false} otherwise.
321
         */
322
        @SerializedName("standard_payouts")
323
        Boolean standardPayouts;
324
      }
325
    }
326

327
    /**
328
     * For more details about CapitalFinancing, please refer to the <a
329
     * href="https://docs.stripe.com/api">API Reference.</a>
330
     */
331
    @Getter
332
    @Setter
333
    @EqualsAndHashCode(callSuper = false)
UNCOV
334
    public static class CapitalFinancing extends StripeObject {
×
335
      /** Whether the embedded component is enabled. */
336
      @SerializedName("enabled")
337
      Boolean enabled;
338

339
      @SerializedName("features")
340
      Features features;
341

342
      /**
343
       * For more details about Features, please refer to the <a
344
       * href="https://docs.stripe.com/api">API Reference.</a>
345
       */
346
      @Getter
347
      @Setter
348
      @EqualsAndHashCode(callSuper = false)
UNCOV
349
      public static class Features extends StripeObject {}
×
350
    }
351

352
    /**
353
     * For more details about CapitalFinancingApplication, please refer to the <a
354
     * href="https://docs.stripe.com/api">API Reference.</a>
355
     */
356
    @Getter
357
    @Setter
358
    @EqualsAndHashCode(callSuper = false)
UNCOV
359
    public static class CapitalFinancingApplication extends StripeObject {
×
360
      /** Whether the embedded component is enabled. */
361
      @SerializedName("enabled")
362
      Boolean enabled;
363

364
      @SerializedName("features")
365
      Features features;
366

367
      /**
368
       * For more details about Features, please refer to the <a
369
       * href="https://docs.stripe.com/api">API Reference.</a>
370
       */
371
      @Getter
372
      @Setter
373
      @EqualsAndHashCode(callSuper = false)
UNCOV
374
      public static class Features extends StripeObject {}
×
375
    }
376

377
    /**
378
     * For more details about CapitalFinancingPromotion, please refer to the <a
379
     * href="https://docs.stripe.com/api">API Reference.</a>
380
     */
381
    @Getter
382
    @Setter
383
    @EqualsAndHashCode(callSuper = false)
UNCOV
384
    public static class CapitalFinancingPromotion extends StripeObject {
×
385
      /** Whether the embedded component is enabled. */
386
      @SerializedName("enabled")
387
      Boolean enabled;
388

389
      @SerializedName("features")
390
      Features features;
391

392
      /**
393
       * For more details about Features, please refer to the <a
394
       * href="https://docs.stripe.com/api">API Reference.</a>
395
       */
396
      @Getter
397
      @Setter
398
      @EqualsAndHashCode(callSuper = false)
UNCOV
399
      public static class Features extends StripeObject {}
×
400
    }
401

402
    /**
403
     * For more details about Documents, please refer to the <a
404
     * href="https://docs.stripe.com/api">API Reference.</a>
405
     */
406
    @Getter
407
    @Setter
408
    @EqualsAndHashCode(callSuper = false)
UNCOV
409
    public static class Documents extends StripeObject {
×
410
      /** Whether the embedded component is enabled. */
411
      @SerializedName("enabled")
412
      Boolean enabled;
413

414
      @SerializedName("features")
415
      Features features;
416

417
      /**
418
       * For more details about Features, please refer to the <a
419
       * href="https://docs.stripe.com/api">API Reference.</a>
420
       */
421
      @Getter
422
      @Setter
423
      @EqualsAndHashCode(callSuper = false)
UNCOV
424
      public static class Features extends StripeObject {}
×
425
    }
426

427
    /**
428
     * For more details about NotificationBanner, please refer to the <a
429
     * href="https://docs.stripe.com/api">API Reference.</a>
430
     */
431
    @Getter
432
    @Setter
433
    @EqualsAndHashCode(callSuper = false)
UNCOV
434
    public static class NotificationBanner extends StripeObject {
×
435
      /** Whether the embedded component is enabled. */
436
      @SerializedName("enabled")
437
      Boolean enabled;
438

439
      @SerializedName("features")
440
      Features features;
441

442
      /**
443
       * For more details about Features, please refer to the <a
444
       * href="https://docs.stripe.com/api">API Reference.</a>
445
       */
446
      @Getter
447
      @Setter
448
      @EqualsAndHashCode(callSuper = false)
449
      public static class Features extends StripeObject {
×
450
        /**
451
         * Disables Stripe user authentication for this embedded component. This value can only be
452
         * true for accounts where {@code controller.requirement_collection} is {@code application}.
453
         * The default value is the opposite of the {@code external_account_collection} value. For
454
         * example, if you don’t set {@code external_account_collection}, it defaults to true and
455
         * {@code disable_stripe_user_authentication} defaults to false.
456
         */
457
        @SerializedName("disable_stripe_user_authentication")
458
        Boolean disableStripeUserAuthentication;
459

460
        /**
461
         * Whether to allow platforms to control bank account collection for their connected
462
         * accounts. This feature can only be false for accounts where you’re responsible for
463
         * collecting updated information when requirements are due or change, like custom accounts.
464
         * Otherwise, bank account collection is determined by compliance requirements. The default
465
         * value for this feature is {@code true}.
466
         */
467
        @SerializedName("external_account_collection")
468
        Boolean externalAccountCollection;
469
      }
470
    }
471

472
    /**
473
     * For more details about PaymentDetails, please refer to the <a
474
     * href="https://docs.stripe.com/api">API Reference.</a>
475
     */
476
    @Getter
477
    @Setter
478
    @EqualsAndHashCode(callSuper = false)
479
    public static class PaymentDetails extends StripeObject {
×
480
      /** Whether the embedded component is enabled. */
481
      @SerializedName("enabled")
482
      Boolean enabled;
483

484
      @SerializedName("features")
485
      Features features;
486

487
      /**
488
       * For more details about Features, please refer to the <a
489
       * href="https://docs.stripe.com/api">API Reference.</a>
490
       */
491
      @Getter
492
      @Setter
493
      @EqualsAndHashCode(callSuper = false)
494
      public static class Features extends StripeObject {
×
495
        /**
496
         * Whether to allow capturing and cancelling payment intents. This is {@code true} by
497
         * default.
498
         */
499
        @SerializedName("capture_payments")
500
        Boolean capturePayments;
501

502
        /**
503
         * Whether to allow connected accounts to manage destination charges that are created on
504
         * behalf of them. This is {@code false} by default.
505
         */
506
        @SerializedName("destination_on_behalf_of_charge_management")
507
        Boolean destinationOnBehalfOfChargeManagement;
508

509
        /**
510
         * Whether to allow responding to disputes, including submitting evidence and accepting
511
         * disputes. This is {@code true} by default.
512
         */
513
        @SerializedName("dispute_management")
514
        Boolean disputeManagement;
515

516
        /** Whether to allow sending refunds. This is {@code true} by default. */
517
        @SerializedName("refund_management")
518
        Boolean refundManagement;
519
      }
520
    }
521

522
    /**
523
     * For more details about Payments, please refer to the <a
524
     * href="https://docs.stripe.com/api">API Reference.</a>
525
     */
526
    @Getter
527
    @Setter
528
    @EqualsAndHashCode(callSuper = false)
529
    public static class Payments extends StripeObject {
×
530
      /** Whether the embedded component is enabled. */
531
      @SerializedName("enabled")
532
      Boolean enabled;
533

534
      @SerializedName("features")
535
      Features features;
536

537
      /**
538
       * For more details about Features, please refer to the <a
539
       * href="https://docs.stripe.com/api">API Reference.</a>
540
       */
541
      @Getter
542
      @Setter
543
      @EqualsAndHashCode(callSuper = false)
544
      public static class Features extends StripeObject {
×
545
        /**
546
         * Whether to allow capturing and cancelling payment intents. This is {@code true} by
547
         * default.
548
         */
549
        @SerializedName("capture_payments")
550
        Boolean capturePayments;
551

552
        /**
553
         * Whether to allow connected accounts to manage destination charges that are created on
554
         * behalf of them. This is {@code false} by default.
555
         */
556
        @SerializedName("destination_on_behalf_of_charge_management")
557
        Boolean destinationOnBehalfOfChargeManagement;
558

559
        /**
560
         * Whether to allow responding to disputes, including submitting evidence and accepting
561
         * disputes. This is {@code true} by default.
562
         */
563
        @SerializedName("dispute_management")
564
        Boolean disputeManagement;
565

566
        /** Whether to allow sending refunds. This is {@code true} by default. */
567
        @SerializedName("refund_management")
568
        Boolean refundManagement;
569
      }
570
    }
571

572
    /**
573
     * For more details about Payouts, please refer to the <a href="https://docs.stripe.com/api">API
574
     * Reference.</a>
575
     */
576
    @Getter
577
    @Setter
578
    @EqualsAndHashCode(callSuper = false)
579
    public static class Payouts extends StripeObject {
×
580
      /** Whether the embedded component is enabled. */
581
      @SerializedName("enabled")
582
      Boolean enabled;
583

584
      @SerializedName("features")
585
      Features features;
586

587
      /**
588
       * For more details about Features, please refer to the <a
589
       * href="https://docs.stripe.com/api">API Reference.</a>
590
       */
591
      @Getter
592
      @Setter
593
      @EqualsAndHashCode(callSuper = false)
594
      public static class Features extends StripeObject {
×
595
        /**
596
         * Disables Stripe user authentication for this embedded component. This value can only be
597
         * true for accounts where {@code controller.requirement_collection} is {@code application}.
598
         * The default value is the opposite of the {@code external_account_collection} value. For
599
         * example, if you don’t set {@code external_account_collection}, it defaults to true and
600
         * {@code disable_stripe_user_authentication} defaults to false.
601
         */
602
        @SerializedName("disable_stripe_user_authentication")
603
        Boolean disableStripeUserAuthentication;
604

605
        /**
606
         * Whether to allow payout schedule to be changed. Default {@code true} when Stripe owns
607
         * Loss Liability, default {@code false} otherwise.
608
         */
609
        @SerializedName("edit_payout_schedule")
610
        Boolean editPayoutSchedule;
611

612
        /**
613
         * Whether to allow platforms to control bank account collection for their connected
614
         * accounts. This feature can only be false for accounts where you’re responsible for
615
         * collecting updated information when requirements are due or change, like custom accounts.
616
         * Otherwise, bank account collection is determined by compliance requirements. The default
617
         * value for this feature is {@code true}.
618
         */
619
        @SerializedName("external_account_collection")
620
        Boolean externalAccountCollection;
621

622
        /**
623
         * Whether to allow creation of instant payouts. Default {@code true} when Stripe owns Loss
624
         * Liability, default {@code false} otherwise.
625
         */
626
        @SerializedName("instant_payouts")
627
        Boolean instantPayouts;
628

629
        /**
630
         * Whether to allow creation of standard payouts. Default {@code true} when Stripe owns Loss
631
         * Liability, default {@code false} otherwise.
632
         */
633
        @SerializedName("standard_payouts")
634
        Boolean standardPayouts;
635
      }
636
    }
637

638
    /**
639
     * For more details about PayoutsList, please refer to the <a
640
     * href="https://docs.stripe.com/api">API Reference.</a>
641
     */
642
    @Getter
643
    @Setter
644
    @EqualsAndHashCode(callSuper = false)
UNCOV
645
    public static class PayoutsList extends StripeObject {
×
646
      /** Whether the embedded component is enabled. */
647
      @SerializedName("enabled")
648
      Boolean enabled;
649

650
      @SerializedName("features")
651
      Features features;
652

653
      /**
654
       * For more details about Features, please refer to the <a
655
       * href="https://docs.stripe.com/api">API Reference.</a>
656
       */
657
      @Getter
658
      @Setter
659
      @EqualsAndHashCode(callSuper = false)
UNCOV
660
      public static class Features extends StripeObject {}
×
661
    }
662

663
    /**
664
     * For more details about TaxRegistrations, please refer to the <a
665
     * href="https://docs.stripe.com/api">API Reference.</a>
666
     */
667
    @Getter
668
    @Setter
669
    @EqualsAndHashCode(callSuper = false)
UNCOV
670
    public static class TaxRegistrations extends StripeObject {
×
671
      /** Whether the embedded component is enabled. */
672
      @SerializedName("enabled")
673
      Boolean enabled;
674

675
      @SerializedName("features")
676
      Features features;
677

678
      /**
679
       * For more details about Features, please refer to the <a
680
       * href="https://docs.stripe.com/api">API Reference.</a>
681
       */
682
      @Getter
683
      @Setter
684
      @EqualsAndHashCode(callSuper = false)
UNCOV
685
      public static class Features extends StripeObject {}
×
686
    }
687

688
    /**
689
     * For more details about TaxSettings, please refer to the <a
690
     * href="https://docs.stripe.com/api">API Reference.</a>
691
     */
692
    @Getter
693
    @Setter
694
    @EqualsAndHashCode(callSuper = false)
UNCOV
695
    public static class TaxSettings extends StripeObject {
×
696
      /** Whether the embedded component is enabled. */
697
      @SerializedName("enabled")
698
      Boolean enabled;
699

700
      @SerializedName("features")
701
      Features features;
702

703
      /**
704
       * For more details about Features, please refer to the <a
705
       * href="https://docs.stripe.com/api">API Reference.</a>
706
       */
707
      @Getter
708
      @Setter
709
      @EqualsAndHashCode(callSuper = false)
UNCOV
710
      public static class Features extends StripeObject {}
×
711
    }
712
  }
713

714
  @Override
715
  public void setResponseGetter(StripeResponseGetter responseGetter) {
UNCOV
716
    super.setResponseGetter(responseGetter);
×
UNCOV
717
    trySetResponseGetter(components, responseGetter);
×
UNCOV
718
  }
×
719
}
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