public class InstrumentIdentifierApi extends Object
| Constructor and Description |
|---|
InstrumentIdentifierApi() |
InstrumentIdentifierApi(ApiClient apiClient) |
public InstrumentIdentifierApi()
public InstrumentIdentifierApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createInstrumentIdentifierCall(String profileId, CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)createInstrumentIdentifierRequest - Please specify either a Card, Bank Account or Enrollable Card (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1InstrumentIdentifiersPost200Response createInstrumentIdentifier(String profileId, CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)createInstrumentIdentifierRequest - Please specify either a Card, Bank Account or Enrollable Card (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1InstrumentIdentifiersPost200Response> createInstrumentIdentifierWithHttpInfo(String profileId, CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)createInstrumentIdentifierRequest - Please specify either a Card, Bank Account or Enrollable Card (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createInstrumentIdentifierAsync(String profileId, CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest, ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)createInstrumentIdentifierRequest - Please specify either a Card, Bank Account or Enrollable Card (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteInstrumentIdentifierCall(String profileId, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteInstrumentIdentifier(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteInstrumentIdentifierWithHttpInfo(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteInstrumentIdentifierAsync(String profileId, String tokenId, ApiCallback<Void> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAllPaymentInstrumentsCall(String profileId, String tokenId, Long offset, Long limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)offset - Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response getAllPaymentInstruments(String profileId, String tokenId, Long offset, Long limit) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)offset - Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> getAllPaymentInstrumentsWithHttpInfo(String profileId, String tokenId, Long offset, Long limit) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)offset - Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllPaymentInstrumentsAsync(String profileId, String tokenId, Long offset, Long limit, ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)offset - Starting Payment Instrument record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number of Payment Instruments that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getInstrumentIdentifierCall(String profileId, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1InstrumentIdentifiersPost200Response getInstrumentIdentifier(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1InstrumentIdentifiersPost200Response> getInstrumentIdentifierWithHttpInfo(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInstrumentIdentifierAsync(String profileId, String tokenId, ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateInstrumentIdentifierCall(String profileId, String tokenId, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)updateInstrumentIdentifierRequest - Specify the previous transaction ID to update. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1InstrumentIdentifiersPost200Response updateInstrumentIdentifier(String profileId, String tokenId, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)updateInstrumentIdentifierRequest - Specify the previous transaction ID to update. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1InstrumentIdentifiersPost200Response> updateInstrumentIdentifierWithHttpInfo(String profileId, String tokenId, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)updateInstrumentIdentifierRequest - Specify the previous transaction ID to update. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateInstrumentIdentifierAsync(String profileId, String tokenId, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest, ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of an Instrument Identifier. (required)updateInstrumentIdentifierRequest - Specify the previous transaction ID to update. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.