public class BranchApi extends Object
| Constructor and Description |
|---|
BranchApi() |
BranchApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
BranchSearchResponse |
searchBranch(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone)
根据城市及区号查询下属网点
|
com.squareup.okhttp.Call |
searchBranchAsync(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone,
ApiCallback<BranchSearchResponse> callback)
根据城市及区号查询下属网点 (asynchronously)
|
com.squareup.okhttp.Call |
searchBranchCall(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for searchBranch
|
ApiResponse<BranchSearchResponse> |
searchBranchWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone)
根据城市及区号查询下属网点
|
void |
setApiClient(ApiClient apiClient) |
public BranchApi()
public BranchApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call searchBranchCall(String apikey, String nonce, String sign, String city, String district, String orderid, String phone, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)orderid - 订单号(条形码上内容) (optional)phone - 收件人手机号 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BranchSearchResponse searchBranch(String apikey, String nonce, String sign, String city, String district, String orderid, String phone) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)orderid - 订单号(条形码上内容) (optional)phone - 收件人手机号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BranchSearchResponse> searchBranchWithHttpInfo(String apikey, String nonce, String sign, String city, String district, String orderid, String phone) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)orderid - 订单号(条形码上内容) (optional)phone - 收件人手机号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call searchBranchAsync(String apikey, String nonce, String sign, String city, String district, String orderid, String phone, ApiCallback<BranchSearchResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)orderid - 订单号(条形码上内容) (optional)phone - 收件人手机号 (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.