public class AntMerchantExpandShopPageApi extends Object
| 构造器和说明 |
|---|
AntMerchantExpandShopPageApi() |
AntMerchantExpandShopPageApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AntMerchantExpandShopPageQueryResponseModel |
query(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion)
店铺分页查询接口
用于服务商或商户查询其自己的店铺信息
|
AntMerchantExpandShopPageQueryResponseModel |
query(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion,
ApiCallback<AntMerchantExpandShopPageQueryResponseModel> _callback)
店铺分页查询接口 (asynchronously)
用于服务商或商户查询其自己的店铺信息
|
okhttp3.Call |
queryAsync(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion,
ApiCallback<AntMerchantExpandShopPageQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AntMerchantExpandShopPageQueryResponseModel> |
queryWithHttpInfo(String ipRoleId,
Integer pageNum,
Integer pageSize,
String addressVersion,
CustomizedParams customizedParams)
店铺分页查询接口
用于服务商或商户查询其自己的店铺信息
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AntMerchantExpandShopPageApi()
public AntMerchantExpandShopPageApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call queryCall(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
ipRoleId - 商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid (optional)pageNum - 查询页数 (optional)pageSize - 每页查询大小,限制100以内 (optional)addressVersion - 行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE') (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandShopPageQueryResponseModel query(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion) throws ApiException
ipRoleId - 商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid (optional)pageNum - 查询页数 (optional)pageSize - 每页查询大小,限制100以内 (optional)addressVersion - 行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE') (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandShopPageQueryResponseModel query(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandShopPageQueryResponseModel> queryWithHttpInfo(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion, CustomizedParams customizedParams) throws ApiException
ipRoleId - 商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid (optional)pageNum - 查询页数 (optional)pageSize - 每页查询大小,限制100以内 (optional)addressVersion - 行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE') (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion, ApiCallback<AntMerchantExpandShopPageQueryResponseModel> _callback) throws ApiException
ipRoleId - 商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid (optional)pageNum - 查询页数 (optional)pageSize - 每页查询大小,限制100以内 (optional)addressVersion - 行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE') (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String ipRoleId, Integer pageNum, Integer pageSize, String addressVersion, ApiCallback<AntMerchantExpandShopPageQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.