Package com.stripe.service.tax
Class FormService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.FormService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist
(FormListParams params) Returns a list of tax forms which were previously created.list
(FormListParams params, RequestOptions options) Returns a list of tax forms which were previously created.Download the PDF for a tax form.pdf
(String id, RequestOptions options) Download the PDF for a tax form.pdf
(String id, FormPdfParams params) Download the PDF for a tax form.pdf
(String id, FormPdfParams params, RequestOptions options) Download the PDF for a tax form.Retrieves the details of a tax form that has previously been created.retrieve
(String id, RequestOptions options) Retrieves the details of a tax form that has previously been created.retrieve
(String id, FormRetrieveParams params) Retrieves the details of a tax form that has previously been created.retrieve
(String id, FormRetrieveParams params, RequestOptions options) Retrieves the details of a tax form that has previously been created.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
FormService
-
-
Method Details
-
list
Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first.- Throws:
StripeException
-
list
public StripeCollection<Form> list(FormListParams params, RequestOptions options) throws StripeException Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first.- Throws:
StripeException
-
retrieve
Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.- Throws:
StripeException
-
retrieve
Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.- Throws:
StripeException
-
retrieve
Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.- Throws:
StripeException
-
retrieve
public Form retrieve(String id, FormRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.- Throws:
StripeException
-
pdf
Download the PDF for a tax form.- Throws:
StripeException
-
pdf
Download the PDF for a tax form.- Throws:
StripeException
-
pdf
Download the PDF for a tax form.- Throws:
StripeException
-
pdf
public InputStream pdf(String id, FormPdfParams params, RequestOptions options) throws StripeException Download the PDF for a tax form.- Throws:
StripeException
-