@Component public class AccountGatewayComponent extends AbstractPaymentGateway
限定符和类型 | 字段和说明 |
---|---|
private TradeAccountService |
accountService |
private TradePaymentService |
service |
构造器和说明 |
---|
AccountGatewayComponent() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
enable(short siteId) |
java.lang.String |
getAccountType() |
boolean |
pay(SysSite site,
TradePayment payment,
java.lang.String paymentType,
java.lang.String callbackUrl,
javax.servlet.http.HttpServletResponse response) |
boolean |
refund(short siteId,
TradePayment payment,
TradeRefund refund) |
confirmPay, exportable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyFunction
private TradePaymentService service
private TradeAccountService accountService
public java.lang.String getAccountType()
public boolean pay(SysSite site, TradePayment payment, java.lang.String paymentType, java.lang.String callbackUrl, javax.servlet.http.HttpServletResponse response)
public boolean refund(short siteId, TradePayment payment, TradeRefund refund)
public boolean enable(short siteId)