Class AbstractWeChatPayProcessor<T>
java.lang.Object
de.hybris.platform.chinesepspwechatpayservices.processors.AbstractWeChatPayProcessor<T>
- Direct Known Subclasses:
AbstractWeChatPayRequestProcessor,SignVerificationProcessor,StartPaymentRequestProcessor
Abstraction of interactions with WeChat Pay, e.g. calling WeChat API, handle response from WeChat Pay
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddParameter(String name, String value) Add a parameter, will be ignored if the name or value is emptyprotected voidAdd a parameter, will be ignored if the name or value is emptyabstract Tprocess()Process this operation
-
Field Details
-
logger
protected final org.apache.log4j.Logger logger
-
-
Constructor Details
-
AbstractWeChatPayProcessor
-
-
Method Details
-
debug
Add a parameter, will be ignored if the name or value is empty- Parameters:
msg- message to be logged
-
process
Process this operation -
addParameter
Add a parameter, will be ignored if the name or value is empty- Parameters:
name- Parameter namevalue- Parameter value
-
getParams
- Returns:
- the params
-
getConfig
- Returns:
- the config
-