public class AlipayEbppInvoiceExpenserulesEmployeerulesApi extends Object
| 构造器和说明 |
|---|
AlipayEbppInvoiceExpenserulesEmployeerulesApi() |
AlipayEbppInvoiceExpenserulesEmployeerulesApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel |
query(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize)
查询员工绑定的所有费控规则
分页查询指定员工绑定的所有费控规则,默认返回所有有效和无效规则,查询结果按费控规则的创建时间倒序
|
AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel |
query(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize,
ApiCallback<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> _callback)
查询员工绑定的所有费控规则 (asynchronously)
分页查询指定员工绑定的所有费控规则,默认返回所有有效和无效规则,查询结果按费控规则的创建时间倒序
|
okhttp3.Call |
queryAsync(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize,
ApiCallback<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> |
queryWithHttpInfo(String accountId,
String agreementNo,
String employeeId,
String employeeOpenId,
Integer pageNum,
Integer pageSize,
CustomizedParams customizedParams)
查询员工绑定的所有费控规则
分页查询指定员工绑定的所有费控规则,默认返回所有有效和无效规则,查询结果按费控规则的创建时间倒序
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayEbppInvoiceExpenserulesEmployeerulesApi()
public AlipayEbppInvoiceExpenserulesEmployeerulesApi(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 accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
accountId - 企业ID (optional)agreementNo - 授权签约协议号 (optional)employeeId - 未切换open_id时使用此字段:员工ID (optional)employeeOpenId - 切换open_id后使用此字段:员工的open_id (optional)pageNum - 页码,默认值为1 (optional)pageSize - 每页行数,默认值为20 (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 AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel query(String accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize) throws ApiException
accountId - 企业ID (optional)agreementNo - 授权签约协议号 (optional)employeeId - 未切换open_id时使用此字段:员工ID (optional)employeeOpenId - 切换open_id后使用此字段:员工的open_id (optional)pageNum - 页码,默认值为1 (optional)pageSize - 每页行数,默认值为20 (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 AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel query(String accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> queryWithHttpInfo(String accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize, CustomizedParams customizedParams) throws ApiException
accountId - 企业ID (optional)agreementNo - 授权签约协议号 (optional)employeeId - 未切换open_id时使用此字段:员工ID (optional)employeeOpenId - 切换open_id后使用此字段:员工的open_id (optional)pageNum - 页码,默认值为1 (optional)pageSize - 每页行数,默认值为20 (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 accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize, ApiCallback<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> _callback) throws ApiException
accountId - 企业ID (optional)agreementNo - 授权签约协议号 (optional)employeeId - 未切换open_id时使用此字段:员工ID (optional)employeeOpenId - 切换open_id后使用此字段:员工的open_id (optional)pageNum - 页码,默认值为1 (optional)pageSize - 每页行数,默认值为20 (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 accountId, String agreementNo, String employeeId, String employeeOpenId, Integer pageNum, Integer pageSize, ApiCallback<AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.