Метод | Описание | |
---|---|---|
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 |
通过参数直接提交 会产生跳转
|
Метод | Описание | |
---|---|---|
GetCompany ( CompanyType companyType ) : Company.CompanyBase |
public static BatchTransfers ( List |
||
payDetail | List |
|
batch_no | string | |
Результат | void |
public static CheckOrder ( IPayHistory order, string &message ) : bool | ||
order | IPayHistory | |
message | string | |
Результат | bool |
public static CreateOrder ( decimal amount, string user, CompanyType companyType ) : IPayHistory | ||
amount | decimal | |
user | string | |
companyType | CompanyType | |
Результат | IPayHistory |
public static GetNotify ( CompanyType companyType, |
||
companyType | CompanyType | |
context | ||
Результат | string |
public static Redirect ( IPayHistory order ) : void | ||
order | IPayHistory | |
Результат | void |
public static RefundOrder ( IPayHistory order, string &message ) : bool | ||
order | IPayHistory | |
message | string | |
Результат | bool |
public static Submit ( IPayHistory order ) : void | ||
order | IPayHistory | |
Результат | 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 | |
Результат | void |