Package com.adyen.service.management
Class TerminalSettingsTerminalLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalSettingsTerminalLevelApi
-
public class TerminalSettingsTerminalLevelApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description TerminalSettingsTerminalLevelApi(Client client)Terminal settings - terminal level constructor inpackage.TerminalSettingsTerminalLevelApi(Client client, String baseURL)Terminal settings - terminal level constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogogetTerminalLogo(String terminalId)Get the terminal logoLogogetTerminalLogo(String terminalId, RequestOptions requestOptions)Get the terminal logoTerminalSettingsgetTerminalSettings(String terminalId)Get terminal settingsTerminalSettingsgetTerminalSettings(String terminalId, RequestOptions requestOptions)Get terminal settingsLogoupdateLogo(String terminalId, Logo logo)Update the logoLogoupdateLogo(String terminalId, Logo logo, RequestOptions requestOptions)Update the logoTerminalSettingsupdateTerminalSettings(String terminalId, TerminalSettings terminalSettings)Update terminal settingsTerminalSettingsupdateTerminalSettings(String terminalId, TerminalSettings terminalSettings, RequestOptions requestOptions)Update terminal settings-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
TerminalSettingsTerminalLevelApi
public TerminalSettingsTerminalLevelApi(Client client)
Terminal settings - terminal level constructor inpackage.- Parameters:
client-Client(required)
-
TerminalSettingsTerminalLevelApi
public TerminalSettingsTerminalLevelApi(Client client, String baseURL)
Terminal settings - terminal level constructor inpackage. Please use this constructor only if you would like to pass along your own url for routing or testing purposes. The latest API version is defined in this class as a constant.
-
-
Method Detail
-
getTerminalLogo
public Logo getTerminalLogo(String terminalId) throws ApiException, IOException
Get the terminal logo- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
getTerminalLogo
public Logo getTerminalLogo(String terminalId, RequestOptions requestOptions) throws ApiException, IOException
Get the terminal logo- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
getTerminalSettings
public TerminalSettings getTerminalSettings(String terminalId) throws ApiException, IOException
Get terminal settings- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
getTerminalSettings
public TerminalSettings getTerminalSettings(String terminalId, RequestOptions requestOptions) throws ApiException, IOException
Get terminal settings- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
updateLogo
public Logo updateLogo(String terminalId, Logo logo) throws ApiException, IOException
Update the logo- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)logo-Logo(required)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
updateLogo
public Logo updateLogo(String terminalId, Logo logo, RequestOptions requestOptions) throws ApiException, IOException
Update the logo- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)logo-Logo(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalSettings
public TerminalSettings updateTerminalSettings(String terminalId, TerminalSettings terminalSettings) throws ApiException, IOException
Update terminal settings- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)terminalSettings-TerminalSettings(required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalSettings
public TerminalSettings updateTerminalSettings(String terminalId, TerminalSettings terminalSettings, RequestOptions requestOptions) throws ApiException, IOException
Update terminal settings- Parameters:
terminalId-StringThe unique identifier of the payment terminal. (required)terminalSettings-TerminalSettings(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
-