Interface AlipayHandleResponseStrategy
- All Known Implementing Classes:
DefaultAlipayHandleResponseStrategy
public interface AlipayHandleResponseStrategy
Deals with payment related responses after reception
-
Method Summary
Modifier and TypeMethodDescriptioncamelCaseFormatter(Map<String, String> responseMap, Object responseRawData) Formats the response from alipay to camelCasegetAlipayRefundDataList(AlipayRefundNotification alipayRefundNotification) Gets refund data list from refund notification
-
Method Details
-
camelCaseFormatter
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
Gets refund data list from refund notification- Parameters:
alipayRefundNotification- alipay refund notification- Returns:
- list of all refund data
AlipayRefundData
-