类 WechatV2PayEngineProvider
java.lang.Object
com.walker.pay.AbstractPayEngineProvider
com.walker.pay.support.SimplePayEngineProvider
com.walker.pay.wechat.WechatV2PayEngineProvider
- 所有已实现的接口:
PayEngineProvider
微信V2版本支付对接引擎实现。
- 作者:
- 时克英
-
字段概要
从类继承的字段 com.walker.pay.AbstractPayEngineProvider
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected OrderGeneratoracquireOrderGenerator(String providerPayType, Order platformOrder, Map<String, com.walker.infrastructure.arguments.Variable> configuration) protected OrderStatusQueryacquireOrderStatusQuery(Order order) protected PayContextacquirePayContext(String providerPayType, Order platformOrder, Map<String, com.walker.infrastructure.arguments.Variable> configuration) protected StringacquireProviderPayType(ServiceProvider serviceProvider, PayType payType, PayChannel payChannel) generateNotifyResponse(boolean success) protected OrderStatusResponsePayinvokeOrderStatus(OrderStatusQuery orderStatusQuery) voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate) protected booleanverifySign(Object notifyData) 从类继承的方法 com.walker.pay.support.SimplePayEngineProvider
onNotifyOrder, savePrepareOrder从类继承的方法 com.walker.pay.AbstractPayEngineProvider
generatePrepareOrder, getConfiguration, getOrderCallback, getPayChannel, getPayDefinition, getPayDefinitionId, getProviderPayType, getServiceProvider, getVersion, notifyOrder, searchOrderStatus, setConfiguration, setOrderCallback, setOrderNotifyConvertor, setPayChannel, setPayDefinition, setServiceProvider, setVersion
-
构造器详细资料
-
WechatV2PayEngineProvider
public WechatV2PayEngineProvider(org.springframework.web.client.RestTemplate restTemplate)
-
-
方法详细资料
-
acquireProviderPayType
protected String acquireProviderPayType(ServiceProvider serviceProvider, PayType payType, PayChannel payChannel) -
acquireOrderGenerator
protected OrderGenerator acquireOrderGenerator(String providerPayType, Order platformOrder, Map<String, com.walker.infrastructure.arguments.Variable> configuration) -
verifySign
- 指定者:
verifySign在类中AbstractPayEngineProvider- 抛出:
Exception
-
acquirePayContext
protected PayContext acquirePayContext(String providerPayType, Order platformOrder, Map<String, com.walker.infrastructure.arguments.Variable> configuration) -
acquireOrderStatusQuery
-
invokeOrderStatus
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) -
generateNotifyResponse
-