Class DefaultVerifoneExternalCallService

    • Constructor Detail

      • DefaultVerifoneExternalCallService

        public DefaultVerifoneExternalCallService​(com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil,
                                                  VerifoneProvider verifoneProvider,
                                                  List<VerifoneRequestResponseTransformer> requestResponseTransformers,
                                                  com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • getServiceName

        public String getServiceName()
        Specified by:
        getServiceName in interface com.broadleafcommerce.paymentgateway.vendor.service.monitor.ServiceStatusDetectable<VerifonePaymentRequest>
      • communicateWithVendor

        public com.broadleafcommerce.paymentgateway.domain.PaymentResponse communicateWithVendor​(@NonNull
                                                                                                 @NonNull VerifonePaymentRequest verifonePaymentRequest)
        Specified by:
        communicateWithVendor in class com.broadleafcommerce.paymentgateway.service.AbstractExternalPaymentGatewayCall<VerifonePaymentRequest,​com.broadleafcommerce.paymentgateway.domain.PaymentResponse>
      • getFailureReportingThreshold

        public Integer getFailureReportingThreshold()
        Specified by:
        getFailureReportingThreshold in interface com.broadleafcommerce.paymentgateway.service.FailureCountExposable
        Specified by:
        getFailureReportingThreshold in class com.broadleafcommerce.paymentgateway.service.AbstractExternalPaymentGatewayCall<VerifonePaymentRequest,​com.broadleafcommerce.paymentgateway.domain.PaymentResponse>
      • buildPaymentResponse

        protected com.broadleafcommerce.paymentgateway.domain.PaymentResponse buildPaymentResponse​(@NonNull
                                                                                                   @NonNull VerifonePaymentRequest verifonePaymentRequest)
      • getGatewayTransactionType

        protected String getGatewayTransactionType​(@NonNull
                                                   @NonNull VerifonePaymentRequest verifonePaymentRequest)
      • processProviderApiException

        protected com.broadleafcommerce.paymentgateway.domain.PaymentResponse processProviderApiException​(@NonNull
                                                                                                          @NonNull ProviderApiException apiException,
                                                                                                          @NonNull
                                                                                                          @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse,
                                                                                                          @NonNull
                                                                                                          @NonNull VerifonePaymentRequest verifonePaymentRequest)
      • convertFromErrorJson

        protected VerifoneErrorResponse convertFromErrorJson​(@NonNull
                                                             @NonNull org.springframework.web.reactive.function.client.WebClientResponseException receivedException,
                                                             @NonNull
                                                             @NonNull String transactionReferenceId)
      • getPaymentResponseUtil

        protected com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil getPaymentResponseUtil()
      • getMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getMapper()