Skip to content

Commit

Permalink
Update generated code for v991
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 25, 2024
1 parent 7187c1e commit 3abe76c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/com/stripe/model/issuing/Authorization.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public void setTokenObject(Token expandableObject) {
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve() throws StripeException {
return approve((Map<String, Object>) null, (RequestOptions) null);
}
Expand All @@ -275,6 +276,7 @@ public Authorization approve() throws StripeException {
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve(RequestOptions options) throws StripeException {
return approve((Map<String, Object>) null, options);
}
Expand All @@ -287,6 +289,7 @@ public Authorization approve(RequestOptions options) throws StripeException {
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve(Map<String, Object> params) throws StripeException {
return approve(params, (RequestOptions) null);
}
Expand All @@ -299,6 +302,7 @@ public Authorization approve(Map<String, Object> params) throws StripeException
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve(Map<String, Object> params, RequestOptions options)
throws StripeException {
String path =
Expand All @@ -318,6 +322,7 @@ public Authorization approve(Map<String, Object> params, RequestOptions options)
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve(AuthorizationApproveParams params) throws StripeException {
return approve(params, (RequestOptions) null);
}
Expand All @@ -330,6 +335,7 @@ public Authorization approve(AuthorizationApproveParams params) throws StripeExc
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to approve an authorization</a>.
*/
@Deprecated
public Authorization approve(AuthorizationApproveParams params, RequestOptions options)
throws StripeException {
String path =
Expand All @@ -355,6 +361,7 @@ public Authorization approve(AuthorizationApproveParams params, RequestOptions o
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline() throws StripeException {
return decline((Map<String, Object>) null, (RequestOptions) null);
}
Expand All @@ -367,6 +374,7 @@ public Authorization decline() throws StripeException {
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline(RequestOptions options) throws StripeException {
return decline((Map<String, Object>) null, options);
}
Expand All @@ -379,6 +387,7 @@ public Authorization decline(RequestOptions options) throws StripeException {
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline(Map<String, Object> params) throws StripeException {
return decline(params, (RequestOptions) null);
}
Expand All @@ -391,6 +400,7 @@ public Authorization decline(Map<String, Object> params) throws StripeException
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline(Map<String, Object> params, RequestOptions options)
throws StripeException {
String path =
Expand All @@ -410,6 +420,7 @@ public Authorization decline(Map<String, Object> params, RequestOptions options)
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline(AuthorizationDeclineParams params) throws StripeException {
return decline(params, (RequestOptions) null);
}
Expand All @@ -422,6 +433,7 @@ public Authorization decline(AuthorizationDeclineParams params) throws StripeExc
* href="https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">respond
* directly to the webhook request to decline an authorization</a>.
*/
@Deprecated
public Authorization decline(AuthorizationDeclineParams params, RequestOptions options)
throws StripeException {
String path =
Expand Down

0 comments on commit 3abe76c

Please sign in to comment.