public class CreditApi extends Object
| Constructor and Description |
|---|
CreditApi() |
CreditApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PtsV2CreditsPost201Response |
createCredit(CreateCreditRequest createCreditRequest)
Process a Credit
POST to the credit resource to credit funds to a specified credit card.
|
okhttp3.Call |
createCreditAsync(CreateCreditRequest createCreditRequest,
ApiCallback<PtsV2CreditsPost201Response> callback)
Process a Credit (asynchronously)
POST to the credit resource to credit funds to a specified credit card.
|
okhttp3.Call |
createCreditCall(CreateCreditRequest createCreditRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createCredit
|
ApiResponse<PtsV2CreditsPost201Response> |
createCreditWithHttpInfo(CreateCreditRequest createCreditRequest)
Process a Credit
POST to the credit resource to credit funds to a specified credit card.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public CreditApi()
public CreditApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createCreditCall(CreateCreditRequest createCreditRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createCreditRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCreditRequest) throws ApiException
createCreditRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2CreditsPost201Response> createCreditWithHttpInfo(CreateCreditRequest createCreditRequest) throws ApiException
createCreditRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createCreditAsync(CreateCreditRequest createCreditRequest, ApiCallback<PtsV2CreditsPost201Response> callback) throws ApiException
createCreditRequest - (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 © 2020. All rights reserved.