PaymentTransactionType type = PaymentTransactionType.AUTHORIZE_AND_CAPTURE;
if (!configuration.isPerformAuthorizeAndCapture()) {
type = PaymentTransactionType.AUTHORIZE;
}
responseDTO.successful(approved)
.amount(amount)
.paymentTransactionType(type)
.orderId(paramMap.get(NullPaymentGatewayConstants.ORDER_ID)[0])
.responseMap(NullPaymentGatewayConstants.GATEWAY_TRANSACTION_ID,
paramMap.get(NullPaymentGatewayConstants.GATEWAY_TRANSACTION_ID)[0])