public interface PaymentGatewayPaymentValidator extends PaymentGatewayTypeAware
Payment
objects are sufficiently configured, allowing
transactions to be executed via the related PaymentGatewayTransactionService
implementation.Modifier and Type | Method and Description |
---|---|
void |
validatePayment(com.broadleafcommerce.order.common.domain.Payment payment)
Validates that the
Payment is sufficiently configured to execute transactions for the
gateway integration. |
getGatewayType
void validatePayment(com.broadleafcommerce.order.common.domain.Payment payment)
Payment
is sufficiently configured to execute transactions for the
gateway integration.payment
- The payment to be validatedInvalidPaymentConfigurationException
- if the payment configuration is not sufficient
for the related gateway integration.Copyright © 2021. All rights reserved.