public class AbstractPaymentGatewayTransactionService extends Object implements PaymentGatewayTransactionService
Constructor and Description |
---|
AbstractPaymentGatewayTransactionService() |
Modifier and Type | Method and Description |
---|---|
PaymentResponseDTO |
authorize(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
authorizeAndCapture(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
capture(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
refund(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
reverseAuthorize(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
voidPayment(PaymentRequestDTO paymentRequestDTO) |
public AbstractPaymentGatewayTransactionService()
public PaymentResponseDTO authorize(PaymentRequestDTO paymentRequestDTO) throws PaymentException
authorize
in interface PaymentGatewayTransactionService
PaymentException
public PaymentResponseDTO capture(PaymentRequestDTO paymentRequestDTO) throws PaymentException
capture
in interface PaymentGatewayTransactionService
PaymentException
public PaymentResponseDTO authorizeAndCapture(PaymentRequestDTO paymentRequestDTO) throws PaymentException
authorizeAndCapture
in interface PaymentGatewayTransactionService
PaymentException
public PaymentResponseDTO reverseAuthorize(PaymentRequestDTO paymentRequestDTO) throws PaymentException
reverseAuthorize
in interface PaymentGatewayTransactionService
PaymentException
public PaymentResponseDTO refund(PaymentRequestDTO paymentRequestDTO) throws PaymentException
refund
in interface PaymentGatewayTransactionService
PaymentException
public PaymentResponseDTO voidPayment(PaymentRequestDTO paymentRequestDTO) throws PaymentException
voidPayment
in interface PaymentGatewayTransactionService
PaymentException
Copyright © 2022. All rights reserved.