public class AlipayCommerceEcEnterpriseApi extends Object
| 构造器和说明 |
|---|
AlipayCommerceEcEnterpriseApi() |
AlipayCommerceEcEnterpriseApi(ApiClient apiClient) |
public AlipayCommerceEcEnterpriseApi()
public AlipayCommerceEcEnterpriseApi(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 createCall(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcEnterpriseCreateModel - (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 AlipayCommerceEcEnterpriseCreateResponseModel create(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel) throws ApiException
alipayCommerceEcEnterpriseCreateModel - (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 AlipayCommerceEcEnterpriseCreateResponseModel create(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayCommerceEcEnterpriseCreateResponseModel> createWithHttpInfo(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcEnterpriseCreateModel - (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 createAsync(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel, ApiCallback<AlipayCommerceEcEnterpriseCreateResponseModel> _callback) throws ApiException
alipayCommerceEcEnterpriseCreateModel - (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 createAsync(AlipayCommerceEcEnterpriseCreateModel alipayCommerceEcEnterpriseCreateModel, ApiCallback<AlipayCommerceEcEnterpriseCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcEnterpriseDeleteModel - (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 AlipayCommerceEcEnterpriseDeleteResponseModel delete(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel) throws ApiException
alipayCommerceEcEnterpriseDeleteModel - (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 AlipayCommerceEcEnterpriseDeleteResponseModel delete(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayCommerceEcEnterpriseDeleteResponseModel> deleteWithHttpInfo(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcEnterpriseDeleteModel - (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 deleteAsync(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel, ApiCallback<AlipayCommerceEcEnterpriseDeleteResponseModel> _callback) throws ApiException
alipayCommerceEcEnterpriseDeleteModel - (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 deleteAsync(AlipayCommerceEcEnterpriseDeleteModel alipayCommerceEcEnterpriseDeleteModel, ApiCallback<AlipayCommerceEcEnterpriseDeleteResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call unsignCall(String enterpriseId, String accountId, String agreementNo, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
enterpriseId - 通过企业码2.0签约接口签约,只填写企业id,无需填写共同账户id和授权签约协议号。 (optional)accountId - 通过企业码1.0接口签约的共同账户,和agreement_no搭配使用。 (optional)agreementNo - 可通过签约消息获取。配合共同账户id使用,当填写企业共同账户id时,此字段必填。 (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 AlipayCommerceEcEnterpriseUnsignResponseModel unsign(String enterpriseId, String accountId, String agreementNo) throws ApiException
enterpriseId - 通过企业码2.0签约接口签约,只填写企业id,无需填写共同账户id和授权签约协议号。 (optional)accountId - 通过企业码1.0接口签约的共同账户,和agreement_no搭配使用。 (optional)agreementNo - 可通过签约消息获取。配合共同账户id使用,当填写企业共同账户id时,此字段必填。 (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 AlipayCommerceEcEnterpriseUnsignResponseModel unsign(String enterpriseId, String accountId, String agreementNo, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayCommerceEcEnterpriseUnsignResponseModel> unsignWithHttpInfo(String enterpriseId, String accountId, String agreementNo, CustomizedParams customizedParams) throws ApiException
enterpriseId - 通过企业码2.0签约接口签约,只填写企业id,无需填写共同账户id和授权签约协议号。 (optional)accountId - 通过企业码1.0接口签约的共同账户,和agreement_no搭配使用。 (optional)agreementNo - 可通过签约消息获取。配合共同账户id使用,当填写企业共同账户id时,此字段必填。 (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 unsignAsync(String enterpriseId, String accountId, String agreementNo, ApiCallback<AlipayCommerceEcEnterpriseUnsignResponseModel> _callback) throws ApiException
enterpriseId - 通过企业码2.0签约接口签约,只填写企业id,无需填写共同账户id和授权签约协议号。 (optional)accountId - 通过企业码1.0接口签约的共同账户,和agreement_no搭配使用。 (optional)agreementNo - 可通过签约消息获取。配合共同账户id使用,当填写企业共同账户id时,此字段必填。 (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 unsignAsync(String enterpriseId, String accountId, String agreementNo, ApiCallback<AlipayCommerceEcEnterpriseUnsignResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.