Skip to content

Commit

Permalink
Added deprecated annotation to builder methods (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmesh-stripe committed May 13, 2024
1 parent 16bbc22 commit f1f582b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12384,6 +12384,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12875,6 +12875,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -12438,12 +12438,14 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(EmptyParam persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6756,6 +6756,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7210,6 +7210,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/stripe/param/SetupIntentUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -6755,12 +6755,14 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(String persistentToken) {
this.persistentToken = persistentToken;
return this;
}

/** [Deprecated] This is a legacy parameter that no longer has any function. */
@Deprecated
public Builder setPersistentToken(EmptyParam persistentToken) {
this.persistentToken = persistentToken;
return this;
Expand Down

0 comments on commit f1f582b

Please sign in to comment.