C# Class CRL.Business.OnlinePay.Company.Alipay.AlipayCompany

Inheritance: CompanyBase
Show file Open project: hubro-xx/CRL2 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AlipayCompany ( ) : System
BatchTransfers ( List payDetail, string batch_no ) : void

构造支付宝批量付款到支付宝账户有密接口

CheckOrder ( IPayHistory order, string &message ) : bool

查询订单状态,返回是否成功

RefundOrder ( IPayHistory order, string &message ) : bool
Submit ( IPayHistory order ) : void

提交支付,转向需要按具体需求重写

Protected Methods

Method Description
OnNotify ( HttpContext context ) : string

获取通知,按具体需求重写

Method Details

AlipayCompany() public method

public AlipayCompany ( ) : System
return System

BatchTransfers() public method

构造支付宝批量付款到支付宝账户有密接口
public BatchTransfers ( List payDetail, string batch_no ) : void
payDetail List
batch_no string 保证其唯一性,格式:当天日期[8位]+序列号[3至16位],如:201101010000001
return void

CheckOrder() public method

查询订单状态,返回是否成功
public CheckOrder ( IPayHistory order, string &message ) : bool
order IPayHistory
message string
return bool

OnNotify() protected method

获取通知,按具体需求重写
protected OnNotify ( HttpContext context ) : string
context System.Web.HttpContext
return string

RefundOrder() public method

public RefundOrder ( IPayHistory order, string &message ) : bool
order IPayHistory
message string
return bool

Submit() public method

提交支付,转向需要按具体需求重写
public Submit ( IPayHistory order ) : void
order IPayHistory
return void