Skip to content

Commit

Permalink
Update generated code for v1460
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 23, 2025
1 parent 4939761 commit 1a6261d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1459
v1460
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 1a6261d

Please sign in to comment.