public class DefaultPassthroughPaymentValidator extends Object implements PassthroughPaymentValidator
| Constructor and Description |
|---|
DefaultPassthroughPaymentValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGatewayType()
Each payment module should have a unique implementation of
PaymentGatewayType with
only a single type. |
void |
validatePayment(com.broadleafcommerce.order.common.domain.Payment payment)
Validates that the
Payment is sufficiently configured to execute transactions for the
gateway integration. |
public void validatePayment(com.broadleafcommerce.order.common.domain.Payment payment)
PaymentGatewayPaymentValidatorPayment is sufficiently configured to execute transactions for the
gateway integration.validatePayment in interface PaymentGatewayPaymentValidatorpayment - The payment to be validatedpublic String getGatewayType()
PaymentGatewayTypeAwarePaymentGatewayType with
only a single type. For instance, the Braintree module would have a
'BraintreePaymentGatewayType' implementation which defines its gateway type key.getGatewayType in interface PaymentGatewayTypeAwarePaymentGatewayType related to implementing resourceCopyright © 2021. All rights reserved.