Package com.stripe.service.tax
Class LocationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.LocationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(LocationCreateParams params) Create a tax location to use in calculating taxes for a service, ticket, or other type of product.create(LocationCreateParams params, RequestOptions options) Create a tax location to use in calculating taxes for a service, ticket, or other type of product.list(LocationListParams params) Retrieve a list of all tax locations.list(LocationListParams params, RequestOptions options) Retrieve a list of all tax locations.Fetch the details of a specific tax location using its unique identifier.retrieve(String location, RequestOptions options) Fetch the details of a specific tax location using its unique identifier.retrieve(String location, LocationRetrieveParams params) Fetch the details of a specific tax location using its unique identifier.retrieve(String location, LocationRetrieveParams params, RequestOptions options) Fetch the details of a specific tax location using its unique identifier.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
LocationService
-
-
Method Details
-
list
Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
You can paginate through the list by using the
limitparameter to control the number of results returned in each request.- Throws:
StripeException
-
list
public StripeCollection<Location> list(LocationListParams params, RequestOptions options) throws StripeException Retrieve a list of all tax locations. Tax locations can represent the venues for services, tickets, or other product types.The response includes detailed information for each tax location, such as its address, name, description, and current operational status.
You can paginate through the list by using the
limitparameter to control the number of results returned in each request.- Throws:
StripeException
-
create
Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.- Throws:
StripeException
-
create
Create a tax location to use in calculating taxes for a service, ticket, or other type of product. The resulting object contains the id, address, name, description, and current operational status of the tax location.- Throws:
StripeException
-
retrieve
Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the integration guide.- Throws:
StripeException
-
retrieve
Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the integration guide.- Throws:
StripeException
-
retrieve
Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the integration guide.- Throws:
StripeException
-
retrieve
public Location retrieve(String location, LocationRetrieveParams params, RequestOptions options) throws StripeException Fetch the details of a specific tax location using its unique identifier. Use a tax location to calculate taxes based on the location of the end product, such as a performance, instead of the customer address. For more details, check the integration guide.- Throws:
StripeException
-