Package com.stripe.service.terminal
Class LocationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.LocationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a newLocationobject.create(RequestOptions options) Creates a newLocationobject.create(LocationCreateParams params) Creates a newLocationobject.create(LocationCreateParams params, RequestOptions options) Creates a newLocationobject.Deletes aLocationobject.delete(String location, RequestOptions options) Deletes aLocationobject.list()Returns a list ofLocationobjects.list(RequestOptions options) Returns a list ofLocationobjects.list(LocationListParams params) Returns a list ofLocationobjects.list(LocationListParams params, RequestOptions options) Returns a list ofLocationobjects.Retrieves aLocationobject.retrieve(String location, RequestOptions options) Retrieves aLocationobject.retrieve(String location, LocationRetrieveParams params) Retrieves aLocationobject.retrieve(String location, LocationRetrieveParams params, RequestOptions options) Retrieves aLocationobject.Updates aLocationobject by setting the values of the parameters passed.update(String location, RequestOptions options) Updates aLocationobject by setting the values of the parameters passed.update(String location, LocationUpdateParams params) Updates aLocationobject by setting the values of the parameters passed.update(String location, LocationUpdateParams params, RequestOptions options) Updates aLocationobject 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 aLocationobject.- Throws:
StripeException
-
delete
Deletes aLocationobject.- Throws:
StripeException
-
retrieve
Retrieves aLocationobject.- Throws:
StripeException
-
retrieve
Retrieves aLocationobject.- Throws:
StripeException
-
retrieve
Retrieves aLocationobject.- Throws:
StripeException
-
retrieve
public Location retrieve(String location, LocationRetrieveParams params, RequestOptions options) throws StripeException Retrieves aLocationobject.- Throws:
StripeException
-
update
Updates aLocationobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aLocationobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aLocationobject 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 aLocationobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
list
Returns a list ofLocationobjects.- Throws:
StripeException
-
list
Returns a list ofLocationobjects.- Throws:
StripeException
-
list
Returns a list ofLocationobjects.- Throws:
StripeException
-
list
public StripeCollection<Location> list(LocationListParams params, RequestOptions options) throws StripeException Returns a list ofLocationobjects.- Throws:
StripeException
-
create
Creates a newLocationobject. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-
create
Creates a newLocationobject. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-
create
Creates a newLocationobject. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-
create
Creates a newLocationobject. For further details, including which address fields are required in each country, see the Manage locations guide.- Throws:
StripeException
-