Skip to content

Commit e873269

Browse files
Update generated code for v2106 and
1 parent 6a17d41 commit e873269

5 files changed

Lines changed: 2234 additions & 13 deletions

File tree

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f728443b4da13a47e9cdde29bb0b79661759621e
1+
56689dcbcaa4c7ce6bf1b51a5add451972e0689c

src/main/java/com/stripe/events/V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public static final class EventData {
2424
*
2525
* <p>One of {@code commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code
2626
* commercial.cross_river_bank.charge_card}, {@code commercial.cross_river_bank.spend_card},
27-
* {@code commercial.stripe.charge_card}, or {@code commercial.stripe.prepaid_card}.
27+
* {@code commercial.lead.prepaid_card}, {@code commercial.stripe.charge_card}, or {@code
28+
* commercial.stripe.prepaid_card}.
2829
*/
2930
@SerializedName("updated_capability")
3031
String updatedCapability;

src/main/java/com/stripe/model/v2/core/Account.java

Lines changed: 275 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ public static class Commercial extends StripeObject {
185185
@SerializedName("cross_river_bank")
186186
CrossRiverBank crossRiverBank;
187187

188+
/** Can create commercial issuing cards with Lead as a BIN sponsor. */
189+
@SerializedName("lead")
190+
Lead lead;
191+
188192
/** Can create commercial issuing cards with Stripe as a BIN sponsor. */
189193
@SerializedName("stripe")
190194
Stripe stripe;
@@ -449,6 +453,80 @@ public static class StatusDetail extends StripeObject {
449453
}
450454
}
451455

456+
/** Can create commercial issuing cards with Lead as a BIN sponsor. */
457+
@Getter
458+
@Setter
459+
@EqualsAndHashCode(callSuper = false)
460+
public static class Lead extends StripeObject {
461+
/**
462+
* Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN
463+
* sponsor.
464+
*/
465+
@SerializedName("prepaid_card")
466+
PrepaidCard prepaidCard;
467+
468+
/**
469+
* Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN
470+
* sponsor.
471+
*/
472+
@Getter
473+
@Setter
474+
@EqualsAndHashCode(callSuper = false)
475+
public static class PrepaidCard extends StripeObject {
476+
/** Whether the Capability has been requested. */
477+
@SerializedName("requested")
478+
Boolean requested;
479+
480+
/**
481+
* The status of the Capability.
482+
*
483+
* <p>One of {@code active}, {@code pending}, {@code restricted}, or {@code
484+
* unsupported}.
485+
*/
486+
@SerializedName("status")
487+
String status;
488+
489+
/**
490+
* Additional details regarding the status of the Capability. {@code status_details}
491+
* will be empty if the Capability's status is {@code active}.
492+
*/
493+
@SerializedName("status_details")
494+
List<
495+
Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard
496+
.StatusDetail>
497+
statusDetails;
498+
499+
/**
500+
* For more details about StatusDetail, please refer to the <a
501+
* href="https://docs.stripe.com/api">API Reference.</a>
502+
*/
503+
@Getter
504+
@Setter
505+
@EqualsAndHashCode(callSuper = false)
506+
public static class StatusDetail extends StripeObject {
507+
/**
508+
* Machine-readable code explaining the reason for the Capability to be in its
509+
* current status.
510+
*
511+
* <p>One of {@code determining_status}, {@code requirements_past_due}, {@code
512+
* requirements_pending_verification}, {@code restricted_other}, {@code
513+
* unsupported_business}, {@code unsupported_country}, or {@code
514+
* unsupported_entity_type}.
515+
*/
516+
@SerializedName("code")
517+
String code;
518+
519+
/**
520+
* Machine-readable code explaining how to make the Capability active.
521+
*
522+
* <p>One of {@code contact_stripe}, {@code no_resolution}, or {@code provide_info}.
523+
*/
524+
@SerializedName("resolution")
525+
String resolution;
526+
}
527+
}
528+
}
529+
452530
/** Can create commercial issuing cards with Stripe as a BIN sponsor. */
453531
@Getter
454532
@Setter
@@ -5561,6 +5639,16 @@ public static class Commercial extends StripeObject {
55615639
@SerializedName("cross_river_bank")
55625640
CrossRiverBank crossRiverBank;
55635641

5642+
/** Terms of service acceptances for Stripe commercial card Global issuing. */
5643+
@SerializedName("global_account_holder")
5644+
GlobalAccountHolder globalAccountHolder;
5645+
5646+
/**
5647+
* Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
5648+
*/
5649+
@SerializedName("lead")
5650+
Lead lead;
5651+
55645652
/** Terms of service acceptances for Stripe commercial card issuing. */
55655653
@Getter
55665654
@Setter
@@ -6177,6 +6265,188 @@ public static class FinancingDisclosures extends StripeObject {
61776265
}
61786266
}
61796267
}
6268+
6269+
/** Terms of service acceptances for Stripe commercial card Global issuing. */
6270+
@Getter
6271+
@Setter
6272+
@EqualsAndHashCode(callSuper = false)
6273+
public static class GlobalAccountHolder extends StripeObject {
6274+
/**
6275+
* The time when the Account's representative accepted the terms of service.
6276+
* Represented as a RFC 3339 date &amp; time UTC value in millisecond precision, for
6277+
* example: 2022-09-18T13:22:18.123Z.
6278+
*/
6279+
@SerializedName("date")
6280+
Instant date;
6281+
6282+
/**
6283+
* The IP address from which the Account's representative accepted the terms of
6284+
* service.
6285+
*/
6286+
@SerializedName("ip")
6287+
String ip;
6288+
6289+
/** The URL to the service agreement the Account's representative accepted. */
6290+
@SerializedName("url")
6291+
String url;
6292+
6293+
/**
6294+
* The user agent of the browser from which the Account's representative accepted the
6295+
* terms of service.
6296+
*/
6297+
@SerializedName("user_agent")
6298+
String userAgent;
6299+
}
6300+
6301+
/**
6302+
* Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
6303+
*/
6304+
@Getter
6305+
@Setter
6306+
@EqualsAndHashCode(callSuper = false)
6307+
public static class Lead extends StripeObject {
6308+
/**
6309+
* Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as
6310+
* BIN sponsor.
6311+
*/
6312+
@SerializedName("apple_pay")
6313+
ApplePay applePay;
6314+
6315+
/**
6316+
* Terms of service acceptances for commercial issuing Global prepaid cards with Lead
6317+
* as BIN sponsor.
6318+
*/
6319+
@SerializedName("prepaid_card")
6320+
PrepaidCard prepaidCard;
6321+
6322+
/**
6323+
* Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as
6324+
* BIN sponsor.
6325+
*/
6326+
@Getter
6327+
@Setter
6328+
@EqualsAndHashCode(callSuper = false)
6329+
public static class ApplePay extends StripeObject {
6330+
/**
6331+
* The time when the Account's representative accepted the terms of service.
6332+
* Represented as a RFC 3339 date &amp; time UTC value in millisecond precision, for
6333+
* example: 2022-09-18T13:22:18.123Z.
6334+
*/
6335+
@SerializedName("date")
6336+
Instant date;
6337+
6338+
/**
6339+
* The IP address from which the Account's representative accepted the terms of
6340+
* service.
6341+
*/
6342+
@SerializedName("ip")
6343+
String ip;
6344+
6345+
/** The URL to the service agreement the Account's representative accepted. */
6346+
@SerializedName("url")
6347+
String url;
6348+
6349+
/**
6350+
* The user agent of the browser from which the Account's representative accepted
6351+
* the terms of service.
6352+
*/
6353+
@SerializedName("user_agent")
6354+
String userAgent;
6355+
}
6356+
6357+
/**
6358+
* Terms of service acceptances for commercial issuing Global prepaid cards with Lead
6359+
* as BIN sponsor.
6360+
*/
6361+
@Getter
6362+
@Setter
6363+
@EqualsAndHashCode(callSuper = false)
6364+
public static class PrepaidCard extends StripeObject {
6365+
/**
6366+
* Bank terms of service acceptance for commercial Global issuing prepaid cards with
6367+
* Lead as BIN sponsor.
6368+
*/
6369+
@SerializedName("bank_terms")
6370+
BankTerms bankTerms;
6371+
6372+
/**
6373+
* Platform terms of service acceptance for commercial Global issuing prepaid cards
6374+
* with Lead as BIN sponsor.
6375+
*/
6376+
@SerializedName("platform")
6377+
Platform platform;
6378+
6379+
/**
6380+
* Bank terms of service acceptance for commercial Global issuing prepaid cards with
6381+
* Lead as BIN sponsor.
6382+
*/
6383+
@Getter
6384+
@Setter
6385+
@EqualsAndHashCode(callSuper = false)
6386+
public static class BankTerms extends StripeObject {
6387+
/**
6388+
* The time when the Account's representative accepted the terms of service.
6389+
* Represented as a RFC 3339 date &amp; time UTC value in millisecond precision,
6390+
* for example: 2022-09-18T13:22:18.123Z.
6391+
*/
6392+
@SerializedName("date")
6393+
Instant date;
6394+
6395+
/**
6396+
* The IP address from which the Account's representative accepted the terms of
6397+
* service.
6398+
*/
6399+
@SerializedName("ip")
6400+
String ip;
6401+
6402+
/** The URL to the service agreement the Account's representative accepted. */
6403+
@SerializedName("url")
6404+
String url;
6405+
6406+
/**
6407+
* The user agent of the browser from which the Account's representative accepted
6408+
* the terms of service.
6409+
*/
6410+
@SerializedName("user_agent")
6411+
String userAgent;
6412+
}
6413+
6414+
/**
6415+
* Platform terms of service acceptance for commercial Global issuing prepaid cards
6416+
* with Lead as BIN sponsor.
6417+
*/
6418+
@Getter
6419+
@Setter
6420+
@EqualsAndHashCode(callSuper = false)
6421+
public static class Platform extends StripeObject {
6422+
/**
6423+
* The time when the Account's representative accepted the terms of service.
6424+
* Represented as a RFC 3339 date &amp; time UTC value in millisecond precision,
6425+
* for example: 2022-09-18T13:22:18.123Z.
6426+
*/
6427+
@SerializedName("date")
6428+
Instant date;
6429+
6430+
/**
6431+
* The IP address from which the Account's representative accepted the terms of
6432+
* service.
6433+
*/
6434+
@SerializedName("ip")
6435+
String ip;
6436+
6437+
/** The URL to the service agreement the Account's representative accepted. */
6438+
@SerializedName("url")
6439+
String url;
6440+
6441+
/**
6442+
* The user agent of the browser from which the Account's representative accepted
6443+
* the terms of service.
6444+
*/
6445+
@SerializedName("user_agent")
6446+
String userAgent;
6447+
}
6448+
}
6449+
}
61806450
}
61816451
}
61826452

