Class DefaultPassthroughPaymentValidator
java.lang.Object
com.broadleafcommerce.paymentgateway.service.passthrough.DefaultPassthroughPaymentValidator
- All Implemented Interfaces:
 PassthroughPaymentValidator,PaymentGatewayPaymentValidator,PaymentGatewayTypeAware
public class DefaultPassthroughPaymentValidator
extends Object
implements PassthroughPaymentValidator
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionEach payment module should have a unique implementation ofPaymentGatewayTypewith only a single type.voidvalidatePayment(PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId) Validates that thePaymentValidationRequestis sufficiently configured to execute transactions for the gateway integration. 
- 
Constructor Details
- 
DefaultPassthroughPaymentValidator
public DefaultPassthroughPaymentValidator() 
 - 
 - 
Method Details
- 
validatePayment
public void validatePayment(PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId) Description copied from interface:PaymentGatewayPaymentValidatorValidates that thePaymentValidationRequestis sufficiently configured to execute transactions for the gateway integration.- Specified by:
 validatePaymentin interfacePaymentGatewayPaymentValidator- Parameters:
 paymentValidationRequest- The paymentValidationRequest to be validatedapplicationId- The application idtenantId- The tenant id
 - 
getGatewayType
Description copied from interface:PaymentGatewayTypeAwareEach payment module should have a unique implementation ofPaymentGatewayTypewith only a single type. For instance, the Braintree module would have a 'BraintreePaymentGatewayType' implementation which defines its gateway type key.- Specified by:
 getGatewayTypein interfacePaymentGatewayTypeAware- Returns:
 - The 
PaymentGatewayTyperelated to implementing resource 
 
 -