public class AlipayMarketingCardBenefitApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingCardBenefitApi() |
AlipayMarketingCardBenefitApi(ApiClient apiClient) |
public AlipayMarketingCardBenefitApi()
public AlipayMarketingCardBenefitApi(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(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardBenefitCreateModel - (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 AlipayMarketingCardBenefitCreateResponseModel create(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel) throws ApiException
alipayMarketingCardBenefitCreateModel - (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 AlipayMarketingCardBenefitCreateResponseModel create(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardBenefitCreateResponseModel> createWithHttpInfo(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardBenefitCreateModel - (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(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel, ApiCallback<AlipayMarketingCardBenefitCreateResponseModel> _callback) throws ApiException
alipayMarketingCardBenefitCreateModel - (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(AlipayMarketingCardBenefitCreateModel alipayMarketingCardBenefitCreateModel, ApiCallback<AlipayMarketingCardBenefitCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(String templateId, String benefitId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 AlipayMarketingCardBenefitDeleteResponseModel delete(String templateId, String benefitId) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 AlipayMarketingCardBenefitDeleteResponseModel delete(String templateId, String benefitId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardBenefitDeleteResponseModel> deleteWithHttpInfo(String templateId, String benefitId, CustomizedParams customizedParams) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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(String templateId, String benefitId, ApiCallback<AlipayMarketingCardBenefitDeleteResponseModel> _callback) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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(String templateId, String benefitId, ApiCallback<AlipayMarketingCardBenefitDeleteResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call modifyCall(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardBenefitModifyModel - (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 AlipayMarketingCardBenefitModifyResponseModel modify(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel) throws ApiException
alipayMarketingCardBenefitModifyModel - (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 AlipayMarketingCardBenefitModifyResponseModel modify(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardBenefitModifyResponseModel> modifyWithHttpInfo(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardBenefitModifyModel - (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 modifyAsync(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel, ApiCallback<AlipayMarketingCardBenefitModifyResponseModel> _callback) throws ApiException
alipayMarketingCardBenefitModifyModel - (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 modifyAsync(AlipayMarketingCardBenefitModifyModel alipayMarketingCardBenefitModifyModel, ApiCallback<AlipayMarketingCardBenefitModifyResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(String templateId, String benefitId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 AlipayMarketingCardBenefitQueryResponseModel query(String templateId, String benefitId) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 AlipayMarketingCardBenefitQueryResponseModel query(String templateId, String benefitId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardBenefitQueryResponseModel> queryWithHttpInfo(String templateId, String benefitId, CustomizedParams customizedParams) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 templateId, String benefitId, ApiCallback<AlipayMarketingCardBenefitQueryResponseModel> _callback) throws ApiException
templateId - 会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。 (optional)benefitId - 权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。 (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 templateId, String benefitId, ApiCallback<AlipayMarketingCardBenefitQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.