using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LifePayment.Domain { public interface IAlipayInterfaceManager { /// /// 支付宝用户协议签约接口 /// 支持用户在支付宝页面完成支付宝协议的签约,目前支持支付宝钱包H5页面签约、扫码签约等方式。 /// 此接口并非直接调用的接口,需拼接跳转链接唤起,具体方式见下文“无线端唤起签约说明” /// /// /// Task UserAgreementPageSign(UserAgreementPageSignInput input); /// /// 支付宝用户协议查询接口 /// 人资协议授权签约查询 /// /// /// Task UserAgreementQuery(UserAgreementQueryInput input); /// /// 支付宝用户协议解约接口 /// 人资协议解约 /// /// /// Task UserAgreementUnsign(UserAgreementUnsignInput input); /// /// 资金记账本开通 /// /// /// Task FundAccountbookCreate(FundAccountbookCreateInput input); /// /// 查询资金记账本的可用金额等信息 /// 基于用户授权协议,平台可通过后台服务接口,为平台上的用户提供资金记账本相关信息查询服务 /// /// /// Task FundAccountBookQuery(FundAccountBookQueryInput input); /// /// 单笔转账接口是基于支付宝的资金处理能力,为了满足支付宝商家的转账需求,针对有部分开发能力的商家,提供通过API接口完成企业自身支付宝账户到支付宝账户、企业自身支付宝账户到银行卡的转账功能。 /// 适用于:C2C现金红包的红包领取、B2C现金红包的红包发放、B2C单笔转账到支付宝账户、B2C单笔转账到银行卡等。 /// /// /// Task FundTransUniTransfer(FundTransUniTransferInput input); /// /// 转账业务单据查询接口 /// 商户可通过该接口查询转账业务单据的状态,主要应用于统一转账接口(alipay.fund.trans.uni.transfer)、无线转账接口(alipay.fund.trans.app.pay)、单笔转账到支付宝账户接口(alipay.fund.trans.toaccount.transfer) /// /// /// Task FundTransCommonoQuery(FundTransCommonQueryInput input); /// /// 资金调拨到用户名下的发薪专项的页面付款接口 /// 基于用户授权协议,平台通过页面接口形式唤起支付宝外部收银台。待用户核身确认后,支付宝服务端依据平台指令,将用户支付宝的可用资金划拨到用户名下的发薪专项不可用资金中,并将处理结果以异步消息方式通知到平台 /// /// /// Task FundTransPagePay(FundTransPagePayInput input); /// /// 申请电子回单 /// /// /// Task DataBillErceiptApply(DataBillErceiptApplyInput input); /// /// 查询电子回单状态 /// /// /// Task DataBillEreceiptQuery(DataBillEreceiptQueryInput input); /// /// 账单下载 /// /// /// Task DataDataserviceBillDownloadUrlQuery(DataDataserviceBillDownloadUrlQueryInput input); } }