Skip to content

Commit a48a408

Browse files
Update generated code for v1441
1 parent 2a4d05a commit a48a408

File tree

3 files changed

+187
-9
lines changed

3 files changed

+187
-9
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1439
1+
v1441

src/main/java/com/stripe/model/AccountSession.java

+178
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ public static class Components extends StripeObject {
147147
@SerializedName("documents")
148148
Documents documents;
149149

150+
@SerializedName("financial_account")
151+
FinancialAccount financialAccount;
152+
153+
@SerializedName("financial_account_transactions")
154+
FinancialAccountTransactions financialAccountTransactions;
155+
156+
@SerializedName("issuing_card")
157+
IssuingCard issuingCard;
158+
159+
@SerializedName("issuing_cards_list")
160+
IssuingCardsList issuingCardsList;
161+
150162
@SerializedName("notification_banner")
151163
NotificationBanner notificationBanner;
152164

@@ -424,6 +436,172 @@ public static class Documents extends StripeObject {
424436
public static class Features extends StripeObject {}
425437
}
426438

439+
/**
440+
* For more details about FinancialAccount, please refer to the <a
441+
* href="https://docs.stripe.com/api">API Reference.</a>
442+
*/
443+
@Getter
444+
@Setter
445+
@EqualsAndHashCode(callSuper = false)
446+
public static class FinancialAccount extends StripeObject {
447+
/** Whether the embedded component is enabled. */
448+
@SerializedName("enabled")
449+
Boolean enabled;
450+
451+
@SerializedName("features")
452+
Features features;
453+
454+
/**
455+
* For more details about Features, please refer to the <a
456+
* href="https://docs.stripe.com/api">API Reference.</a>
457+
*/
458+
@Getter
459+
@Setter
460+
@EqualsAndHashCode(callSuper = false)
461+
public static class Features extends StripeObject {
462+
/**
463+
* Disables Stripe user authentication for this embedded component. This value can only be
464+
* true for accounts where {@code controller.requirement_collection} is {@code application}.
465+
* The default value is the opposite of the {@code external_account_collection} value. For
466+
* example, if you don’t set {@code external_account_collection}, it defaults to true and
467+
* {@code disable_stripe_user_authentication} defaults to false.
468+
*/
469+
@SerializedName("disable_stripe_user_authentication")
470+
Boolean disableStripeUserAuthentication;
471+
472+
/** Whether to allow external accounts to be linked for money transfer. */
473+
@SerializedName("external_account_collection")
474+
Boolean externalAccountCollection;
475+
476+
/** Whether to allow sending money. */
477+
@SerializedName("send_money")
478+
Boolean sendMoney;
479+
480+
/** Whether to allow transferring balance. */
481+
@SerializedName("transfer_balance")
482+
Boolean transferBalance;
483+
}
484+
}
485+
486+
/**
487+
* For more details about FinancialAccountTransactions, please refer to the <a
488+
* href="https://docs.stripe.com/api">API Reference.</a>
489+
*/
490+
@Getter
491+
@Setter
492+
@EqualsAndHashCode(callSuper = false)
493+
public static class FinancialAccountTransactions extends StripeObject {
494+
/** Whether the embedded component is enabled. */
495+
@SerializedName("enabled")
496+
Boolean enabled;
497+
498+
@SerializedName("features")
499+
Features features;
500+
501+
/**
502+
* For more details about Features, please refer to the <a
503+
* href="https://docs.stripe.com/api">API Reference.</a>
504+
*/
505+
@Getter
506+
@Setter
507+
@EqualsAndHashCode(callSuper = false)
508+
public static class Features extends StripeObject {
509+
/** Whether to allow card spend dispute management features. */
510+
@SerializedName("card_spend_dispute_management")
511+
Boolean cardSpendDisputeManagement;
512+
}
513+
}
514+
515+
/**
516+
* For more details about IssuingCard, please refer to the <a
517+
* href="https://docs.stripe.com/api">API Reference.</a>
518+
*/
519+
@Getter
520+
@Setter
521+
@EqualsAndHashCode(callSuper = false)
522+
public static class IssuingCard extends StripeObject {
523+
/** Whether the embedded component is enabled. */
524+
@SerializedName("enabled")
525+
Boolean enabled;
526+
527+
@SerializedName("features")
528+
Features features;
529+
530+
/**
531+
* For more details about Features, please refer to the <a
532+
* href="https://docs.stripe.com/api">API Reference.</a>
533+
*/
534+
@Getter
535+
@Setter
536+
@EqualsAndHashCode(callSuper = false)
537+
public static class Features extends StripeObject {
538+
/** Whether to allow card management features. */
539+
@SerializedName("card_management")
540+
Boolean cardManagement;
541+
542+
/** Whether to allow card spend dispute management features. */
543+
@SerializedName("card_spend_dispute_management")
544+
Boolean cardSpendDisputeManagement;
545+
546+
/** Whether to allow cardholder management features. */
547+
@SerializedName("cardholder_management")
548+
Boolean cardholderManagement;
549+
550+
/** Whether to allow spend control management features. */
551+
@SerializedName("spend_control_management")
552+
Boolean spendControlManagement;
553+
}
554+
}
555+
556+
/**
557+
* For more details about IssuingCardsList, please refer to the <a
558+
* href="https://docs.stripe.com/api">API Reference.</a>
559+
*/
560+
@Getter
561+
@Setter
562+
@EqualsAndHashCode(callSuper = false)
563+
public static class IssuingCardsList extends StripeObject {
564+
/** Whether the embedded component is enabled. */
565+
@SerializedName("enabled")
566+
Boolean enabled;
567+
568+
@SerializedName("features")
569+
Features features;
570+
571+
/**
572+
* For more details about Features, please refer to the <a
573+
* href="https://docs.stripe.com/api">API Reference.</a>
574+
*/
575+
@Getter
576+
@Setter
577+
@EqualsAndHashCode(callSuper = false)
578+
public static class Features extends StripeObject {
579+
/** Whether to allow card management features. */
580+
@SerializedName("card_management")
581+
Boolean cardManagement;
582+
583+
/** Whether to allow card spend dispute management features. */
584+
@SerializedName("card_spend_dispute_management")
585+
Boolean cardSpendDisputeManagement;
586+
587+
/** Whether to allow cardholder management features. */
588+
@SerializedName("cardholder_management")
589+
Boolean cardholderManagement;
590+
591+
/**
592+
* Disables Stripe user authentication for this embedded component. This feature can only be
593+
* false for accounts where you’re responsible for collecting updated information when
594+
* requirements are due or change, like custom accounts.
595+
*/
596+
@SerializedName("disable_stripe_user_authentication")
597+
Boolean disableStripeUserAuthentication;
598+
599+
/** Whether to allow spend control management features. */
600+
@SerializedName("spend_control_management")
601+
Boolean spendControlManagement;
602+
}
603+
}
604+
427605
/**
428606
* For more details about NotificationBanner, please refer to the <a
429607
* href="https://docs.stripe.com/api">API Reference.</a>

src/main/java/com/stripe/param/AccountSessionCreateParams.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,19 @@ public static class Components {
184184
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
185185
Map<String, Object> extraParams;
186186

187-
/** Configuration for the financial account component. */
187+
/** Configuration for the financial account embedded component. */
188188
@SerializedName("financial_account")
189189
FinancialAccount financialAccount;
190190

191-
/** Configuration for the financial account transactions component. */
191+
/** Configuration for the financial account transactions embedded component. */
192192
@SerializedName("financial_account_transactions")
193193
FinancialAccountTransactions financialAccountTransactions;
194194

195-
/** Configuration for the issuing card component. */
195+
/** Configuration for the issuing card embedded component. */
196196
@SerializedName("issuing_card")
197197
IssuingCard issuingCard;
198198

199-
/** Configuration for the issuing cards list component. */
199+
/** Configuration for the issuing cards list embedded component. */
200200
@SerializedName("issuing_cards_list")
201201
IssuingCardsList issuingCardsList;
202202

@@ -472,28 +472,28 @@ public Builder putAllExtraParam(Map<String, Object> map) {
472472
return this;
473473
}
474474

475-
/** Configuration for the financial account component. */
475+
/** Configuration for the financial account embedded component. */
476476
public Builder setFinancialAccount(
477477
AccountSessionCreateParams.Components.FinancialAccount financialAccount) {
478478
this.financialAccount = financialAccount;
479479
return this;
480480
}
481481

482-
/** Configuration for the financial account transactions component. */
482+
/** Configuration for the financial account transactions embedded component. */
483483
public Builder setFinancialAccountTransactions(
484484
AccountSessionCreateParams.Components.FinancialAccountTransactions
485485
financialAccountTransactions) {
486486
this.financialAccountTransactions = financialAccountTransactions;
487487
return this;
488488
}
489489

490-
/** Configuration for the issuing card component. */
490+
/** Configuration for the issuing card embedded component. */
491491
public Builder setIssuingCard(AccountSessionCreateParams.Components.IssuingCard issuingCard) {
492492
this.issuingCard = issuingCard;
493493
return this;
494494
}
495495

496-
/** Configuration for the issuing cards list component. */
496+
/** Configuration for the issuing cards list embedded component. */
497497
public Builder setIssuingCardsList(
498498
AccountSessionCreateParams.Components.IssuingCardsList issuingCardsList) {
499499
this.issuingCardsList = issuingCardsList;

0 commit comments

Comments
 (0)