Method | Description | |
---|---|---|
BatchTransfers ( List |
提交支付转帐
|
|
CheckOrder ( IPayHistory order, string &message ) : bool |
查询订单 如果订单未确认,会自动确认
|
|
CreateOrder ( decimal amount, string user, CompanyType companyType ) : IPayHistory |
生成订单
|
|
GetNotify ( CompanyType companyType, |
接口回调
|
|
Redirect ( IPayHistory order ) : void |
接口转向页执行此方法
|
|
RefundOrder ( IPayHistory order, string &message ) : bool |
订单取消,退款 只要提交成功就一定能成功,特殊情况除外
|
|
Submit ( IPayHistory order ) : void |
提交支付
|
|
Submit ( string user, decimal amount, string bankType, OrderType orderType, CompanyType companyType, string byProductOrder, string redirectUrl ) : void |
通过参数直接提交 会产生跳转
|
Method | Description | |
---|---|---|
GetCompany ( CompanyType companyType ) : Company.CompanyBase |
public static BatchTransfers ( List |
||
payDetail | List |
|
batch_no | string | |
return | void |
public static CheckOrder ( IPayHistory order, string &message ) : bool | ||
order | IPayHistory | |
message | string | |
return | bool |
public static CreateOrder ( decimal amount, string user, CompanyType companyType ) : IPayHistory | ||
amount | decimal | |
user | string | |
companyType | CompanyType | |
return | IPayHistory |
public static GetNotify ( CompanyType companyType, |
||
companyType | CompanyType | |
context | ||
return | string |
public static Redirect ( IPayHistory order ) : void | ||
order | IPayHistory | |
return | void |
public static RefundOrder ( IPayHistory order, string &message ) : bool | ||
order | IPayHistory | |
message | string | |
return | bool |
public static Submit ( IPayHistory order ) : void | ||
order | IPayHistory | |
return | void |
public static Submit ( string user, decimal amount, string bankType, OrderType orderType, CompanyType companyType, string byProductOrder, string redirectUrl ) : void | ||
user | string | |
amount | decimal | |
bankType | string | |
orderType | OrderType | |
companyType | CompanyType | |
byProductOrder | string | |
redirectUrl | string | |
return | void |