Class DefaultChaseOrbitalGatewayPaymentValidator
java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultChaseOrbitalGatewayPaymentValidator
- All Implemented Interfaces:
ChaseOrbitalGatewayPaymentValidator,com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
public class DefaultChaseOrbitalGatewayPaymentValidator
extends Object
implements ChaseOrbitalGatewayPaymentValidator
Default implementation of
ChaseOrbitalGatewayPaymentValidator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvalidateApplePayToken(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId) voidvalidatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, String applicationId, String tenantId) This method is called afterChaseOrbitalGatewayPaymentModificationService, and for payment instrument types requiring a lot of transformation such asDefaultPaymentInstrumentTypes.CREATED_HPS_PROFILE, the validation is already done by that component by the time this is called.protected voidvalidatePaymentInstrumentTypeForApplePay(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest)
-
Constructor Details
-
DefaultChaseOrbitalGatewayPaymentValidator
public DefaultChaseOrbitalGatewayPaymentValidator()
-
-
Method Details
-
validatePayment
public void validatePayment(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest, @Nullable String applicationId, @Nullable String tenantId) This method is called afterChaseOrbitalGatewayPaymentModificationService, and for payment instrument types requiring a lot of transformation such asDefaultPaymentInstrumentTypes.CREATED_HPS_PROFILE, the validation is already done by that component by the time this is called. Thus, by default, the only items validated in this component are those requiring no changes fromChaseOrbitalGatewayPaymentModificationService.- Specified by:
validatePaymentin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentValidator- Parameters:
paymentValidationRequest- The paymentValidationRequest to be validatedapplicationId- The application idtenantId- The tenant id
-
validatePaymentInstrumentTypeForApplePay
protected void validatePaymentInstrumentTypeForApplePay(com.broadleafcommerce.paymentgateway.domain.PaymentValidationRequest paymentValidationRequest) -
validateApplePayToken
-
getGatewayType
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-