public class OrderApi extends Object
| Constructor and Description |
|---|
OrderApi() |
OrderApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
BasicApiResponse |
ordercreate(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
com.squareup.okhttp.Call |
ordercreateAsync(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno,
ApiCallback<BasicApiResponse> callback)
电商端生成订单后通知智能柜服务器端 (asynchronously)
|
com.squareup.okhttp.Call |
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> |
ordercreateWithHttpInfo(String apikey,
String nonce,
String sign,
String orderid,
String phone,
String cardfaceno,
String cardno)
电商端生成订单后通知智能柜服务器端
|
void |
setApiClient(ApiClient apiClient) |
public OrderApi()
public OrderApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call ordercreateCall(String apikey, String nonce, String sign, String orderid, String phone, String cardfaceno, String cardno, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号(条形码上内容) (required)phone - 收件人手机号 (required)cardfaceno - 卡面号(印刷在卡表面的编号) (optional)cardno - 卡内芯片号(取IC卡号前10位) (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BasicApiResponse ordercreate(String apikey, String nonce, String sign, String orderid, String phone, String cardfaceno, String cardno) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号(条形码上内容) (required)phone - 收件人手机号 (required)cardfaceno - 卡面号(印刷在卡表面的编号) (optional)cardno - 卡内芯片号(取IC卡号前10位) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BasicApiResponse> ordercreateWithHttpInfo(String apikey, String nonce, String sign, String orderid, String phone, String cardfaceno, String cardno) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号(条形码上内容) (required)phone - 收件人手机号 (required)cardfaceno - 卡面号(印刷在卡表面的编号) (optional)cardno - 卡内芯片号(取IC卡号前10位) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call ordercreateAsync(String apikey, String nonce, String sign, String orderid, String phone, String cardfaceno, String cardno, ApiCallback<BasicApiResponse> callback) throws ApiException
apikey - key (required)nonce - 32位随机数 (required)sign - 用于校验 (required)orderid - 订单号(条形码上内容) (required)phone - 收件人手机号 (required)cardfaceno - 卡面号(印刷在卡表面的编号) (optional)cardno - 卡内芯片号(取IC卡号前10位) (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.