public class AlipayMarketingCardApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingCardApi() |
AlipayMarketingCardApi(ApiClient apiClient) |
public AlipayMarketingCardApi()
public AlipayMarketingCardApi(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 deleteCall(String outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
outSerialNo - 商户端删卡业务流水号,商户自定义且需确保流水号唯一性。 (optional)targetCardNo - 支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。 (optional)targetCardNoType - 卡号ID类型 (optional)reasonCode - 删卡原因 USER_UNBUND:用户解绑(可以重新绑定) CANCEL:销户(完成销户后,就不能再重新绑定) PRESENT:转赠(可以重新绑定) (optional)extInfo - 删卡扩展参数,json格式。 用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。 目前支持如下key: new_card_no:新卡号 donee_user_id:受赠人userId (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 AlipayMarketingCardDeleteResponseModel delete(String outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo) throws ApiException
outSerialNo - 商户端删卡业务流水号,商户自定义且需确保流水号唯一性。 (optional)targetCardNo - 支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。 (optional)targetCardNoType - 卡号ID类型 (optional)reasonCode - 删卡原因 USER_UNBUND:用户解绑(可以重新绑定) CANCEL:销户(完成销户后,就不能再重新绑定) PRESENT:转赠(可以重新绑定) (optional)extInfo - 删卡扩展参数,json格式。 用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。 目前支持如下key: new_card_no:新卡号 donee_user_id:受赠人userId (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 AlipayMarketingCardDeleteResponseModel delete(String outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardDeleteResponseModel> deleteWithHttpInfo(String outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo, CustomizedParams customizedParams) throws ApiException
outSerialNo - 商户端删卡业务流水号,商户自定义且需确保流水号唯一性。 (optional)targetCardNo - 支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。 (optional)targetCardNoType - 卡号ID类型 (optional)reasonCode - 删卡原因 USER_UNBUND:用户解绑(可以重新绑定) CANCEL:销户(完成销户后,就不能再重新绑定) PRESENT:转赠(可以重新绑定) (optional)extInfo - 删卡扩展参数,json格式。 用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。 目前支持如下key: new_card_no:新卡号 donee_user_id:受赠人userId (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 outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo, ApiCallback<AlipayMarketingCardDeleteResponseModel> _callback) throws ApiException
outSerialNo - 商户端删卡业务流水号,商户自定义且需确保流水号唯一性。 (optional)targetCardNo - 支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。 (optional)targetCardNoType - 卡号ID类型 (optional)reasonCode - 删卡原因 USER_UNBUND:用户解绑(可以重新绑定) CANCEL:销户(完成销户后,就不能再重新绑定) PRESENT:转赠(可以重新绑定) (optional)extInfo - 删卡扩展参数,json格式。 用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。 目前支持如下key: new_card_no:新卡号 donee_user_id:受赠人userId (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 outSerialNo, String targetCardNo, String targetCardNoType, String reasonCode, String extInfo, ApiCallback<AlipayMarketingCardDeleteResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call openCall(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)alipayMarketingCardOpenModel - (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 AlipayMarketingCardOpenResponseModel open(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel) throws ApiException
authToken - 用户授权令牌 (optional)alipayMarketingCardOpenModel - (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 AlipayMarketingCardOpenResponseModel open(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardOpenResponseModel> openWithHttpInfo(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)alipayMarketingCardOpenModel - (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 openAsync(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel, ApiCallback<AlipayMarketingCardOpenResponseModel> _callback) throws ApiException
authToken - 用户授权令牌 (optional)alipayMarketingCardOpenModel - (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 openAsync(String authToken, AlipayMarketingCardOpenModel alipayMarketingCardOpenModel, ApiCallback<AlipayMarketingCardOpenResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardQueryModel - (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 AlipayMarketingCardQueryResponseModel query(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel) throws ApiException
alipayMarketingCardQueryModel - (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 AlipayMarketingCardQueryResponseModel query(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardQueryResponseModel> queryWithHttpInfo(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardQueryModel - (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(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel, ApiCallback<AlipayMarketingCardQueryResponseModel> _callback) throws ApiException
alipayMarketingCardQueryModel - (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(AlipayMarketingCardQueryModel alipayMarketingCardQueryModel, ApiCallback<AlipayMarketingCardQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call updateCall(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardUpdateModel - (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 AlipayMarketingCardUpdateResponseModel update(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel) throws ApiException
alipayMarketingCardUpdateModel - (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 AlipayMarketingCardUpdateResponseModel update(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardUpdateResponseModel> updateWithHttpInfo(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel, CustomizedParams customizedParams) throws ApiException
alipayMarketingCardUpdateModel - (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 updateAsync(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel, ApiCallback<AlipayMarketingCardUpdateResponseModel> _callback) throws ApiException
alipayMarketingCardUpdateModel - (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 updateAsync(AlipayMarketingCardUpdateModel alipayMarketingCardUpdateModel, ApiCallback<AlipayMarketingCardUpdateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.