Package com.stripe.service
Class FileLinkService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.FileLinkService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(FileLinkCreateParams params) Creates a new file link object.create
(FileLinkCreateParams params, RequestOptions options) Creates a new file link object.list()
Returns a list of file links.list
(RequestOptions options) Returns a list of file links.list
(FileLinkListParams params) Returns a list of file links.list
(FileLinkListParams params, RequestOptions options) Returns a list of file links.Retrieves the file link with the given ID.retrieve
(String link, RequestOptions options) Retrieves the file link with the given ID.retrieve
(String link, FileLinkRetrieveParams params) Retrieves the file link with the given ID.retrieve
(String link, FileLinkRetrieveParams params, RequestOptions options) Retrieves the file link with the given ID.Updates an existing file link object.update
(String link, RequestOptions options) Updates an existing file link object.update
(String link, FileLinkUpdateParams params) Updates an existing file link object.update
(String link, FileLinkUpdateParams params, RequestOptions options) Updates an existing file link object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
FileLinkService
-
-
Method Details
-
list
Returns a list of file links.- Throws:
StripeException
-
list
Returns a list of file links.- Throws:
StripeException
-
list
Returns a list of file links.- Throws:
StripeException
-
list
public StripeCollection<FileLink> list(FileLinkListParams params, RequestOptions options) throws StripeException Returns a list of file links.- Throws:
StripeException
-
create
Creates a new file link object.- Throws:
StripeException
-
create
Creates a new file link object.- Throws:
StripeException
-
retrieve
Retrieves the file link with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the file link with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the file link with the given ID.- Throws:
StripeException
-
retrieve
public FileLink retrieve(String link, FileLinkRetrieveParams params, RequestOptions options) throws StripeException Retrieves the file link with the given ID.- Throws:
StripeException
-
update
Updates an existing file link object. Expired links can no longer be updated.- Throws:
StripeException
-
update
Updates an existing file link object. Expired links can no longer be updated.- Throws:
StripeException
-
update
Updates an existing file link object. Expired links can no longer be updated.- Throws:
StripeException
-
update
public FileLink update(String link, FileLinkUpdateParams params, RequestOptions options) throws StripeException Updates an existing file link object. Expired links can no longer be updated.- Throws:
StripeException
-