public interface Configuration
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
OAuth 2.0 Access Token.
|
Headers |
getAdditionalHeaders()
Additional headers to add to each API request.
|
String |
getBaseUri()
Get base URI by current environment.
|
String |
getBaseUri(Server server)
Get base URI by current environment.
|
String |
getCustomUrl()
Sets the base URL requests are made to.
|
Environment |
getEnvironment()
Current API environment.
|
ReadonlyHttpClientConfiguration |
getHttpClientConfig()
Http Client Configuration instance.
|
String |
getSquareVersion()
Square Connect API versions.
|
String |
getUserAgentDetail()
Additional detail which can be appended with User-Agent header.
|
long |
timeout()
The timeout to use for making HTTP requests.
|
Environment getEnvironment()
String getCustomUrl()
String getSquareVersion()
ReadonlyHttpClientConfiguration getHttpClientConfig()
Headers getAdditionalHeaders()
String getUserAgentDetail()
long timeout()
String getAccessToken()
String getBaseUri(Server server)
server - Server for which to get the base URIString getBaseUri()
Copyright © 2022. All rights reserved.