@@ -7778,11 +8048,11 @@ public static class RestrictsCapability extends StripeObject {
77788048
* cards}, {@code card_payments}, {@code cartes_bancaires_payments}, {@code
77798049
* cashapp_payments}, {@code commercial.celtic.charge_card}, {@code
77808050
* commercial.celtic.spend_card}, {@code commercial.cross_river_bank.charge_card}, {@code
7781-
* commercial.cross_river_bank.spend_card}, {@code commercial.stripe.charge_card}, {@code
7782-
* commercial.stripe.prepaid_card}, {@code crypto}, {@code eps_payments}, {@code
7783-
* financial_addresses.bank_accounts}, {@code fpx_payments}, {@code
7784-
* gb_bank_transfer_payments}, {@code grabpay_payments}, {@code holds_currencies.gbp},
7785-
* {@code holds_currencies.usd}, {@code ideal_payments}, {@code
8051+
* commercial.cross_river_bank.spend_card}, {@code commercial.lead.prepaid_card}, {@code
8052+
* commercial.stripe.charge_card}, {@code commercial.stripe.prepaid_card}, {@code crypto},
8053+
* {@code eps_payments}, {@code financial_addresses.bank_accounts}, {@code fpx_payments},
8054+
* {@code gb_bank_transfer_payments}, {@code grabpay_payments}, {@code
8055+
* holds_currencies.gbp}, {@code holds_currencies.usd}, {@code ideal_payments}, {@code
77868056
* inbound_transfers.financial_accounts}, {@code jcb_payments}, {@code
77878057
* jp_bank_transfer_payments}, {@code kakao_pay_payments}, {@code klarna_payments}, {@code
77888058
* konbini_payments}, {@code kr_card_payments}, {@code link_payments}, {@code

0 commit comments

Comments
 (0)