@Component public class RechargeProcessorComponent extends java.lang.Object implements TradePaymentProcessor
限定符和类型 | 字段和说明 |
---|---|
private TradeAccountService |
accountService |
static java.lang.String |
GRADE_TYPE |
构造器和说明 |
---|
RechargeProcessorComponent() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
cancel(short siteId,
TradePayment payment) |
java.lang.String |
getTradeType() |
boolean |
paid(short siteId,
TradePayment payment) |
boolean |
refunded(short siteId,
TradePayment payment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyFunction
public static final java.lang.String GRADE_TYPE
private TradeAccountService accountService
public java.lang.String getTradeType()
getTradeType
在接口中 TradePaymentProcessor
public boolean paid(short siteId, TradePayment payment)
paid
在接口中 TradePaymentProcessor
public boolean refunded(short siteId, TradePayment payment)
refunded
在接口中 TradePaymentProcessor
public boolean cancel(short siteId, TradePayment payment)
cancel
在接口中 TradePaymentProcessor