public class BoxApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
RemotePutInResponse |
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 |
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 |
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 |
remotePutInBoxHistory(String apikey,
String nonce,
String sign,
String orderid)
远程存
|
com.squareup.okhttp.Call |
remotePutInBoxHistoryAsync(String apikey,
String nonce,
String sign,
String orderid,
ApiCallback<RemotePutInHistoryResponse> callback)
远程存 (asynchronously)
|
com.squareup.okhttp.Call |
remotePutInBoxHistoryCall(String apikey,
String nonce,
String sign,
String orderid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remotePutInBoxHistory
|
ApiResponse<RemotePutInHistoryResponse> |
remotePutInBoxHistoryWithHttpInfo(String apikey,
String nonce,
String sign,
String orderid)
远程存
|
ApiResponse<RemotePutInResponse> |
remotePutInBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String boxno,
String butype,
String func,
String kphone,
String orderid,
String phone,
String size)
远程存
|
RemoteTakeOutResponse |
remoteTakeOutBox(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid)
远程取
|
com.squareup.okhttp.Call |
remoteTakeOutBoxAsync(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid,
ApiCallback<RemoteTakeOutResponse> callback)
远程取 (asynchronously)
|
com.squareup.okhttp.Call |
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> |
remoteTakeOutBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String gridno,
String opencode,
String seqid)
远程取
|
RemoteTakeOutResponse |
remoteTakeOutHistory(String apikey,
String nonce,
String sign,
String gridno,
String seqid)
查询取件状态
|
com.squareup.okhttp.Call |
remoteTakeOutHistoryAsync(String apikey,
String nonce,
String sign,
String gridno,
String seqid,
ApiCallback<RemoteTakeOutResponse> callback)
查询取件状态 (asynchronously)
|
com.squareup.okhttp.Call |
remoteTakeOutHistoryCall(String apikey,
String nonce,
String sign,
String gridno,
String seqid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for remoteTakeOutHistory
|
ApiResponse<RemoteTakeOutResponse> |
remoteTakeOutHistoryWithHttpInfo(String apikey,
String nonce,
String sign,
String gridno,
String seqid)
查询取件状态
|
BoxSearchResponse |
searchBox(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno)
根据城市及区号及网点编号查询下属柜子
|
com.squareup.okhttp.Call |
searchBoxAsync(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno,
ApiCallback<BoxSearchResponse> callback)
根据城市及区号及网点编号查询下属柜子 (asynchronously)
|
com.squareup.okhttp.Call |
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> |
searchBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district,
String branchno)
根据城市及区号及网点编号查询下属柜子
|
BranchBoxSearchResponse |
searchBranchBox(String apikey,
String nonce,
String sign,
String city,
String district)
根据城市及区号查询下属网点及柜子
|
com.squareup.okhttp.Call |
searchBranchBoxAsync(String apikey,
String nonce,
String sign,
String city,
String district,
ApiCallback<BranchBoxSearchResponse> callback)
根据城市及区号查询下属网点及柜子 (asynchronously)
|
com.squareup.okhttp.Call |
searchBranchBoxCall(String apikey,
String nonce,
String sign,
String city,
String district,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for searchBranchBox
|
ApiResponse<BranchBoxSearchResponse> |
searchBranchBoxWithHttpInfo(String apikey,
String nonce,
String sign,
String city,
String district)
根据城市及区号查询下属网点及柜子
|
void |
setApiClient(ApiClient apiClient) |
public BoxApi()
public BoxApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call 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) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)boxno - 柜子编号 (optional)butype - 业务类型 (optional)func - 格子功能 目前1常温2冷藏 (optional)kphone - 配送员手机号 (optional)orderid - 订单号 (optional)phone - 收货人手机号 (optional)size - 格子大小 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemotePutInResponse remotePutInBox(String apikey, String nonce, String sign, String boxno, String butype, String func, String kphone, String orderid, String phone, String size) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)boxno - 柜子编号 (optional)butype - 业务类型 (optional)func - 格子功能 目前1常温2冷藏 (optional)kphone - 配送员手机号 (optional)orderid - 订单号 (optional)phone - 收货人手机号 (optional)size - 格子大小 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemotePutInResponse> remotePutInBoxWithHttpInfo(String apikey, String nonce, String sign, String boxno, String butype, String func, String kphone, String orderid, String phone, String size) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)boxno - 柜子编号 (optional)butype - 业务类型 (optional)func - 格子功能 目前1常温2冷藏 (optional)kphone - 配送员手机号 (optional)orderid - 订单号 (optional)phone - 收货人手机号 (optional)size - 格子大小 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call remotePutInBoxAsync(String apikey, String nonce, String sign, String boxno, String butype, String func, String kphone, String orderid, String phone, String size, ApiCallback<RemotePutInResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)boxno - 柜子编号 (optional)butype - 业务类型 (optional)func - 格子功能 目前1常温2冷藏 (optional)kphone - 配送员手机号 (optional)orderid - 订单号 (optional)phone - 收货人手机号 (optional)size - 格子大小 (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 remotePutInBoxHistoryCall(String apikey, String nonce, String sign, String orderid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemotePutInHistoryResponse remotePutInBoxHistory(String apikey, String nonce, String sign, String orderid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemotePutInHistoryResponse> remotePutInBoxHistoryWithHttpInfo(String apikey, String nonce, String sign, String orderid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call remotePutInBoxHistoryAsync(String apikey, String nonce, String sign, String orderid, ApiCallback<RemotePutInHistoryResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号 (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 remoteTakeOutBoxCall(String apikey, String nonce, String sign, String gridno, String opencode, String seqid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)opencode - 取货密码 (required)seqid - 流水号 (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemoteTakeOutResponse remoteTakeOutBox(String apikey, String nonce, String sign, String gridno, String opencode, String seqid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)opencode - 取货密码 (required)seqid - 流水号 (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemoteTakeOutResponse> remoteTakeOutBoxWithHttpInfo(String apikey, String nonce, String sign, String gridno, String opencode, String seqid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)opencode - 取货密码 (required)seqid - 流水号 (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call remoteTakeOutBoxAsync(String apikey, String nonce, String sign, String gridno, String opencode, String seqid, ApiCallback<RemoteTakeOutResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)opencode - 取货密码 (required)seqid - 流水号 (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 remoteTakeOutHistoryCall(String apikey, String nonce, String sign, String gridno, String seqid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)seqid - 流水号 (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemoteTakeOutResponse remoteTakeOutHistory(String apikey, String nonce, String sign, String gridno, String seqid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)seqid - 流水号 (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemoteTakeOutResponse> remoteTakeOutHistoryWithHttpInfo(String apikey, String nonce, String sign, String gridno, String seqid) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)seqid - 流水号 (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call remoteTakeOutHistoryAsync(String apikey, String nonce, String sign, String gridno, String seqid, ApiCallback<RemoteTakeOutResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)gridno - 完整格号 (required)seqid - 流水号 (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 searchBoxCall(String apikey, String nonce, String sign, String city, String district, String branchno, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)branchno - 网点编号 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BoxSearchResponse searchBox(String apikey, String nonce, String sign, String city, String district, String branchno) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)branchno - 网点编号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BoxSearchResponse> searchBoxWithHttpInfo(String apikey, String nonce, String sign, String city, String district, String branchno) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)branchno - 网点编号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call searchBoxAsync(String apikey, String nonce, String sign, String city, String district, String branchno, ApiCallback<BoxSearchResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)branchno - 网点编号 (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 searchBranchBoxCall(String apikey, String nonce, String sign, String city, String district, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BranchBoxSearchResponse searchBranchBox(String apikey, String nonce, String sign, String city, String district) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BranchBoxSearchResponse> searchBranchBoxWithHttpInfo(String apikey, String nonce, String sign, String city, String district) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call searchBranchBoxAsync(String apikey, String nonce, String sign, String city, String district, ApiCallback<BranchBoxSearchResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)city - 城市编号 (optional)district - 区号编号 (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.