Package com.adyen.service.management
Class TerminalSettingsMerchantLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalSettingsMerchantLevelApi
-
public class TerminalSettingsMerchantLevelApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description TerminalSettingsMerchantLevelApi(Client client)Terminal settings - merchant level constructor inpackage.TerminalSettingsMerchantLevelApi(Client client, String baseURL)Terminal settings - merchant level constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogogetTerminalLogo(String merchantId, String model)Get the terminal logoLogogetTerminalLogo(String merchantId, String model, RequestOptions requestOptions)Get the terminal logoTerminalSettingsgetTerminalSettings(String merchantId)Get terminal settingsTerminalSettingsgetTerminalSettings(String merchantId, RequestOptions requestOptions)Get terminal settingsLogoupdateTerminalLogo(String merchantId, String model, Logo logo)Update the terminal logoLogoupdateTerminalLogo(String merchantId, String model, Logo logo, RequestOptions requestOptions)Update the terminal logoTerminalSettingsupdateTerminalSettings(String merchantId, TerminalSettings terminalSettings)Update terminal settingsTerminalSettingsupdateTerminalSettings(String merchantId, 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
-
TerminalSettingsMerchantLevelApi
public TerminalSettingsMerchantLevelApi(Client client)
Terminal settings - merchant level constructor inpackage.- Parameters:
client-Client(required)
-
TerminalSettingsMerchantLevelApi
public TerminalSettingsMerchantLevelApi(Client client, String baseURL)
Terminal settings - merchant 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 merchantId, String model) throws ApiException, IOException
Get the terminal logo- Parameters:
merchantId-StringThe unique identifier of the merchant 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 merchantId, String model, RequestOptions requestOptions) throws ApiException, IOException
Get the terminal logo- Parameters:
merchantId-StringThe unique identifier of the merchant 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 merchantId) throws ApiException, IOException
Get terminal settings- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
getTerminalSettings
public TerminalSettings getTerminalSettings(String merchantId, RequestOptions requestOptions) throws ApiException, IOException
Get terminal settings- Parameters:
merchantId-StringThe unique identifier of the merchant 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 merchantId, String model, Logo logo) throws ApiException, IOException
Update the terminal logo- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)model-StringThe terminal model. Allowed 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 merchantId, String model, Logo logo, RequestOptions requestOptions) throws ApiException, IOException
Update the terminal logo- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)logo-Logo(required)model-StringQuery: The terminal model. Allowed 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 merchantId, TerminalSettings terminalSettings) throws ApiException, IOException
Update terminal settings- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)terminalSettings-TerminalSettings(required)- Returns:
TerminalSettings- Throws:
ApiException- if fails to make API callIOException
-
updateTerminalSettings
public TerminalSettings updateTerminalSettings(String merchantId, TerminalSettings terminalSettings, RequestOptions requestOptions) throws ApiException, IOException
Update terminal settings- Parameters:
merchantId-StringThe unique identifier of the merchant 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
-
-