public class InstrumentIdentifierApi extends Object
| Constructor and Description |
|---|
InstrumentIdentifierApi() |
InstrumentIdentifierApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
TmsV1InstrumentIdentifiersPost200Response |
createInstrumentIdentifier(String profileId,
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest)
Create an Instrument Identifier
|
com.squareup.okhttp.Call |
createInstrumentIdentifierAsync(String profileId,
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Create an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
createInstrumentIdentifierCall(String profileId,
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createInstrumentIdentifier
|
ApiResponse<TmsV1InstrumentIdentifiersPost200Response> |
createInstrumentIdentifierWithHttpInfo(String profileId,
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest)
Create an Instrument Identifier
|
void |
deleteInstrumentIdentifier(String profileId,
String tokenId)
Delete an Instrument Identifier
|
com.squareup.okhttp.Call |
deleteInstrumentIdentifierAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
deleteInstrumentIdentifierCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteInstrumentIdentifier
|
ApiResponse<Void> |
deleteInstrumentIdentifierWithHttpInfo(String profileId,
String tokenId)
Delete an Instrument Identifier
|
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response |
getAllPaymentInstruments(String profileId,
String tokenId,
Long offset,
Long limit)
Retrieve all Payment Instruments associated with an Instrument Identifier
|
com.squareup.okhttp.Call |
getAllPaymentInstrumentsAsync(String profileId,
String tokenId,
Long offset,
Long limit,
ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> callback)
Retrieve all Payment Instruments associated with an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
getAllPaymentInstrumentsCall(String profileId,
String tokenId,
Long offset,
Long limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllPaymentInstruments
|
ApiResponse<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> |
getAllPaymentInstrumentsWithHttpInfo(String profileId,
String tokenId,
Long offset,
Long limit)
Retrieve all Payment Instruments associated with an Instrument Identifier
|
ApiClient |
getApiClient() |
TmsV1InstrumentIdentifiersPost200Response |
getInstrumentIdentifier(String profileId,
String tokenId)
Retrieve an Instrument Identifier
|
com.squareup.okhttp.Call |
getInstrumentIdentifierAsync(String profileId,
String tokenId,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Retrieve an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
getInstrumentIdentifierCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getInstrumentIdentifier
|
ApiResponse<TmsV1InstrumentIdentifiersPost200Response> |
getInstrumentIdentifierWithHttpInfo(String profileId,
String tokenId)
Retrieve an Instrument Identifier
|
void |
setApiClient(ApiClient apiClient) |
TmsV1InstrumentIdentifiersPost200Response |
updateInstrumentIdentifier(String profileId,
String tokenId,
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest)
Update a Instrument Identifier
|
com.squareup.okhttp.Call |
updateInstrumentIdentifierAsync(String profileId,
String tokenId,
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Update a Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
updateInstrumentIdentifierCall(String profileId,
String tokenId,
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateInstrumentIdentifier
|
ApiResponse<TmsV1InstrumentIdentifiersPost200Response> |
updateInstrumentIdentifierWithHttpInfo(String profileId,
String tokenId,
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest)
Update a Instrument Identifier
|
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.