Interface PaymentGatewayTransactionResponseValidator
-
- All Superinterfaces:
PaymentGatewayTypeAware
public interface PaymentGatewayTransactionResponseValidator extends PaymentGatewayTypeAware
This interface provides an extension point for payment gateway implementations to add validation to the transaction confirmation service. An example use case of this would be validating requests from the payment gateways to record transactions that were added outside the typical checkout workflow.- Author:
- mariestandeven
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateTransactionResponse(@NonNull GatewayTransactionResponse transactionResponse)
Validates that the transaction results are valid and were sent by the payment gateway.-
Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
getGatewayType
-
-
-
-
Method Detail
-
validateTransactionResponse
void validateTransactionResponse(@NonNull @NonNull GatewayTransactionResponse transactionResponse)
Validates that the transaction results are valid and were sent by the payment gateway.- Parameters:
transactionResponse
- The transaction response to be validated
-
-