Class DefaultASPPaymentGatewayPaymentValidator

java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultASPPaymentGatewayPaymentValidator
All Implemented Interfaces:
ASPPaymentGatewayPaymentValidator, com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultASPPaymentGatewayPaymentValidator extends Object implements ASPPaymentGatewayPaymentValidator
The default implementation of ASPPaymentGatewayPaymentValidator.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • DefaultASPPaymentGatewayPaymentValidator

      public DefaultASPPaymentGatewayPaymentValidator(APSConfigurationProperties configProperties)
  • Method Details

    • validatePayment

      public void validatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId)
      Specified by:
      validatePayment in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
    • validateGatewayProperties

      protected void validateGatewayProperties(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId)
    • getGatewayType

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
    • getConfigProperties

      protected APSConfigurationProperties getConfigProperties()