AUTHENTICATION_KEY, GLOBAL_ERROR_CASES| Constructor and Description |
|---|
DefaultSitesApi(io.apimatic.core.GlobalConfiguration globalConfig)
Initializes the controller.
|
| Modifier and Type | Method and Description |
|---|---|
ListSitesResponse |
listSites()
Lists the Square Online sites that belong to a seller.
|
CompletableFuture<ListSitesResponse> |
listSitesAsync()
Lists the Square Online sites that belong to a seller.
|
getClientInstance, getGlobalConfiguration, getHttpCallbackpublic DefaultSitesApi(io.apimatic.core.GlobalConfiguration globalConfig)
globalConfig - Configurations added in client.public ListSitesResponse listSites() throws ApiException, IOException
listSites in interface SitesApiApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ListSitesResponse> listSitesAsync()
listSitesAsync in interface SitesApiCopyright © 2024. All rights reserved.