@UnitTest public class DefaultAlipayPaymentServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultAlipayPaymentServiceTest() |
public void prepare()
public void testCreateAlipayRefundRequestDataByOrderSuccessfully()
public void testCreateAlipayRefundRequestDataByOrderWithUnpaidOrder()
public void testHandleNotificationwithinValidResponse()
public void testGetUrlEncodePattern()
public void testGetPspLogoUrl()
public void testUnifyRequestParameterValue()
public void testConvertKey2CamelCase()
public void testGetOrderModelByCode()
public void testSetPaymentInfo()
public void testHandleReturnInfo()
throws java.io.IOException
java.io.IOExceptionpublic void testCreateAlipayCancelPaymentRequestDataByOrder()
public void testCreateAlipayPaymentStatusRequestDataByOrder()
public void testCancelPaymentOnPaidStatus()
public void testCancelPaymentOnNotPaidStatus()
throws java.lang.Exception
java.lang.Exceptionpublic void testSyncPaymentStatus()
throws java.lang.Exception
java.lang.Exceptionpublic void testHandleSyncResponse()
throws java.io.IOException
java.io.IOExceptionpublic void testHandleErrorResponse()
public void testHandleAsyncResponseDirectNotify()
throws java.io.IOException
java.io.IOExceptionpublic void testHandleAsyncResponseErrorNotify()
throws java.io.IOException
java.io.IOExceptionpublic void testHandleAsyncResponseRefundNotify()
throws java.io.IOException
java.io.IOExceptionpublic void testGetPaymentRequestUrl()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetRefundRequestUrl()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateAlipayDirectPayRequestDataByOrderDirectpay()
public void testCreateAlipayDirectPayRequestDataByOrderNonDirectpay()
Copyright © 2018 SAP SE. All Rights Reserved.