Package com.stripe.service.issuing
Class AuthorizationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.issuing.AuthorizationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription[Deprecated] Approves a pending IssuingAuthorization
object.approve
(String authorization, RequestOptions options) [Deprecated] Approves a pending IssuingAuthorization
object.approve
(String authorization, AuthorizationApproveParams params) [Deprecated] Approves a pending IssuingAuthorization
object.approve
(String authorization, AuthorizationApproveParams params, RequestOptions options) [Deprecated] Approves a pending IssuingAuthorization
object.[Deprecated] Declines a pending IssuingAuthorization
object.decline
(String authorization, RequestOptions options) [Deprecated] Declines a pending IssuingAuthorization
object.decline
(String authorization, AuthorizationDeclineParams params) [Deprecated] Declines a pending IssuingAuthorization
object.decline
(String authorization, AuthorizationDeclineParams params, RequestOptions options) [Deprecated] Declines a pending IssuingAuthorization
object.list()
Returns a list of IssuingAuthorization
objects.list
(RequestOptions options) Returns a list of IssuingAuthorization
objects.list
(AuthorizationListParams params) Returns a list of IssuingAuthorization
objects.list
(AuthorizationListParams params, RequestOptions options) Returns a list of IssuingAuthorization
objects.Retrieves an IssuingAuthorization
object.retrieve
(String authorization, RequestOptions options) Retrieves an IssuingAuthorization
object.retrieve
(String authorization, AuthorizationRetrieveParams params) Retrieves an IssuingAuthorization
object.retrieve
(String authorization, AuthorizationRetrieveParams params, RequestOptions options) Retrieves an IssuingAuthorization
object.Updates the specified IssuingAuthorization
object by setting the values of the parameters passed.update
(String authorization, RequestOptions options) Updates the specified IssuingAuthorization
object by setting the values of the parameters passed.update
(String authorization, AuthorizationUpdateParams params) Updates the specified IssuingAuthorization
object by setting the values of the parameters passed.update
(String authorization, AuthorizationUpdateParams params, RequestOptions options) Updates the specified IssuingAuthorization
object by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AuthorizationService
-
-
Method Details
-
list
Returns a list of IssuingAuthorization
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list of IssuingAuthorization
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list of IssuingAuthorization
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public StripeCollection<Authorization> list(AuthorizationListParams params, RequestOptions options) throws StripeException Returns a list of IssuingAuthorization
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
retrieve
public Authorization retrieve(String authorization, AuthorizationRetrieveParams params) throws StripeException Retrieves an IssuingAuthorization
object.- Throws:
StripeException
-
retrieve
Retrieves an IssuingAuthorization
object.- Throws:
StripeException
-
retrieve
Retrieves an IssuingAuthorization
object.- Throws:
StripeException
-
retrieve
public Authorization retrieve(String authorization, AuthorizationRetrieveParams params, RequestOptions options) throws StripeException Retrieves an IssuingAuthorization
object.- Throws:
StripeException
-
update
public Authorization update(String authorization, AuthorizationUpdateParams params) throws StripeException Updates the specified IssuingAuthorization
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates the specified IssuingAuthorization
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates the specified IssuingAuthorization
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
public Authorization update(String authorization, AuthorizationUpdateParams params, RequestOptions options) throws StripeException Updates the specified IssuingAuthorization
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
approve
public Authorization approve(String authorization, AuthorizationApproveParams params) throws StripeException [Deprecated] Approves a pending IssuingAuthorization
object. This request should be made within the timeout window of the real-time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.- Throws:
StripeException
-
approve
[Deprecated] Approves a pending IssuingAuthorization
object. This request should be made within the timeout window of the real-time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.- Throws:
StripeException
-
approve
[Deprecated] Approves a pending IssuingAuthorization
object. This request should be made within the timeout window of the real-time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.- Throws:
StripeException
-
approve
public Authorization approve(String authorization, AuthorizationApproveParams params, RequestOptions options) throws StripeException [Deprecated] Approves a pending IssuingAuthorization
object. This request should be made within the timeout window of the real-time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.- Throws:
StripeException
-
decline
public Authorization decline(String authorization, AuthorizationDeclineParams params) throws StripeException [Deprecated] Declines a pending IssuingAuthorization
object. This request should be made within the timeout window of the real time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.- Throws:
StripeException
-
decline
[Deprecated] Declines a pending IssuingAuthorization
object. This request should be made within the timeout window of the real time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.- Throws:
StripeException
-
decline
[Deprecated] Declines a pending IssuingAuthorization
object. This request should be made within the timeout window of the real time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.- Throws:
StripeException
-
decline
public Authorization decline(String authorization, AuthorizationDeclineParams params, RequestOptions options) throws StripeException [Deprecated] Declines a pending IssuingAuthorization
object. This request should be made within the timeout window of the real time authorization flow. This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.- Throws:
StripeException
-