Class Issuers1099Api


  • public class Issuers1099Api
    extends Object
    • Constructor Detail

      • Issuers1099Api

        public Issuers1099Api​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(String customBaseUrl)
      • createIssuerCall

        public okhttp3.Call createIssuerCall​(Issuers1099Api.CreateIssuerRequest requestParameters,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for createIssuer
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 Created issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • createIssuer

        public IssuerResponse createIssuer​(Issuers1099Api.CreateIssuerRequest requestParameters)
                                    throws ApiException
        Create an issuer Create an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        IssuerResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        201 Created issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • createIssuerWithHttpInfo

        public ApiResponse<IssuerResponse> createIssuerWithHttpInfo​(Issuers1099Api.CreateIssuerRequest requestParameters)
                                                             throws ApiException
        Create an issuer Create an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        ApiResponse<IssuerResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        201 Created issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • createIssuerAsync

        public okhttp3.Call createIssuerAsync​(Issuers1099Api.CreateIssuerRequest requestParameters,
                                              ApiCallback<IssuerResponse> _callback)
                                       throws ApiException
        Create an issuer (asynchronously) Create an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 Created issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • deleteIssuerCall

        public okhttp3.Call deleteIssuerCall​(Issuers1099Api.DeleteIssuerRequest requestParameters,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for deleteIssuer
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        204 Empty response -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • deleteIssuer

        public void deleteIssuer​(Issuers1099Api.DeleteIssuerRequest requestParameters)
                          throws ApiException
        Delete an issuer Delete an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        204 Empty response -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • deleteIssuerWithHttpInfo

        public ApiResponse<Void> deleteIssuerWithHttpInfo​(Issuers1099Api.DeleteIssuerRequest requestParameters)
                                                   throws ApiException
        Delete an issuer Delete an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        204 Empty response -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • deleteIssuerAsync

        public okhttp3.Call deleteIssuerAsync​(Issuers1099Api.DeleteIssuerRequest requestParameters,
                                              ApiCallback<Void> _callback)
                                       throws ApiException
        Delete an issuer (asynchronously) Delete an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        204 Empty response -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • getIssuerCall

        public okhttp3.Call getIssuerCall​(Issuers1099Api.GetIssuerRequest requestParameters,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for getIssuer
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Single issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • getIssuer

        public IssuerResponse getIssuer​(Issuers1099Api.GetIssuerRequest requestParameters)
                                 throws ApiException
        Retrieve an issuer Retrieve an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        IssuerResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Single issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • getIssuerWithHttpInfo

        public ApiResponse<IssuerResponse> getIssuerWithHttpInfo​(Issuers1099Api.GetIssuerRequest requestParameters)
                                                          throws ApiException
        Retrieve an issuer Retrieve an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        ApiResponse<IssuerResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Single issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • getIssuerAsync

        public okhttp3.Call getIssuerAsync​(Issuers1099Api.GetIssuerRequest requestParameters,
                                           ApiCallback<IssuerResponse> _callback)
                                    throws ApiException
        Retrieve an issuer (asynchronously) Retrieve an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Single issuer -
        400 Bad request (e.g., invalid sort key) -
        401 Authentication failed -
      • getIssuersCall

        public okhttp3.Call getIssuersCall​(Issuers1099Api.GetIssuersRequest requestParameters,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for getIssuers
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 List of issuers -
        400 Bad request (e.g., invalid sort key) -
        404 Not Found -
        500 Server Error -
        401 Authentication failed -
      • getIssuers

        public PaginatedQueryResultModelIssuerResponse getIssuers​(Issuers1099Api.GetIssuersRequest requestParameters)
                                                           throws ApiException
        List issuers List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear.
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        PaginatedQueryResultModelIssuerResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 List of issuers -
        400 Bad request (e.g., invalid sort key) -
        404 Not Found -
        500 Server Error -
        401 Authentication failed -
      • getIssuersWithHttpInfo

        public ApiResponse<PaginatedQueryResultModelIssuerResponse> getIssuersWithHttpInfo​(Issuers1099Api.GetIssuersRequest requestParameters)
                                                                                    throws ApiException
        List issuers List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear.
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        ApiResponse<PaginatedQueryResultModelIssuerResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 List of issuers -
        400 Bad request (e.g., invalid sort key) -
        404 Not Found -
        500 Server Error -
        401 Authentication failed -
      • getIssuersAsync

        public okhttp3.Call getIssuersAsync​(Issuers1099Api.GetIssuersRequest requestParameters,
                                            ApiCallback<PaginatedQueryResultModelIssuerResponse> _callback)
                                     throws ApiException
        List issuers (asynchronously) List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear.
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 List of issuers -
        400 Bad request (e.g., invalid sort key) -
        404 Not Found -
        500 Server Error -
        401 Authentication failed -
      • updateIssuerCall

        public okhttp3.Call updateIssuerCall​(Issuers1099Api.UpdateIssuerRequest requestParameters,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for updateIssuer
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Issuer updated -
        400 Bad request (e.g., invalid sort key) -
        401 Unauthorized -
        404 Resource Not Found -
      • updateIssuer

        public void updateIssuer​(Issuers1099Api.UpdateIssuerRequest requestParameters)
                          throws ApiException
        Update an issuer Update an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Issuer updated -
        400 Bad request (e.g., invalid sort key) -
        401 Unauthorized -
        404 Resource Not Found -
      • updateIssuerWithHttpInfo

        public ApiResponse<Void> updateIssuerWithHttpInfo​(Issuers1099Api.UpdateIssuerRequest requestParameters)
                                                   throws ApiException
        Update an issuer Update an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Issuer updated -
        400 Bad request (e.g., invalid sort key) -
        401 Unauthorized -
        404 Resource Not Found -
      • updateIssuerAsync

        public okhttp3.Call updateIssuerAsync​(Issuers1099Api.UpdateIssuerRequest requestParameters,
                                              ApiCallback<Void> _callback)
                                       throws ApiException
        Update an issuer (asynchronously) Update an issuer (also known as a Payer).
        Parameters:
        requestOptions - Object which represents the options available for a given API/request
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Issuer updated -
        400 Bad request (e.g., invalid sort key) -
        401 Unauthorized -
        404 Resource Not Found -