Skip to content

Commit 9069d26

Browse files
Merge pull request #1939 from stripe/latest-codegen-beta
Update generated code for beta
2 parents c52e3f0 + 1a6261d commit 9069d26

File tree

6 files changed

+11
-62
lines changed

6 files changed

+11
-62
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1454
1+
v1460

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

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,10 +1917,8 @@ public static class Card extends StripeObject {
19171917
/**
19181918
* This is used by the financial networks to identify a transaction. Visa calls this the
19191919
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
1920-
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
1921-
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
1922-
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
1923-
* Express transactions and always null for other card brands.
1920+
* Acquirer Reference Data. This value will be present if it is returned by the financial
1921+
* network in the authorization response, and null otherwise.
19241922
*/
19251923
@SerializedName("network_transaction_id")
19261924
String networkTransactionId;
@@ -2521,10 +2519,8 @@ public static class CardPresent extends StripeObject {
25212519
/**
25222520
* This is used by the financial networks to identify a transaction. Visa calls this the
25232521
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
2524-
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
2525-
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
2526-
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
2527-
* Express transactions and always null for other card brands.
2522+
* Acquirer Reference Data. This value will be present if it is returned by the financial
2523+
* network in the authorization response, and null otherwise.
25282524
*/
25292525
@SerializedName("network_transaction_id")
25302526
String networkTransactionId;
@@ -3029,10 +3025,8 @@ public static class InteracPresent extends StripeObject {
30293025
/**
30303026
* This is used by the financial networks to identify a transaction. Visa calls this the
30313027
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
3032-
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
3033-
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
3034-
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
3035-
* Express transactions and always null for other card brands.
3028+
* Acquirer Reference Data. This value will be present if it is returned by the financial
3029+
* network in the authorization response, and null otherwise.
30363030
*/
30373031
@SerializedName("network_transaction_id")
30383032
String networkTransactionId;

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -964,10 +964,8 @@ public static class CardPresent extends StripeObject {
964964
/**
965965
* This is used by the financial networks to identify a transaction. Visa calls this the
966966
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this
967-
* the Acquirer Reference Data. The first three digits of the Trace ID is the Financial
968-
* Network Code, the next 6 digits is the Banknet Reference Number, and the last 4
969-
* digits represent the date (MM/DD). This field will be available for successful Visa,
970-
* Mastercard, or American Express transactions and always null for other card brands.
967+
* the Acquirer Reference Data. This value will be present if it is returned by the
968+
* financial network in the authorization response, and null otherwise.
971969
*/
972970
@SerializedName("network_transaction_id")
973971
String networkTransactionId;

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,10 +1195,8 @@ public static class CardPresent extends StripeObject {
11951195
/**
11961196
* This is used by the financial networks to identify a transaction. Visa calls this the
11971197
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
1198-
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial
1199-
* Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits
1200-
* represent the date (MM/DD). This field will be available for successful Visa,
1201-
* Mastercard, or American Express transactions and always null for other card brands.
1198+
* Acquirer Reference Data. This value will be present if it is returned by the financial
1199+
* network in the authorization response, and null otherwise.
12021200
*/
12031201
@SerializedName("network_transaction_id")
12041202
String networkTransactionId;

src/main/java/com/stripe/model/terminal/Reader.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -954,10 +954,6 @@ public static class CollectPaymentMethod extends StripeObject {
954954
@SerializedName("payment_method")
955955
PaymentMethod paymentMethod;
956956

957-
/** This field will be deprecated. Please use {@code account} instead. */
958-
@SerializedName("stripe_account")
959-
String stripeAccount;
960-
961957
/** Get ID of expandable {@code paymentIntent} object. */
962958
public String getPaymentIntent() {
963959
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
@@ -1025,10 +1021,6 @@ public static class ConfirmPaymentIntent extends StripeObject {
10251021
@Setter(lombok.AccessLevel.NONE)
10261022
ExpandableField<PaymentIntent> paymentIntent;
10271023

1028-
/** This field will be deprecated. Please use {@code account} instead. */
1029-
@SerializedName("stripe_account")
1030-
String stripeAccount;
1031-
10321024
/** Get ID of expandable {@code paymentIntent} object. */
10331025
public String getPaymentIntent() {
10341026
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
@@ -1068,10 +1060,6 @@ public static class ProcessPaymentIntent extends StripeObject {
10681060
@SerializedName("process_config")
10691061
ProcessConfig processConfig;
10701062

1071-
/** This field will be deprecated. Please use {@code account} instead. */
1072-
@SerializedName("stripe_account")
1073-
String stripeAccount;
1074-
10751063
/** Get ID of expandable {@code paymentIntent} object. */
10761064
public String getPaymentIntent() {
10771065
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
@@ -1247,10 +1235,6 @@ public static class RefundPayment extends StripeObject {
12471235
@SerializedName("reverse_transfer")
12481236
Boolean reverseTransfer;
12491237

1250-
/** This field will be deprecated. Please use {@code account} instead. */
1251-
@SerializedName("stripe_account")
1252-
String stripeAccount;
1253-
12541238
/** Get ID of expandable {@code charge} object. */
12551239
public String getCharge() {
12561240
return (this.charge != null) ? this.charge.getId() : null;

0 commit comments

Comments
 (0)