Package io.moov.sdk

Class TerminalApplications


  • public class TerminalApplications
    extends java.lang.Object
    • Method Detail

      • create

        public CreateTerminalApplicationRequestBuilder create()
        Create a new terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Returns:
        The call builder
      • create

        public CreateTerminalApplicationResponse create​(CreateTerminalApplication request)
                                                 throws java.lang.Exception
        Create a new terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • list

        public ListTerminalApplicationsRequestBuilder list()
        List all the terminal applications for a Moov Account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.read` scope.

        Returns:
        The call builder
      • listDirect

        public ListTerminalApplicationsResponse listDirect()
                                                    throws java.lang.Exception
        List all the terminal applications for a Moov Account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.read` scope.

        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • get

        public GetTerminalApplicationRequestBuilder get()
        Fetch a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.read` scope.

        Returns:
        The call builder
      • get

        public GetTerminalApplicationResponse get​(java.lang.String terminalApplicationID)
                                           throws java.lang.Exception
        Fetch a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.read` scope.

        Parameters:
        terminalApplicationID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • delete

        public DeleteTerminalApplicationRequestBuilder delete()
        Delete a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Returns:
        The call builder
      • delete

        public DeleteTerminalApplicationResponse delete​(java.lang.String terminalApplicationID)
                                                 throws java.lang.Exception
        Delete a specific terminal application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Parameters:
        terminalApplicationID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • createVersion

        public CreateTerminalApplicationVersionRequestBuilder createVersion()
        Register a new version of a terminal application. For Android applications, this is used to register a new version code of the application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Returns:
        The call builder
      • createVersion

        public CreateTerminalApplicationVersionResponse createVersion​(java.lang.String terminalApplicationID,
                                                                      TerminalApplicationVersion terminalApplicationVersion)
                                                               throws java.lang.Exception
        Register a new version of a terminal application. For Android applications, this is used to register a new version code of the application.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/terminal-applications.write` scope.

        Parameters:
        terminalApplicationID -
        terminalApplicationVersion - Describes a terminal application version.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails