Package api

Class PaymentInstrumentsApi.APIlistPaymentInstrumentsRequest

    • Method Detail

      • accountRoutingNumber

        public PaymentInstrumentsApi.APIlistPaymentInstrumentsRequest accountRoutingNumber​(String accountRoutingNumber)
        Set accountRoutingNumber
        Parameters:
        accountRoutingNumber - Filter by the account routing number if available. (optional)
        Returns:
        APIlistPaymentInstrumentsRequest
      • expirationMonth

        public PaymentInstrumentsApi.APIlistPaymentInstrumentsRequest expirationMonth​(String expirationMonth)
        Set expirationMonth
        Parameters:
        expirationMonth - Filter by the expiration month associated with the `Payment Instrument` if applicable. This filter only applies to payment cards. (optional)
        Returns:
        APIlistPaymentInstrumentsRequest
      • expirationYear

        public PaymentInstrumentsApi.APIlistPaymentInstrumentsRequest expirationYear​(String expirationYear)
        Set expirationYear
        Parameters:
        expirationYear - Filter by the 4 digit expiration year associated with the Payment Instrument if applicable. This filter only applies to payment cards. (optional)
        Returns:
        APIlistPaymentInstrumentsRequest
      • buildCall

        public okhttp3.Call buildCall​(ApiCallback _callback)
                               throws ApiException
        Build call for listPaymentInstruments
        Parameters:
        _callback - ApiCallback API callback
        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 Payment Instrument objects * finix-apiuser-role -
        * date -
        * x-request-id -
        401 Authentication information is missing or invalid * finix-apiuser-role -
        * date -
        * x-request-id -
        403 Forbidden * finix-apiuser-role -
        * date -
        * x-request-id -
        406 Not Acceptable * finix-apiuser-role -
        * date -
        * x-request-id -
      • execute

        public PaymentInstrumentsList execute()
                                       throws ApiException
        Execute listPaymentInstruments request
        Returns:
        PaymentInstrumentsList
        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 Payment Instrument objects * finix-apiuser-role -
        * date -
        * x-request-id -
        401 Authentication information is missing or invalid * finix-apiuser-role -
        * date -
        * x-request-id -
        403 Forbidden * finix-apiuser-role -
        * date -
        * x-request-id -
        406 Not Acceptable * finix-apiuser-role -
        * date -
        * x-request-id -
      • executeWithHttpInfo

        public ApiResponse<PaymentInstrumentsList> executeWithHttpInfo()
                                                                throws ApiException
        Execute listPaymentInstruments request with HTTP info returned
        Returns:
        ApiResponse<PaymentInstrumentsList>
        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 Payment Instrument objects * finix-apiuser-role -
        * date -
        * x-request-id -
        401 Authentication information is missing or invalid * finix-apiuser-role -
        * date -
        * x-request-id -
        403 Forbidden * finix-apiuser-role -
        * date -
        * x-request-id -
        406 Not Acceptable * finix-apiuser-role -
        * date -
        * x-request-id -
      • executeAsync

        public okhttp3.Call executeAsync​(ApiCallback<PaymentInstrumentsList> _callback)
                                  throws ApiException
        Execute listPaymentInstruments request (asynchronously)
        Parameters:
        _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 Payment Instrument objects * finix-apiuser-role -
        * date -
        * x-request-id -
        401 Authentication information is missing or invalid * finix-apiuser-role -
        * date -
        * x-request-id -
        403 Forbidden * finix-apiuser-role -
        * date -
        * x-request-id -
        406 Not Acceptable * finix-apiuser-role -
        * date -
        * x-request-id -