public class PaymentInstrumentApi extends Object
| Constructor and Description |
|---|
PaymentInstrumentApi() |
PaymentInstrumentApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePaymentInstrument(String paymentInstrumentTokenId,
String profileId)
Delete a Payment Instrument
|
okhttp3.Call |
deletePaymentInstrumentAsync(String paymentInstrumentTokenId,
String profileId,
ApiCallback<Void> callback)
Delete a Payment Instrument (asynchronously)
|
okhttp3.Call |
deletePaymentInstrumentCall(String paymentInstrumentTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deletePaymentInstrument
|
ApiResponse<Void> |
deletePaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId,
String profileId)
Delete a Payment Instrument
|
ApiClient |
getApiClient() |
Tmsv2customersEmbeddedDefaultPaymentInstrument |
getPaymentInstrument(String paymentInstrumentTokenId,
String profileId)
Retrieve a Payment Instrument
|
okhttp3.Call |
getPaymentInstrumentAsync(String paymentInstrumentTokenId,
String profileId,
ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback)
Retrieve a Payment Instrument (asynchronously)
|
okhttp3.Call |
getPaymentInstrumentCall(String paymentInstrumentTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getPaymentInstrument
|
ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> |
getPaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId,
String profileId)
Retrieve a Payment Instrument
|
Tmsv2customersEmbeddedDefaultPaymentInstrument |
patchPaymentInstrument(String paymentInstrumentTokenId,
PatchPaymentInstrumentRequest patchPaymentInstrumentRequest,
String profileId,
String ifMatch)
Update a Payment Instrument
|
okhttp3.Call |
patchPaymentInstrumentAsync(String paymentInstrumentTokenId,
PatchPaymentInstrumentRequest patchPaymentInstrumentRequest,
String profileId,
String ifMatch,
ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback)
Update a Payment Instrument (asynchronously)
|
okhttp3.Call |
patchPaymentInstrumentCall(String paymentInstrumentTokenId,
PatchPaymentInstrumentRequest patchPaymentInstrumentRequest,
String profileId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for patchPaymentInstrument
|
ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> |
patchPaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId,
PatchPaymentInstrumentRequest patchPaymentInstrumentRequest,
String profileId,
String ifMatch)
Update a Payment Instrument
|
Tmsv2customersEmbeddedDefaultPaymentInstrument |
postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest,
String profileId)
Create a Payment Instrument
|
okhttp3.Call |
postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest,
String profileId,
ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback)
Create a Payment Instrument (asynchronously)
|
okhttp3.Call |
postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postPaymentInstrument
|
ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> |
postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest,
String profileId)
Create a Payment Instrument
|
void |
setApiClient(ApiClient apiClient) |
public PaymentInstrumentApi()
public PaymentInstrumentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deletePaymentInstrumentCall(String paymentInstrumentTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deletePaymentInstrument(String paymentInstrumentTokenId, String profileId) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deletePaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId, String profileId) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deletePaymentInstrumentAsync(String paymentInstrumentTokenId, String profileId, ApiCallback<Void> callback) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)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 okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Tmsv2customersEmbeddedDefaultPaymentInstrument getPaymentInstrument(String paymentInstrumentTokenId, String profileId) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> getPaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId, String profileId) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getPaymentInstrumentAsync(String paymentInstrumentTokenId, String profileId, ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)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 okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentTokenId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)patchPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Tmsv2customersEmbeddedDefaultPaymentInstrument patchPaymentInstrument(String paymentInstrumentTokenId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)patchPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> patchPaymentInstrumentWithHttpInfo(String paymentInstrumentTokenId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)patchPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call patchPaymentInstrumentAsync(String paymentInstrumentTokenId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, String ifMatch, ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback) throws ApiException
paymentInstrumentTokenId - The TokenId of a payment instrument. (required)patchPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)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 okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Tmsv2customersEmbeddedDefaultPaymentInstrument postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException
postPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Tmsv2customersEmbeddedDefaultPaymentInstrument> postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId) throws ApiException
postPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, ApiCallback<Tmsv2customersEmbeddedDefaultPaymentInstrument> callback) throws ApiException
postPaymentInstrumentRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)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 © 2020. All rights reserved.