Class ThreeDSTransactionResultEndpoint
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.ThreeDSTransactionResultEndpoint
@FrameworkRestController
@FrameworkMapping
@DataRouteByKey("paymentTransaction")
public class ThreeDSTransactionResultEndpoint
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorDescriptionThreeDSTransactionResultEndpoint
(ThreeDSTransactionResultService threeDSTransactionResultService, PaymentService<Payment> paymentService, PaymentTransactionService<PaymentTransaction> paymentTransactionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected PaymentService<Payment>
protected PaymentTransactionService<PaymentTransaction>
protected ThreeDSTransactionResultService
handle3DSTransactionResult
(String gatewayType, Map<String, String> params, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) lookup3DSTransactionResult
(String paymentId, String requestId, PaymentLockInfo paymentLockInfo, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Constructor Details
-
ThreeDSTransactionResultEndpoint
public ThreeDSTransactionResultEndpoint(ThreeDSTransactionResultService threeDSTransactionResultService, PaymentService<Payment> paymentService, PaymentTransactionService<PaymentTransaction> paymentTransactionService)
-
-
Method Details
-
handle3DSTransactionResult
@FrameworkPostMapping(value="/handle-3ds-transaction-result/{gatewayType}", consumes="application/json") @Policy(permissionRoots="3DS_TRANSACTION_RESULT") public TransactionExecutionResponse handle3DSTransactionResult(@PathVariable("gatewayType") String gatewayType, @RequestBody Map<String, String> params, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
lookup3DSTransactionResult
@FrameworkGetMapping("/lookup-3ds-transaction-result/{id}") @Policy(permissionRoots="3DS_TRANSACTION_RESULT") public TransactionExecutionResponse lookup3DSTransactionResult(@PathVariable("id") String paymentId, @RequestParam("requestId") String requestId, PaymentLockInfo paymentLockInfo, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getThreeDSTransactionResultService
-
getPaymentService
-
getPaymentTransactionService
-