Interface PaymentGatewayTransactionResponseService
-
- All Superinterfaces:
PaymentGatewayTypeAware
public interface PaymentGatewayTransactionResponseService extends PaymentGatewayTypeAware
This service is intended to record transactions from the payment gateway and build aPaymentResponse
from theGatewayTransactionResponse
.- Author:
- mariestandeven
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaymentResponse
buildPaymentResponse(GatewayTransactionResponse transactionResponse)
Builds aPaymentResponse
from theGatewayTransactionResponse
, to save transaction results from the gateway.-
Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
getGatewayType
-
-
-
-
Method Detail
-
buildPaymentResponse
PaymentResponse buildPaymentResponse(GatewayTransactionResponse transactionResponse)
Builds aPaymentResponse
from theGatewayTransactionResponse
, to save transaction results from the gateway.- Parameters:
transactionResponse
- the transaction response from the gateway- Returns:
- the results of the transaction to be recorded
-
-