public class PaymentInstrumentApi extends Object
| Constructor and Description |
|---|
PaymentInstrumentApi() |
PaymentInstrumentApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
InlineResponse2016 |
paymentinstrumentsPost(String profileId,
Body2 body)
Create a Payment Instrument
|
com.squareup.okhttp.Call |
paymentinstrumentsPostAsync(String profileId,
Body2 body,
ApiCallback<InlineResponse2016> callback)
Create a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
paymentinstrumentsPostCall(String profileId,
Body2 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsPost
|
ApiResponse<InlineResponse2016> |
paymentinstrumentsPostWithHttpInfo(String profileId,
Body2 body)
Create a Payment Instrument
|
void |
paymentinstrumentsTokenIdDelete(String profileId,
String tokenId)
Delete a Payment Instrument
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdDeleteAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdDeleteCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdDelete
|
ApiResponse<Void> |
paymentinstrumentsTokenIdDeleteWithHttpInfo(String profileId,
String tokenId)
Delete a Payment Instrument
|
InlineResponse2016 |
paymentinstrumentsTokenIdGet(String profileId,
String tokenId)
Retrieve a Payment Instrument
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdGetAsync(String profileId,
String tokenId,
ApiCallback<InlineResponse2016> callback)
Retrieve a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdGetCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdGet
|
ApiResponse<InlineResponse2016> |
paymentinstrumentsTokenIdGetWithHttpInfo(String profileId,
String tokenId)
Retrieve a Payment Instrument
|
InlineResponse2016 |
paymentinstrumentsTokenIdPatch(String profileId,
String tokenId,
Body3 body)
Update a Payment Instrument
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdPatchAsync(String profileId,
String tokenId,
Body3 body,
ApiCallback<InlineResponse2016> callback)
Update a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
paymentinstrumentsTokenIdPatchCall(String profileId,
String tokenId,
Body3 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdPatch
|
ApiResponse<InlineResponse2016> |
paymentinstrumentsTokenIdPatchWithHttpInfo(String profileId,
String tokenId,
Body3 body)
Update a Payment Instrument
|
void |
setApiClient(ApiClient apiClient) |
public PaymentInstrumentApi()
public PaymentInstrumentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call paymentinstrumentsPostCall(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 InlineResponse2016 paymentinstrumentsPost(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<InlineResponse2016> paymentinstrumentsPostWithHttpInfo(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 paymentinstrumentsPostAsync(String profileId, Body2 body, ApiCallback<InlineResponse2016> 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 paymentinstrumentsTokenIdDeleteCall(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 paymentinstrumentsTokenIdDelete(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> paymentinstrumentsTokenIdDeleteWithHttpInfo(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 paymentinstrumentsTokenIdDeleteAsync(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 paymentinstrumentsTokenIdGetCall(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 InlineResponse2016 paymentinstrumentsTokenIdGet(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<InlineResponse2016> paymentinstrumentsTokenIdGetWithHttpInfo(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 paymentinstrumentsTokenIdGetAsync(String profileId, String tokenId, ApiCallback<InlineResponse2016> 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 paymentinstrumentsTokenIdPatchCall(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 InlineResponse2016 paymentinstrumentsTokenIdPatch(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<InlineResponse2016> paymentinstrumentsTokenIdPatchWithHttpInfo(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 paymentinstrumentsTokenIdPatchAsync(String profileId, String tokenId, Body3 body, ApiCallback<InlineResponse2016> 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.