Package com.stripe.service.terminal
Class LocationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.LocationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(LocationCreateParams params) Creates a newLocation
object.create
(LocationCreateParams params, RequestOptions options) Creates a newLocation
object.Deletes aLocation
object.delete
(String location, RequestOptions options) Deletes aLocation
object.list()
Returns a list ofLocation
objects.list
(RequestOptions options) Returns a list ofLocation
objects.list
(LocationListParams params) Returns a list ofLocation
objects.list
(LocationListParams params, RequestOptions options) Returns a list ofLocation
objects.Retrieves aLocation
object.retrieve
(String location, RequestOptions options) Retrieves aLocation
object.retrieve
(String location, LocationRetrieveParams params) Retrieves aLocation
object.retrieve
(String location, LocationRetrieveParams params, RequestOptions options) Retrieves aLocation
object.Updates aLocation
object by setting the values of the parameters passed.update
(String location, RequestOptions options) Updates aLocation
object by setting the values of the parameters passed.update
(String location, LocationUpdateParams params) Updates aLocation
object by setting the values of the parameters passed.update
(String location, LocationUpdateParams params, RequestOptions options) Updates aLocation
object by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
LocationService
-
-
Method Details
-
delete
Deletes aLocation
object.- Throws:
StripeException
-
delete
Deletes aLocation
object.- Throws:
StripeException
-
retrieve
Retrieves aLocation
object.- Throws:
StripeException
-
retrieve
Retrieves aLocation
object.- Throws:
StripeException
-
retrieve
Retrieves aLocation
object.- Throws:
StripeException
-
retrieve
public Location retrieve(String location, LocationRetrieveParams params, RequestOptions options) throws StripeException Retrieves aLocation
object.- Throws:
StripeException
-
update
Updates aLocation
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aLocation
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aLocation
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
public Location update(String location, LocationUpdateParams params, RequestOptions options) throws StripeException Updates aLocation
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
list
Returns a list ofLocation
objects.- Throws:
StripeException
-
list
Returns a list ofLocation
objects.- Throws:
StripeException
-
list
Returns a list ofLocation
objects.- Throws:
StripeException
-
list
public StripeCollection<Location> list(LocationListParams params, RequestOptions options) throws StripeException Returns a list ofLocation
objects.- Throws:
StripeException
-
create
Creates a newLocation
object. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-
create
Creates a newLocation
object. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-