Class DefaultStripePaymentGatewayPaymentValidator
java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultStripePaymentGatewayPaymentValidator
- All Implemented Interfaces:
StripePaymentGatewayPaymentValidator
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
public class DefaultStripePaymentGatewayPaymentValidator
extends Object
implements StripePaymentGatewayPaymentValidator
The default implementation of
StripePaymentGatewayPaymentValidator
.- Author:
- Dima Myroniuk (dmyroniuk)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultStripePaymentGatewayPaymentValidator
(StripeConfiguration gatewayConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected StripeConfiguration
protected boolean
hasAuthorizedTransaction
(Set<String> transactionTypes) protected boolean
isAuthorizeOrAuthorizeAndCapture
(String transactionType) protected boolean
isPaymentIntentRequest
(Map<String, List<String>> authorizeTransactionProperties) void
validatePayment
(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId)
-
Field Details
-
REQUIRED_PROPERTY_ERROR
- See Also:
-
-
Constructor Details
-
DefaultStripePaymentGatewayPaymentValidator
-
-
Method Details
-
validatePayment
public void validatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId) - Specified by:
validatePayment
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
-
hasAuthorizedTransaction
-
isAuthorizeOrAuthorizeAndCapture
-
isPaymentIntentRequest
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getGatewayConfiguration
-