Interface AlipayHandleResponseStrategy
-
- All Known Implementing Classes:
DefaultAlipayHandleResponseStrategy
public interface AlipayHandleResponseStrategy
Deals with payment related responses after reception
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
camelCaseFormatter(java.util.Map<java.lang.String,java.lang.String> responseMap, java.lang.Object responseRawData)
Formats the response from alipay to camelCasejava.util.List<AlipayRefundData>
getAlipayRefundDataList(AlipayRefundNotification alipayRefundNotification)
Gets refund data list from refund notification
-
-
-
Method Detail
-
camelCaseFormatter
java.lang.Object camelCaseFormatter(java.util.Map<java.lang.String,java.lang.String> responseMap, java.lang.Object responseRawData)
Formats the response from alipay to camelCase- Parameters:
responseMap
- original response map from http responseresponseRawData
- target response POJO data whose properties are camel cased- Returns:
- object response POJO in camel case
-
getAlipayRefundDataList
java.util.List<AlipayRefundData> getAlipayRefundDataList(AlipayRefundNotification alipayRefundNotification)
Gets refund data list from refund notification- Parameters:
alipayRefundNotification
- alipay refund notification- Returns:
- list of all refund data
AlipayRefundData
-
-