Interface AlipayHandleResponseStrategy

All Known Implementing Classes:
DefaultAlipayHandleResponseStrategy

public interface AlipayHandleResponseStrategy
Deals with payment related responses after reception
  • Method Details

    • camelCaseFormatter

      Object camelCaseFormatter(Map<String,String> responseMap, Object responseRawData)
      Formats the response from alipay to camelCase
      Parameters:
      responseMap - original response map from http response
      responseRawData - target response POJO data whose properties are camel cased
      Returns:
      object response POJO in camel case
    • getAlipayRefundDataList

      List<AlipayRefundData> getAlipayRefundDataList(AlipayRefundNotification alipayRefundNotification)
      Gets refund data list from refund notification
      Parameters:
      alipayRefundNotification - alipay refund notification
      Returns:
      list of all refund data AlipayRefundData