Class DefaultAdyenPaymentSummaryService

java.lang.Object
com.broadleafcommerce.adyen.service.DefaultAdyenPaymentSummaryService
All Implemented Interfaces:
AdyenPaymentSummaryService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentSummaryService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultAdyenPaymentSummaryService extends Object implements AdyenPaymentSummaryService
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • DefaultAdyenPaymentSummaryService

      public DefaultAdyenPaymentSummaryService(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • buildNextActionFromPayment

      public com.broadleafcommerce.paymentgateway.domain.NextAction buildNextActionFromPayment(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, @Nullable String applicationId, @Nullable String tenantId)
      Specified by:
      buildNextActionFromPayment in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentSummaryService
    • readValue

      @Nullable protected <T> T readValue(@Nullable String fromValue, com.fasterxml.jackson.core.type.TypeReference<T> toValueTypeRef)
    • getGatewayType

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
    • getObjectMapper

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