Skip to content

Commit

Permalink
Deprecate Java params based on OpenAPI spec (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmesh-stripe committed May 2, 2024
1 parent 9ef0736 commit 28dfdef
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,7 @@ public static class Link extends StripeObject {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/stripe/model/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -3365,6 +3365,7 @@ public static class Link extends StripeObject {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,7 @@ public static class Link extends StripeObject {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/stripe/model/SetupIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ public static class CardPresent extends StripeObject {}
public static class Link extends StripeObject {
/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12232,6 +12232,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12762,6 +12762,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12325,6 +12325,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
Object persistentToken;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6704,6 +6704,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;

private Link(Map<String, Object> extraParams, String persistentToken) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7158,6 +7158,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
String persistentToken;

private Link(Map<String, Object> extraParams, String persistentToken) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6703,6 +6703,7 @@ public static class Link {

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@SerializedName("persistent_token")
@Deprecated
Object persistentToken;

private Link(Map<String, Object> extraParams, Object persistentToken) {
Expand Down

0 comments on commit 28dfdef

Please sign in to comment.