Class LocationService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.LocationService

public final class LocationService extends ApiService
  • Constructor Details

  • 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 limit parameter to control the number of results returned in each request.

      Throws:
      StripeException
    • 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 limit parameter to control the number of results returned in each request.

      Throws:
      StripeException
    • create

      public Location create(LocationCreateParams params) throws StripeException
      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

      public Location create(LocationCreateParams params, RequestOptions options) throws StripeException
      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

      public Location retrieve(String location, LocationRetrieveParams params) 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
    • retrieve

      public Location retrieve(String location, 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
    • retrieve

      public Location retrieve(String location) 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
    • 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