Package com.adyen.service.management
Class TerminalActionsTerminalLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalActionsTerminalLevelApi
-
public class TerminalActionsTerminalLevelApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description TerminalActionsTerminalLevelApi(Client client)Terminal actions - terminal level constructor inpackage.TerminalActionsTerminalLevelApi(Client client, String baseURL)Terminal actions - terminal level constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleTerminalActionsResponsecreateTerminalAction(ScheduleTerminalActionsRequest scheduleTerminalActionsRequest)Create a terminal actionScheduleTerminalActionsResponsecreateTerminalAction(ScheduleTerminalActionsRequest scheduleTerminalActionsRequest, RequestOptions requestOptions)Create a terminal action-
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
-
TerminalActionsTerminalLevelApi
public TerminalActionsTerminalLevelApi(Client client)
Terminal actions - terminal level constructor inpackage.- Parameters:
client-Client(required)
-
TerminalActionsTerminalLevelApi
public TerminalActionsTerminalLevelApi(Client client, String baseURL)
Terminal actions - 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
-
createTerminalAction
public ScheduleTerminalActionsResponse createTerminalAction(ScheduleTerminalActionsRequest scheduleTerminalActionsRequest) throws ApiException, IOException
Create a terminal action- Parameters:
scheduleTerminalActionsRequest-ScheduleTerminalActionsRequest(required)- Returns:
ScheduleTerminalActionsResponse- Throws:
ApiException- if fails to make API callIOException
-
createTerminalAction
public ScheduleTerminalActionsResponse createTerminalAction(ScheduleTerminalActionsRequest scheduleTerminalActionsRequest, RequestOptions requestOptions) throws ApiException, IOException
Create a terminal action- Parameters:
scheduleTerminalActionsRequest-ScheduleTerminalActionsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ScheduleTerminalActionsResponse- Throws:
ApiException- if fails to make API callIOException
-
-