public class PaymentInstrumentsApi extends Object
| Constructor and Description |
|---|
PaymentInstrumentsApi() |
PaymentInstrumentsApi(ApiClient apiClient) |
public PaymentInstrumentsApi()
public PaymentInstrumentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call tmsV1InstrumentidentifiersTokenIdPaymentinstrumentsGetCall(String profileId, String tokenId, String offset, String 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)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 tmsV1InstrumentidentifiersTokenIdPaymentinstrumentsGet(String profileId, String tokenId, String offset, String 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)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> tmsV1InstrumentidentifiersTokenIdPaymentinstrumentsGetWithHttpInfo(String profileId, String tokenId, String offset, String 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)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 tmsV1InstrumentidentifiersTokenIdPaymentinstrumentsGetAsync(String profileId, String tokenId, String offset, String 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)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 tmsV1PaymentinstrumentsPostCall(String profileId, Body2 body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)body - Please specify the customers payment details for card or bank account. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1PaymentinstrumentsPost201Response tmsV1PaymentinstrumentsPost(String profileId, Body2 body) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)body - Please specify the customers payment details for card or bank account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1PaymentinstrumentsPost201Response> tmsV1PaymentinstrumentsPostWithHttpInfo(String profileId, Body2 body) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)body - Please specify the customers payment details for card or bank account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tmsV1PaymentinstrumentsPostAsync(String profileId, Body2 body, ApiCallback<TmsV1PaymentinstrumentsPost201Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)body - Please specify the customers payment details for card or bank account. (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 tmsV1PaymentinstrumentsTokenIdDeleteCall(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 a Payment Instrument. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void tmsV1PaymentinstrumentsTokenIdDelete(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> tmsV1PaymentinstrumentsTokenIdDeleteWithHttpInfo(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tmsV1PaymentinstrumentsTokenIdDeleteAsync(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 a Payment Instrument. (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 tmsV1PaymentinstrumentsTokenIdGetCall(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 a Payment Instrument. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1PaymentinstrumentsPost201Response tmsV1PaymentinstrumentsTokenIdGet(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1PaymentinstrumentsPost201Response> tmsV1PaymentinstrumentsTokenIdGetWithHttpInfo(String profileId, String tokenId) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tmsV1PaymentinstrumentsTokenIdGetAsync(String profileId, String tokenId, ApiCallback<TmsV1PaymentinstrumentsPost201Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (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 tmsV1PaymentinstrumentsTokenIdPatchCall(String profileId, String tokenId, Body3 body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)body - Please specify the customers payment details. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV1PaymentinstrumentsPost201Response tmsV1PaymentinstrumentsTokenIdPatch(String profileId, String tokenId, Body3 body) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)body - Please specify the customers payment details. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV1PaymentinstrumentsPost201Response> tmsV1PaymentinstrumentsTokenIdPatchWithHttpInfo(String profileId, String tokenId, Body3 body) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)body - Please specify the customers payment details. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tmsV1PaymentinstrumentsTokenIdPatchAsync(String profileId, String tokenId, Body3 body, ApiCallback<TmsV1PaymentinstrumentsPost201Response> callback) throws ApiException
profileId - The id of a profile containing user specific TMS configuration. (required)tokenId - The TokenId of a Payment Instrument. (required)body - Please specify the customers payment details. (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 © 2018. All rights reserved.