Skip to content

Commit 4430b28

Browse files
Merge upstream and update generated code for v1566
2 parents 451bc5e + 6b047be commit 4430b28

File tree

642 files changed

+4939
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

642 files changed

+4939
-144
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1565
1+
v1566

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,6 +1881,13 @@ public static class Multibanco extends StripeObject {}
18811881
@Setter
18821882
@EqualsAndHashCode(callSuper = false)
18831883
public static class NaverPay extends StripeObject {
1884+
/**
1885+
* Uniquely identifies this particular Naver Pay account. You can use this attribute to check
1886+
* whether two Naver Pay accounts are the same.
1887+
*/
1888+
@SerializedName("buyer_id")
1889+
String buyerId;
1890+
18841891
/**
18851892
* Whether to fund this transaction with Naver Pay points or a card.
18861893
*

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ public static class PaymentMethodDetails extends StripeObject {
233233
@SerializedName("link")
234234
Link link;
235235

236+
@SerializedName("naver_pay")
237+
NaverPay naverPay;
238+
236239
@SerializedName("paypal")
237240
Paypal paypal;
238241

@@ -396,6 +399,15 @@ public static class KrCard extends StripeObject {}
396399
@EqualsAndHashCode(callSuper = false)
397400
public static class Link extends StripeObject {}
398401

402+
/**
403+
* For more details about NaverPay, please refer to the <a
404+
* href="https://docs.stripe.com/api">API Reference.</a>
405+
*/
406+
@Getter
407+
@Setter
408+
@EqualsAndHashCode(callSuper = false)
409+
public static class NaverPay extends StripeObject {}
410+
399411
/**
400412
* For more details about Paypal, please refer to the <a href="https://docs.stripe.com/api">API
401413
* Reference.</a>

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4841,6 +4841,30 @@ public static class NaverPay extends StripeObject {
48414841
*/
48424842
@SerializedName("capture_method")
48434843
String captureMethod;
4844+
4845+
/**
4846+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
4847+
*
4848+
* <p>If you provide a Customer with the PaymentIntent, you can use this parameter to <a
4849+
* href="https://stripe.com/payments/save-during-payment">attach the payment method</a> to the
4850+
* Customer after the PaymentIntent is confirmed and the customer completes any required
4851+
* actions. If you don't provide a Customer, you can still <a
4852+
* href="https://stripe.com/api/payment_methods/attach">attach</a> the payment method to a
4853+
* Customer after the transaction completes.
4854+
*
4855+
* <p>If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
4856+
* and attaches a <a
4857+
* href="https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card">generated_card</a>
4858+
* payment method representing the card to the Customer instead.
4859+
*
4860+
* <p>When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
4861+
* with regional legislation and network rules, such as <a
4862+
* href="https://stripe.com/strong-customer-authentication">SCA</a>.
4863+
*
4864+
* <p>One of {@code none}, or {@code off_session}.
4865+
*/
4866+
@SerializedName("setup_future_usage")
4867+
String setupFutureUsage;
48444868
}
48454869

48464870
/**

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2104,6 +2104,13 @@ public static class Multibanco extends StripeObject {}
21042104
@Setter
21052105
@EqualsAndHashCode(callSuper = false)
21062106
public static class NaverPay extends StripeObject {
2107+
/**
2108+
* Uniquely identifies this particular Naver Pay account. You can use this attribute to check
2109+
* whether two Naver Pay accounts are the same.
2110+
*/
2111+
@SerializedName("buyer_id")
2112+
String buyerId;
2113+
21072114
/**
21082115
* Whether to fund this transaction with Naver Pay points or a card.
21092116
*

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ public static class PaymentMethodDetails extends StripeObject {
313313
@SerializedName("link")
314314
Link link;
315315

316+
@SerializedName("naver_pay")
317+
NaverPay naverPay;
318+
316319
@SerializedName("paypal")
317320
Paypal paypal;
318321

@@ -944,6 +947,22 @@ public static class KrCard extends StripeObject {}
944947
@EqualsAndHashCode(callSuper = false)
945948
public static class Link extends StripeObject {}
946949

950+
/**
951+
* For more details about NaverPay, please refer to the <a
952+
* href="https://docs.stripe.com/api">API Reference.</a>
953+
*/
954+
@Getter
955+
@Setter
956+
@EqualsAndHashCode(callSuper = false)
957+
public static class NaverPay extends StripeObject {
958+
/**
959+
* Uniquely identifies this particular Naver Pay account. You can use this attribute to check
960+
* whether two Naver Pay accounts are the same.
961+
*/
962+
@SerializedName("buyer_id")
963+
String buyerId;
964+
}
965+
947966
/**
948967
* For more details about Paypal, please refer to the <a href="https://docs.stripe.com/api">API
949968
* Reference.</a>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
import java.util.HashMap;
88
import java.util.List;
99
import java.util.Map;
10+
import lombok.EqualsAndHashCode;
1011
import lombok.Getter;
1112

1213
@Getter
14+
@EqualsAndHashCode(callSuper = false)
1315
public class AccountCapabilitiesParams extends ApiRequestParams {
1416
/** Specifies which fields in the response should be expanded. */
1517
@SerializedName("expand")

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
import java.util.HashMap;
88
import java.util.List;
99
import java.util.Map;
10+
import lombok.EqualsAndHashCode;
1011
import lombok.Getter;
1112

1213
@Getter
14+
@EqualsAndHashCode(callSuper = false)
1315
public class AccountCapabilityListParams extends ApiRequestParams {
1416
/** Specifies which fields in the response should be expanded. */
1517
@SerializedName("expand")

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
import java.util.HashMap;
88
import java.util.List;
99
import java.util.Map;
10+
import lombok.EqualsAndHashCode;
1011
import lombok.Getter;
1112

1213
@Getter
14+
@EqualsAndHashCode(callSuper = false)
1315
public class AccountCapabilityRetrieveParams extends ApiRequestParams {
1416
/** Specifies which fields in the response should be expanded. */
1517
@SerializedName("expand")

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
import java.util.HashMap;
88
import java.util.List;
99
import java.util.Map;
10+
import lombok.EqualsAndHashCode;
1011
import lombok.Getter;
1112

1213
@Getter
14+
@EqualsAndHashCode(callSuper = false)
1315
public class AccountCapabilityUpdateParams extends ApiRequestParams {
1416
/** Specifies which fields in the response should be expanded. */
1517
@SerializedName("expand")

0 commit comments

Comments
 (0)