Package com.stripe.service
Class TaxRateService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.TaxRateService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(TaxRateCreateParams params) Creates a new tax rate.create
(TaxRateCreateParams params, RequestOptions options) Creates a new tax rate.list()
Returns a list of your tax rates.list
(RequestOptions options) Returns a list of your tax rates.list
(TaxRateListParams params) Returns a list of your tax rates.list
(TaxRateListParams params, RequestOptions options) Returns a list of your tax rates.Retrieves a tax rate with the given ID.retrieve
(String taxRate, RequestOptions options) Retrieves a tax rate with the given ID.retrieve
(String taxRate, TaxRateRetrieveParams params) Retrieves a tax rate with the given ID.retrieve
(String taxRate, TaxRateRetrieveParams params, RequestOptions options) Retrieves a tax rate with the given ID.Updates an existing tax rate.update
(String taxRate, RequestOptions options) Updates an existing tax rate.update
(String taxRate, TaxRateUpdateParams params) Updates an existing tax rate.update
(String taxRate, TaxRateUpdateParams params, RequestOptions options) Updates an existing tax rate.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TaxRateService
-
-
Method Details
-
list
Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.- Throws:
StripeException
-
list
Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.- Throws:
StripeException
-
list
Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.- Throws:
StripeException
-
list
public StripeCollection<TaxRate> list(TaxRateListParams params, RequestOptions options) throws StripeException Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.- Throws:
StripeException
-
create
Creates a new tax rate.- Throws:
StripeException
-
create
Creates a new tax rate.- Throws:
StripeException
-
retrieve
Retrieves a tax rate with the given ID.- Throws:
StripeException
-
retrieve
Retrieves a tax rate with the given ID.- Throws:
StripeException
-
retrieve
Retrieves a tax rate with the given ID.- Throws:
StripeException
-
retrieve
public TaxRate retrieve(String taxRate, TaxRateRetrieveParams params, RequestOptions options) throws StripeException Retrieves a tax rate with the given ID.- Throws:
StripeException
-
update
Updates an existing tax rate.- Throws:
StripeException
-
update
Updates an existing tax rate.- Throws:
StripeException
-
update
Updates an existing tax rate.- Throws:
StripeException
-
update
public TaxRate update(String taxRate, TaxRateUpdateParams params, RequestOptions options) throws StripeException Updates an existing tax rate.- Throws:
StripeException
-