Package com.adyen.service.management
Class TerminalSettingsCompanyLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalSettingsCompanyLevelApi
-
public class TerminalSettingsCompanyLevelApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description TerminalSettingsCompanyLevelApi(Client client)Terminal settings - company level constructor inpackage.TerminalSettingsCompanyLevelApi(Client client, String baseURL)Terminal settings - company level constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogogetTerminalLogo(String companyId, String model)Get the terminal logoLogogetTerminalLogo(String companyId, String model, RequestOptions requestOptions)Get the terminal logoTerminalSettingsgetTerminalSettings(String companyId)Get terminal settingsTerminalSettingsgetTerminalSettings(String companyId, RequestOptions requestOptions)Get terminal settingsLogoupdateTerminalLogo(String companyId, String model, Logo logo)Update the terminal logoLogoupdateTerminalLogo(String companyId, String model, Logo logo, RequestOptions requestOptions)Update the terminal logoTerminalSettingsupdateTerminalSettings(String companyId, TerminalSettings terminalSettings)Update terminal settingsTerminalSettingsupdateTerminalSettings(String companyId, 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
-
TerminalSettingsCompanyLevelApi
public TerminalSettingsCompanyLevelApi(Client client)
Terminal settings - company level constructor inpackage.- Parameters:
client-Client(required)
-
TerminalSettingsCompanyLevelApi
public TerminalSettingsCompanyLevelApi(Client client, String baseURL)
Terminal settings - company 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 companyId, String model) throws ApiException, IOException
Get the terminal logo- Parameters:
companyId-StringThe unique identifier of the company account. (required)model-StringThe terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T. (required)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
getTerminalLogo
public Logo getTerminalLogo(String companyId, String model, RequestOptions requestOptions) throws ApiException, IOException
Get the terminal logo- Parameters:
companyId-StringThe unique identifier of the company account. (required)model-StringQuery: The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T. (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 companyId) throws ApiException, IOException
Get terminal settings- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
getTerminalSettings
public TerminalSettings getTerminalSettings(String companyId, RequestOptions requestOptions) throws ApiException, IOException
Get terminal settings- Parameters:
companyId-StringThe unique identifier of the company account. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalLogo
public Logo updateTerminalLogo(String companyId, String model, Logo logo) throws ApiException, IOException
Update the terminal logo- Parameters:
companyId-StringThe unique identifier of the company account. (required)model-StringThe terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T. (required)logo-Logo(required)- Returns:
Logo- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalLogo
public Logo updateTerminalLogo(String companyId, String model, Logo logo, RequestOptions requestOptions) throws ApiException, IOException
Update the terminal logo- Parameters:
companyId-StringThe unique identifier of the company account. (required)logo-Logo(required)model-StringQuery: The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T. (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 companyId, TerminalSettings terminalSettings) throws ApiException, IOException
Update terminal settings- Parameters:
companyId-StringThe unique identifier of the company account. (required)terminalSettings-TerminalSettings(required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalSettings
public TerminalSettings updateTerminalSettings(String companyId, TerminalSettings terminalSettings, RequestOptions requestOptions) throws ApiException, IOException
Update terminal settings- Parameters:
companyId-StringThe unique identifier of the company account. (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
-
-