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 StripeConfigurationprotected booleanhasAuthorizedTransaction(Set<String> transactionTypes) protected booleanisAuthorizeOrAuthorizeAndCapture(String transactionType) protected booleanisPaymentIntentRequest(Map<String, List<String>> authorizeTransactionProperties) voidvalidatePayment(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:
validatePaymentin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator
-
hasAuthorizedTransaction
-
isAuthorizeOrAuthorizeAndCapture
-
isPaymentIntentRequest
-
getGatewayType
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getGatewayConfiguration
-