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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
is3DSEnabled
(@NonNull Map<String, String> paymentMethodProperties) protected void
validateKNETCurrency
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest) void
validatePayment
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId) protected void
validateSourceIdAndToken
(@NonNull Map<String, String> paymentMethodProperties, @NonNull String paymentType) protected void
validateSuccessAndFailureUrls
(@NonNull Map<String, String> paymentMethodProperties, @NonNull String failureMessage)
-
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 interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
-
validateKNETCurrency
protected void validateKNETCurrency(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest) -
validateSuccessAndFailureUrls
-
validateSourceIdAndToken
-
is3DSEnabled
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-