Package com.adyen.service.management
Class TerminalSettingsTerminalLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalSettingsTerminalLevelApi
-
public class TerminalSettingsTerminalLevelApi extends Service
-
-
Constructor Summary
Constructors Constructor Description TerminalSettingsTerminalLevelApi(Client client)
-
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
-
-
-
-
Constructor Detail
-
TerminalSettingsTerminalLevelApi
public TerminalSettingsTerminalLevelApi(Client client)
-
-
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
-
-