Skip to content

Commit 10ef9ab

Browse files
Update generated code for v2289 and de3675e8666757ecc39afc1d9c7e3b4143025424
1 parent 0bd2acd commit 10ef9ab

6 files changed

Lines changed: 1020 additions & 2 deletions

File tree

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bfc40fd356c460f9f1e04c4f6ba95b5ebb03a631
1+
de3675e8666757ecc39afc1d9c7e3b4143025424

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2288
1+
v2289

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

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6015,6 +6015,20 @@ public static class Boleto extends StripeObject {
60156015
@Setter
60166016
@EqualsAndHashCode(callSuper = false)
60176017
public static class Card extends StripeObject {
6018+
/**
6019+
* Controls when funds are captured from the customer's account when {@code capture_method} is
6020+
* {@code automatic_delayed}.
6021+
*
6022+
* <p>If omitted, funds are captured before the authorization expires.
6023+
*
6024+
* <p>One of {@code auth_expiry}, {@code end_of_day}, or {@code target_delay}.
6025+
*/
6026+
@SerializedName("capture_by")
6027+
String captureBy;
6028+
6029+
@SerializedName("capture_delay")
6030+
CaptureDelay captureDelay;
6031+
60186032
/**
60196033
* Controls when the funds will be captured from the customer's account.
60206034
*
@@ -6179,6 +6193,33 @@ public static class Card extends StripeObject {
61796193
@SerializedName("statement_details")
61806194
StatementDetails statementDetails;
61816195

6196+
/**
6197+
* For more details about CaptureDelay, please refer to the <a
6198+
* href="https://docs.stripe.com/api">API Reference.</a>
6199+
*/
6200+
@Getter
6201+
@Setter
6202+
@EqualsAndHashCode(callSuper = false)
6203+
public static class CaptureDelay extends StripeObject {
6204+
/**
6205+
* The number of days to delay the capture of the funds.
6206+
*
6207+
* <p>You can only set this if {@code capture_method} is {@code automatic_delayed} and
6208+
* {@code capture_by} is {@code target_delay}.
6209+
*/
6210+
@SerializedName("days")
6211+
Long days;
6212+
6213+
/**
6214+
* The number of hours to delay the capture of the funds.
6215+
*
6216+
* <p>You can only set this if {@code capture_method} is {@code automatic_delayed} and
6217+
* {@code capture_by} is {@code target_delay}.
6218+
*/
6219+
@SerializedName("hours")
6220+
Long hours;
6221+
}
6222+
61826223
/**
61836224
* For more details about Installments, please refer to the <a
61846225
* href="https://docs.stripe.com/api">API Reference.</a>
@@ -6390,6 +6431,20 @@ public static class Address extends StripeObject {
63906431
@Setter
63916432
@EqualsAndHashCode(callSuper = false)
63926433
public static class CardPresent extends StripeObject {
6434+
/**
6435+
* Controls when funds are captured from the customer's account when {@code capture_method} is
6436+
* {@code automatic_delayed}.
6437+
*
6438+
* <p>If omitted, funds are captured before the authorization expires.
6439+
*
6440+
* <p>One of {@code auth_expiry}, {@code end_of_day}, or {@code target_delay}.
6441+
*/
6442+
@SerializedName("capture_by")
6443+
String captureBy;
6444+
6445+
@SerializedName("capture_delay")
6446+
CaptureDelay captureDelay;
6447+
63936448
/**
63946449
* Controls when the funds will be captured from the customer's account.
63956450
*
@@ -6430,6 +6485,33 @@ public static class CardPresent extends StripeObject {
64306485
@SerializedName("routing")
64316486
Routing routing;
64326487

6488+
/**
6489+
* For more details about CaptureDelay, please refer to the <a
6490+
* href="https://docs.stripe.com/api">API Reference.</a>
6491+
*/
6492+
@Getter
6493+
@Setter
6494+
@EqualsAndHashCode(callSuper = false)
6495+
public static class CaptureDelay extends StripeObject {
6496+
/**
6497+
* The number of days to delay the capture of the funds.
6498+
*
6499+
* <p>You can only set this if {@code capture_method} is {@code automatic_delayed} and
6500+
* {@code capture_by} is {@code target_delay}.
6501+
*/
6502+
@SerializedName("days")
6503+
Long days;
6504+
6505+
/**
6506+
* The number of hours to delay the capture of the funds.
6507+
*
6508+
* <p>You can only set this if {@code capture_method} is {@code automatic_delayed} and
6509+
* {@code capture_by} is {@code target_delay}.
6510+
*/
6511+
@SerializedName("hours")
6512+
Long hours;
6513+
}
6514+
64336515
/**
64346516
* For more details about Routing, please refer to the <a
64356517
* href="https://docs.stripe.com/api">API Reference.</a>

0 commit comments

Comments
 (0)