| | |
| | | using Aop.Api.Domain; |
| | | using Aop.Api.Request; |
| | | using Aop.Api.Response; |
| | | using Aop.Api.Util; |
| | | using Furion.FriendlyException; |
| | | using Microsoft.Extensions.Options; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 资金二级商户KYB代进件 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public AlipayFundExpandindirectImageUploadResponse FundExpandindirectImageUpload(AlipayFundExpandindirectImageUploadRequest request) |
| | | { |
| | | AlipayFundExpandindirectImageUploadResponse response = alipayClient.Execute(request); |
| | | if (response.IsError) throw Oops.Oh(EnumErrorCodeType.s510, response.Msg); |
| | | return response; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 资金二级商户KYB代进件 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <param name="notifyUrl"></param> |
| | | /// <returns></returns> |
| | | public AlipayFundExpandindirectCreateResponse FundExpandindirectCreate(AlipayFundExpandindirectCreateModel model, string notifyUrl = null) |
| | | { |
| | | AlipayFundExpandindirectCreateRequest request = new AlipayFundExpandindirectCreateRequest(); |
| | |
| | | request.SetNotifyUrl(notifyUrl); |
| | | } |
| | | AlipayFundExpandindirectCreateResponse response = alipayClient.Execute(request); |
| | | if (response.IsError) throw Oops.Oh(EnumErrorCodeType.s510, response.Msg); |
| | | return response; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 资金二级商户KYB代进件单查询接口 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | public AlipayFundExpandindirectOrderQueryResponse FundExpandindirectOrderQuery(AlipayFundExpandindirectOrderQueryModel model) |
| | | { |
| | | AlipayFundExpandindirectOrderQueryRequest request = new AlipayFundExpandindirectOrderQueryRequest(); |
| | | request.SetBizModel(model); |
| | | AlipayFundExpandindirectOrderQueryResponse response = alipayClient.Execute(request); |
| | | if (response.IsError) throw Oops.Oh(EnumErrorCodeType.s510, response.Msg); |
| | | return response; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 资金二级商户KYB代进件单取消接口 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | public AlipayFundExpandindirectOrderCancelResponse FundExpandindirectOrderCancel(AlipayFundExpandindirectOrderCancelModel model) |
| | | { |
| | | AlipayFundExpandindirectOrderCancelRequest request = new AlipayFundExpandindirectOrderCancelRequest(); |
| | | request.SetBizModel(model); |
| | | AlipayFundExpandindirectOrderCancelResponse response = alipayClient.Execute(request); |
| | | if (response.IsError) throw Oops.Oh(EnumErrorCodeType.s510, response.Msg); |
| | | return response; |
| | | } |
| | | } |