Class DefaultPayPalPaymentGatewayPaymentValidator
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.service.DefaultPayPalPaymentGatewayPaymentValidator
- All Implemented Interfaces:
com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware,PayPalPaymentGatewayPaymentValidator
public class DefaultPayPalPaymentGatewayPaymentValidator
extends Object
implements PayPalPaymentGatewayPaymentValidator
The default implementation of
PayPalPaymentGatewayPaymentValidator.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPayPalPaymentGatewayPaymentValidator(PayPalGatewayConfiguration gatewayConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected PayPalGatewayConfigurationprotected booleanisAuthorizeOrAuthorizeAndCapture(String transactionType) protected booleanrequiresOrderId(Set<String> transactionTypes) voidvalidatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId)
-
Constructor Details
-
DefaultPayPalPaymentGatewayPaymentValidator
-
-
Method Details
-
validatePayment
public void validatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId) - Specified by:
validatePaymentin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
-
requiresOrderId
-
isAuthorizeOrAuthorizeAndCapture
-
getGatewayType
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getGatewayConfiguration
-