Class AccountTerminalApplications
- java.lang.Object
-
- io.moov.sdk.AccountTerminalApplications
-
public class AccountTerminalApplications extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAccountTerminalApplicationRequestBuilderget()Verifies if a specific Terminal Application is linked to an Account.GetAccountTerminalApplicationResponseget(java.lang.String accountID, java.lang.String terminalApplicationID)Verifies if a specific Terminal Application is linked to an Account.GetTerminalConfigurationRequestBuildergetConfiguration()Fetch the configuration for a given Terminal Application linked to a specific Account.GetTerminalConfigurationResponsegetConfiguration(java.lang.String accountID, java.lang.String terminalApplicationID)Fetch the configuration for a given Terminal Application linked to a specific Account.LinkAccountTerminalApplicationRequestBuilderlink()Link an account with a terminal application.LinkAccountTerminalApplicationResponselink(java.lang.String accountID, LinkAccountTerminalApplication linkAccountTerminalApplication)Link an account with a terminal application.ListAccountTerminalApplicationsRequestBuilderlist()Retrieve all terminal applications linked to a specific account.ListAccountTerminalApplicationsResponselist(java.lang.String accountID)Retrieve all terminal applications linked to a specific account.
-
-
-
Method Detail
-
link
public LinkAccountTerminalApplicationRequestBuilder link()
Link an account with a terminal application.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.write` scope.
- Returns:
- The call builder
-
link
public LinkAccountTerminalApplicationResponse link(java.lang.String accountID, LinkAccountTerminalApplication linkAccountTerminalApplication) throws java.lang.Exception
Link an account with a terminal application.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.write` scope.
- Parameters:
accountID-linkAccountTerminalApplication- Describes a request to link an account with a terminal application.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
list
public ListAccountTerminalApplicationsRequestBuilder list()
Retrieve all terminal applications linked to a specific account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
- Returns:
- The call builder
-
list
public ListAccountTerminalApplicationsResponse list(java.lang.String accountID) throws java.lang.Exception
Retrieve all terminal applications linked to a specific account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
- Parameters:
accountID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
get
public GetAccountTerminalApplicationRequestBuilder get()
Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
- Returns:
- The call builder
-
get
public GetAccountTerminalApplicationResponse get(java.lang.String accountID, java.lang.String terminalApplicationID) throws java.lang.Exception
Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
- Parameters:
accountID-terminalApplicationID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getConfiguration
public GetTerminalConfigurationRequestBuilder getConfiguration()
Fetch the configuration for a given Terminal Application linked to a specific Account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
- Returns:
- The call builder
-
getConfiguration
public GetTerminalConfigurationResponse getConfiguration(java.lang.String accountID, java.lang.String terminalApplicationID) throws java.lang.Exception
Fetch the configuration for a given Terminal Application linked to a specific Account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
- Parameters:
accountID-terminalApplicationID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-