public class AccountRechargeApi extends Object
| Constructor and Description |
|---|
AccountRechargeApi() |
AccountRechargeApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
rechargeCreditCardGet()
Get Credit Card info
Get Credit Card info
|
com.squareup.okhttp.Call |
rechargeCreditCardGetAsync(ApiCallback<String> callback)
Get Credit Card info (asynchronously)
Get Credit Card info
|
com.squareup.okhttp.Call |
rechargeCreditCardGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargeCreditCardGet
|
ApiResponse<String> |
rechargeCreditCardGetWithHttpInfo()
Get Credit Card info
Get Credit Card info
|
String |
rechargeCreditCardPut(CreditCard creditCard)
Update credit card info
Update credit card info
|
com.squareup.okhttp.Call |
rechargeCreditCardPutAsync(CreditCard creditCard,
ApiCallback<String> callback)
Update credit card info (asynchronously)
Update credit card info
|
com.squareup.okhttp.Call |
rechargeCreditCardPutCall(CreditCard creditCard,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargeCreditCardPut
|
ApiResponse<String> |
rechargeCreditCardPutWithHttpInfo(CreditCard creditCard)
Update credit card info
Update credit card info
|
String |
rechargePackagesGet(String country)
Get list of all packages
Get list of all packages
|
com.squareup.okhttp.Call |
rechargePackagesGetAsync(String country,
ApiCallback<String> callback)
Get list of all packages (asynchronously)
Get list of all packages
|
com.squareup.okhttp.Call |
rechargePackagesGetCall(String country,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargePackagesGet
|
ApiResponse<String> |
rechargePackagesGetWithHttpInfo(String country)
Get list of all packages
Get list of all packages
|
String |
rechargePurchaseByPackageIdPut(Integer packageId)
Purchase a package
Purchase a package
|
com.squareup.okhttp.Call |
rechargePurchaseByPackageIdPutAsync(Integer packageId,
ApiCallback<String> callback)
Purchase a package (asynchronously)
Purchase a package
|
com.squareup.okhttp.Call |
rechargePurchaseByPackageIdPutCall(Integer packageId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargePurchaseByPackageIdPut
|
ApiResponse<String> |
rechargePurchaseByPackageIdPutWithHttpInfo(Integer packageId)
Purchase a package
Purchase a package
|
String |
rechargeTransactionsByTransactionIdGet(String transactionId)
Get specific Transaction
Get specific Transaction
|
com.squareup.okhttp.Call |
rechargeTransactionsByTransactionIdGetAsync(String transactionId,
ApiCallback<String> callback)
Get specific Transaction (asynchronously)
Get specific Transaction
|
com.squareup.okhttp.Call |
rechargeTransactionsByTransactionIdGetCall(String transactionId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargeTransactionsByTransactionIdGet
|
ApiResponse<String> |
rechargeTransactionsByTransactionIdGetWithHttpInfo(String transactionId)
Get specific Transaction
Get specific Transaction
|
String |
rechargeTransactionsGet(Integer page,
Integer limit)
Purchase a package
Get all transactions
|
com.squareup.okhttp.Call |
rechargeTransactionsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Purchase a package (asynchronously)
Get all transactions
|
com.squareup.okhttp.Call |
rechargeTransactionsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rechargeTransactionsGet
|
ApiResponse<String> |
rechargeTransactionsGetWithHttpInfo(Integer page,
Integer limit)
Purchase a package
Get all transactions
|
void |
setApiClient(ApiClient apiClient) |
public AccountRechargeApi()
public AccountRechargeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call rechargeCreditCardGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargeCreditCardGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargeCreditCardGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargeCreditCardGetAsync(ApiCallback<String> callback) throws ApiException
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 rechargeCreditCardPutCall(CreditCard creditCard, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
creditCard - CreditCard model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargeCreditCardPut(CreditCard creditCard) throws ApiException
creditCard - CreditCard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargeCreditCardPutWithHttpInfo(CreditCard creditCard) throws ApiException
creditCard - CreditCard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargeCreditCardPutAsync(CreditCard creditCard, ApiCallback<String> callback) throws ApiException
creditCard - CreditCard model (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 rechargePackagesGetCall(String country, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
country - Country code (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargePackagesGet(String country) throws ApiException
country - Country code (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargePackagesGetWithHttpInfo(String country) throws ApiException
country - Country code (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargePackagesGetAsync(String country, ApiCallback<String> callback) throws ApiException
country - Country code (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 com.squareup.okhttp.Call rechargePurchaseByPackageIdPutCall(Integer packageId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
packageId - ID of package to purchase (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargePurchaseByPackageIdPut(Integer packageId) throws ApiException
packageId - ID of package to purchase (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargePurchaseByPackageIdPutWithHttpInfo(Integer packageId) throws ApiException
packageId - ID of package to purchase (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargePurchaseByPackageIdPutAsync(Integer packageId, ApiCallback<String> callback) throws ApiException
packageId - ID of package to purchase (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 rechargeTransactionsByTransactionIdGetCall(String transactionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
transactionId - ID of transaction to retrieve (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargeTransactionsByTransactionIdGet(String transactionId) throws ApiException
transactionId - ID of transaction to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargeTransactionsByTransactionIdGetWithHttpInfo(String transactionId) throws ApiException
transactionId - ID of transaction to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargeTransactionsByTransactionIdGetAsync(String transactionId, ApiCallback<String> callback) throws ApiException
transactionId - ID of transaction to retrieve (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 rechargeTransactionsGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String rechargeTransactionsGet(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> rechargeTransactionsGetWithHttpInfo(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rechargeTransactionsGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)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.