Package com.stripe.service
Class InvoiceRenderingTemplateService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.InvoiceRenderingTemplateService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUpdates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it.archive
(String template, RequestOptions options) Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it.archive
(String template, InvoiceRenderingTemplateArchiveParams params) Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it.archive
(String template, InvoiceRenderingTemplateArchiveParams params, RequestOptions options) Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it.list()
List all templates, ordered by creation date, with the most recently created template appearing first.list
(RequestOptions options) List all templates, ordered by creation date, with the most recently created template appearing first.List all templates, ordered by creation date, with the most recently created template appearing first.list
(InvoiceRenderingTemplateListParams params, RequestOptions options) List all templates, ordered by creation date, with the most recently created template appearing first.Retrieves an invoice rendering template with the given ID.retrieve
(String template, RequestOptions options) Retrieves an invoice rendering template with the given ID.retrieve
(String template, InvoiceRenderingTemplateRetrieveParams params) Retrieves an invoice rendering template with the given ID.retrieve
(String template, InvoiceRenderingTemplateRetrieveParams params, RequestOptions options) Retrieves an invoice rendering template with the given ID.Unarchive an invoice rendering template so it can be used on new Stripe objects again.unarchive
(String template, RequestOptions options) Unarchive an invoice rendering template so it can be used on new Stripe objects again.unarchive
(String template, InvoiceRenderingTemplateUnarchiveParams params) Unarchive an invoice rendering template so it can be used on new Stripe objects again.unarchive
(String template, InvoiceRenderingTemplateUnarchiveParams params, RequestOptions options) Unarchive an invoice rendering template so it can be used on new Stripe objects again.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
InvoiceRenderingTemplateService
-
-
Method Details
-
list
public StripeCollection<InvoiceRenderingTemplate> list(InvoiceRenderingTemplateListParams params) throws StripeException List all templates, ordered by creation date, with the most recently created template appearing first.- Throws:
StripeException
-
list
public StripeCollection<InvoiceRenderingTemplate> list(RequestOptions options) throws StripeException List all templates, ordered by creation date, with the most recently created template appearing first.- Throws:
StripeException
-
list
List all templates, ordered by creation date, with the most recently created template appearing first.- Throws:
StripeException
-
list
public StripeCollection<InvoiceRenderingTemplate> list(InvoiceRenderingTemplateListParams params, RequestOptions options) throws StripeException List all templates, ordered by creation date, with the most recently created template appearing first.- Throws:
StripeException
-
retrieve
public InvoiceRenderingTemplate retrieve(String template, InvoiceRenderingTemplateRetrieveParams params) throws StripeException Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.- Throws:
StripeException
-
retrieve
public InvoiceRenderingTemplate retrieve(String template, RequestOptions options) throws StripeException Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.- Throws:
StripeException
-
retrieve
Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.- Throws:
StripeException
-
retrieve
public InvoiceRenderingTemplate retrieve(String template, InvoiceRenderingTemplateRetrieveParams params, RequestOptions options) throws StripeException Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.- Throws:
StripeException
-
archive
public InvoiceRenderingTemplate archive(String template, InvoiceRenderingTemplateArchiveParams params) throws StripeException Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.- Throws:
StripeException
-
archive
public InvoiceRenderingTemplate archive(String template, RequestOptions options) throws StripeException Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.- Throws:
StripeException
-
archive
Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.- Throws:
StripeException
-
archive
public InvoiceRenderingTemplate archive(String template, InvoiceRenderingTemplateArchiveParams params, RequestOptions options) throws StripeException Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.- Throws:
StripeException
-
unarchive
public InvoiceRenderingTemplate unarchive(String template, InvoiceRenderingTemplateUnarchiveParams params) throws StripeException Unarchive an invoice rendering template so it can be used on new Stripe objects again.- Throws:
StripeException
-
unarchive
public InvoiceRenderingTemplate unarchive(String template, RequestOptions options) throws StripeException Unarchive an invoice rendering template so it can be used on new Stripe objects again.- Throws:
StripeException
-
unarchive
Unarchive an invoice rendering template so it can be used on new Stripe objects again.- Throws:
StripeException
-
unarchive
public InvoiceRenderingTemplate unarchive(String template, InvoiceRenderingTemplateUnarchiveParams params, RequestOptions options) throws StripeException Unarchive an invoice rendering template so it can be used on new Stripe objects again.- Throws:
StripeException
-