Skip to content

Commit

Permalink
Merge pull request #1939 from stripe/latest-codegen-beta
Browse files Browse the repository at this point in the history
Update generated code for beta
  • Loading branch information
stripe-openapi[bot] authored Jan 23, 2025
2 parents c52e3f0 + 1a6261d commit 9069d26
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 62 deletions.
25 changes: 0 additions & 25 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1454
v1460
18 changes: 6 additions & 12 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1917,10 +1917,8 @@ public static class Card extends StripeObject {
/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
* Express transactions and always null for other card brands.
* Acquirer Reference Data. This value will be present if it is returned by the financial
* network in the authorization response, and null otherwise.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;
Expand Down Expand Up @@ -2521,10 +2519,8 @@ public static class CardPresent extends StripeObject {
/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
* Express transactions and always null for other card brands.
* Acquirer Reference Data. This value will be present if it is returned by the financial
* network in the authorization response, and null otherwise.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;
Expand Down Expand Up @@ -3029,10 +3025,8 @@ public static class InteracPresent extends StripeObject {
/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
* Express transactions and always null for other card brands.
* Acquirer Reference Data. This value will be present if it is returned by the financial
* network in the authorization response, and null otherwise.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,8 @@ public static class CardPresent extends StripeObject {
/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this
* the Acquirer Reference Data. The first three digits of the Trace ID is the Financial
* Network Code, the next 6 digits is the Banknet Reference Number, and the last 4
* digits represent the date (MM/DD). This field will be available for successful Visa,
* Mastercard, or American Express transactions and always null for other card brands.
* the Acquirer Reference Data. This value will be present if it is returned by the
* financial network in the authorization response, and null otherwise.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -1195,10 +1195,8 @@ public static class CardPresent extends StripeObject {
/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial
* Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits
* represent the date (MM/DD). This field will be available for successful Visa,
* Mastercard, or American Express transactions and always null for other card brands.
* Acquirer Reference Data. This value will be present if it is returned by the financial
* network in the authorization response, and null otherwise.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;
Expand Down
16 changes: 0 additions & 16 deletions src/main/java/com/stripe/model/terminal/Reader.java
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,6 @@ public static class CollectPaymentMethod extends StripeObject {
@SerializedName("payment_method")
PaymentMethod paymentMethod;

/** This field will be deprecated. Please use {@code account} instead. */
@SerializedName("stripe_account")
String stripeAccount;

/** Get ID of expandable {@code paymentIntent} object. */
public String getPaymentIntent() {
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
Expand Down Expand Up @@ -1025,10 +1021,6 @@ public static class ConfirmPaymentIntent extends StripeObject {
@Setter(lombok.AccessLevel.NONE)
ExpandableField<PaymentIntent> paymentIntent;

/** This field will be deprecated. Please use {@code account} instead. */
@SerializedName("stripe_account")
String stripeAccount;

/** Get ID of expandable {@code paymentIntent} object. */
public String getPaymentIntent() {
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
Expand Down Expand Up @@ -1068,10 +1060,6 @@ public static class ProcessPaymentIntent extends StripeObject {
@SerializedName("process_config")
ProcessConfig processConfig;

/** This field will be deprecated. Please use {@code account} instead. */
@SerializedName("stripe_account")
String stripeAccount;

/** Get ID of expandable {@code paymentIntent} object. */
public String getPaymentIntent() {
return (this.paymentIntent != null) ? this.paymentIntent.getId() : null;
Expand Down Expand Up @@ -1247,10 +1235,6 @@ public static class RefundPayment extends StripeObject {
@SerializedName("reverse_transfer")
Boolean reverseTransfer;

/** This field will be deprecated. Please use {@code account} instead. */
@SerializedName("stripe_account")
String stripeAccount;

/** Get ID of expandable {@code charge} object. */
public String getCharge() {
return (this.charge != null) ? this.charge.getId() : null;
Expand Down

0 comments on commit 9069d26

Please sign in to comment.