public interface ChinesePaymentService extends PaymentService
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelPayment(java.lang.String orderCode)
Canceling the payment with the 3rd part payment service provider server
|
java.lang.String |
getPaymentRequestUrl(java.lang.String orderCode)
Getting the PaymentRequestUrl to be send to the 3rd part payment service provider server
|
java.lang.String |
getPspLogoUrl()
Getting the Logo of the 3rd part payment service providers
|
java.util.Optional<java.lang.String> |
getRefundRequestUrl(java.lang.String orderCode)
Getting the RefundRequestUrl to be send to the 3rd part payment service provider server
|
java.lang.String |
handleAsyncResponse(HttpServletRequest request,
HttpServletResponse response)
Handling the Asyn-response of the 3rd part payment service provider server
|
java.lang.String |
handleSyncResponse(HttpServletRequest request,
HttpServletResponse response)
Handling the Sync-response of the 3rd part payment service provider server
|
boolean |
setPaymentInfo(CartModel cartModel,
ChinesePaymentInfoModel chinesePaymentInfoModel)
Saving the PaymentInfo
|
void |
syncPaymentStatus(java.lang.String orderCode)
Synchronizing the PaymentStatus with the 3rd part payment service provider server
|
default void |
updatePaymentInfoForPlaceOrder(java.lang.String orderCode)
Update payment info after place order
|
attachPaymentInfo, authorize, authorize, authorize, authorize, authorize, authorize, authorize, cancel, capture, createSubscription, createSubscription, deleteSubscription, getNewPaymentTransactionEntryCode, getPaymentTransaction, getPaymentTransactionEntry, getSubscriptionData, partialCapture, refundFollowOn, refundStandalone, refundStandalone, refundStandalone, updateSubscriptionjava.lang.String handleAsyncResponse(HttpServletRequest request,
HttpServletResponse response)
request - The HttpServletRequestresponse - The HttpServletResponsejava.lang.String handleSyncResponse(HttpServletRequest request,
HttpServletResponse response)
request - The HttpServletRequestresponse - The HttpServletResponseboolean cancelPayment(java.lang.String orderCode)
orderCode - The code of the orderjava.lang.String getPaymentRequestUrl(java.lang.String orderCode)
orderCode - The code of the ordervoid syncPaymentStatus(java.lang.String orderCode)
orderCode - The code of the orderboolean setPaymentInfo(CartModel cartModel, ChinesePaymentInfoModel chinesePaymentInfoModel)
cartModel - The current cartchinesePaymentInfoModel - The ChinesePaymentInfo of the cartjava.lang.String getPspLogoUrl()
java.util.Optional<java.lang.String> getRefundRequestUrl(java.lang.String orderCode)
orderCode - The code of the orderdefault void updatePaymentInfoForPlaceOrder(java.lang.String orderCode)
orderCode - The code of the orderCopyright © 2018 SAP SE. All Rights Reserved.