| Package | Description |
|---|---|
| cn.acey.integrate.usmartbox.client | |
| cn.acey.integrate.usmartbox.client.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
BasicApiResponse |
PetApi.ordercreate(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
BasicApiResponse |
OrderApi.ordercreate(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
com.squareup.okhttp.Call |
PetApi.ordercreateAsync(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno,
ApiCallback<BasicApiResponse> callback)
电商端生成订单后通知智能柜服务器端 (asynchronously)
|
com.squareup.okhttp.Call |
OrderApi.ordercreateAsync(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno,
ApiCallback<BasicApiResponse> callback)
电商端生成订单后通知智能柜服务器端 (asynchronously)
|
com.squareup.okhttp.Call |
PetApi.ordercreateCall(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for ordercreate
|
com.squareup.okhttp.Call |
OrderApi.ordercreateCall(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for ordercreate
|
ApiResponse<BasicApiResponse> |
PetApi.ordercreateWithHttpInfo(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
ApiResponse<BasicApiResponse> |
OrderApi.ordercreateWithHttpInfo(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
RemotePutInResponse |
BoxApi.remotePutInBox(String apikey,
String nonce,
String sign,
String boxno,
String butype,
String func,
String kphone,
String orderid,
String phone,
String size)
远程存
|
com.squareup.okhttp.Call |
BoxApi.remotePutInBoxAsync(String apikey,
String nonce,
String sign,
String boxno,
String butype,
String func,
String kphone,
String orderid,
String phone,
String size,
ApiCallback<RemotePutInResponse> callback)
远程存 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.remotePutInBoxCall(String apikey,
String nonce,
String sign,
String boxno,
String butype,
String func,
String kphone,
String orderid,
String phone,
String size,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remotePutInBox
|
RemotePutInHistoryResponse |
BoxApi.remotePutInBoxHistory(String apikey,
String nonce,
String sign,
String orderid)
远程存
|
com.squareup.okhttp.Call |
BoxApi.remotePutInBoxHistoryAsync(String apikey,
String nonce,
String sign,
String orderid,
ApiCallback<RemotePutInHistoryResponse> callback)
远程存 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.remotePutInBoxHistoryCall(String apikey,
String nonce,
String sign,
String orderid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remotePutInBoxHistory
|
ApiResponse<RemotePutInHistoryResponse> |
BoxApi.remotePutInBoxHistoryWithHttpInfo(String apikey,
String nonce,
String sign,
String orderid)
远程存
|
ApiResponse<RemotePutInResponse> |
BoxApi.remotePutInBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String boxno,
String butype,
String func,
String kphone,
String orderid,
String phone,
String size)
远程存
|
RemoteTakeOutResponse |
BoxApi.remoteTakeOutBox(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid)
远程取
|
com.squareup.okhttp.Call |
BoxApi.remoteTakeOutBoxAsync(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid,
ApiCallback<RemoteTakeOutResponse> callback)
远程取 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.remoteTakeOutBoxCall(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remoteTakeOutBox
|
ApiResponse<RemoteTakeOutResponse> |
BoxApi.remoteTakeOutBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid)
远程取
|
RemoteTakeOutResponse |
BoxApi.remoteTakeOutHistory(String apikey,
String nonce,
String sign,
String gridno,
String seqid)
查询取件状态
|
com.squareup.okhttp.Call |
BoxApi.remoteTakeOutHistoryAsync(String apikey,
String nonce,
String sign,
String gridno,
String seqid,
ApiCallback<RemoteTakeOutResponse> callback)
查询取件状态 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.remoteTakeOutHistoryCall(String apikey,
String nonce,
String sign,
String gridno,
String seqid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remoteTakeOutHistory
|
ApiResponse<RemoteTakeOutResponse> |
BoxApi.remoteTakeOutHistoryWithHttpInfo(String apikey,
String nonce,
String sign,
String gridno,
String seqid)
查询取件状态
|
BoxSearchResponse |
BoxApi.searchBox(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno)
根据城市及区号及网点编号查询下属柜子
|
com.squareup.okhttp.Call |
BoxApi.searchBoxAsync(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno,
ApiCallback<BoxSearchResponse> callback)
根据城市及区号及网点编号查询下属柜子 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.searchBoxCall(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for searchBox
|
ApiResponse<BoxSearchResponse> |
BoxApi.searchBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno)
根据城市及区号及网点编号查询下属柜子
|
BranchSearchResponse |
BranchApi.searchBranch(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone)
根据城市及区号查询下属网点
|
com.squareup.okhttp.Call |
BranchApi.searchBranchAsync(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone,
ApiCallback<BranchSearchResponse> callback)
根据城市及区号查询下属网点 (asynchronously)
|
BranchBoxSearchResponse |
BoxApi.searchBranchBox(String apikey,
String nonce,
String sign,
String city,
String district)
根据城市及区号查询下属网点及柜子
|
com.squareup.okhttp.Call |
BoxApi.searchBranchBoxAsync(String apikey,
String nonce,
String sign,
String city,
String district,
ApiCallback<BranchBoxSearchResponse> callback)
根据城市及区号查询下属网点及柜子 (asynchronously)
|
com.squareup.okhttp.Call |
BoxApi.searchBranchBoxCall(String apikey,
String nonce,
String sign,
String city,
String district,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for searchBranchBox
|
ApiResponse<BranchBoxSearchResponse> |
BoxApi.searchBranchBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district)
根据城市及区号查询下属网点及柜子
|
com.squareup.okhttp.Call |
BranchApi.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> |
BranchApi.searchBranchWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district,
String orderid,
String phone)
根据城市及区号查询下属网点
|
Copyright © 2020. All rights reserved.