Class DefaultCheckoutComPaymentGatewayPaymentValidator

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

public class DefaultCheckoutComPaymentGatewayPaymentValidator extends Object implements CheckoutComPaymentGatewayPaymentValidator
The default implementation of CheckoutComPaymentGatewayPaymentValidator.
  • Constructor Details

    • DefaultCheckoutComPaymentGatewayPaymentValidator

      public DefaultCheckoutComPaymentGatewayPaymentValidator()
  • Method Details

    • validatePayment

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

      protected void validateKNETCurrency(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest)
    • validateSuccessAndFailureUrls

      protected void validateSuccessAndFailureUrls(@NonNull @NonNull Map<String,String> paymentMethodProperties, @NonNull @NonNull String failureMessage)
    • validateSourceIdAndToken

      protected void validateSourceIdAndToken(@NonNull @NonNull Map<String,String> paymentMethodProperties, @NonNull @NonNull String paymentType)
    • is3DSEnabled

      protected boolean is3DSEnabled(@NonNull @NonNull Map<String,String> paymentMethodProperties)
    • getGatewayType

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