Class DefaultAdyenPaymentSummaryService
java.lang.Object
com.broadleafcommerce.adyen.service.DefaultAdyenPaymentSummaryService
- All Implemented Interfaces:
AdyenPaymentSummaryService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentSummaryService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAdyenPaymentSummaryService
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.paymentgateway.domain.NextAction
buildNextActionFromPayment
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, String applicationId, String tenantId) protected com.fasterxml.jackson.databind.ObjectMapper
protected com.broadleafcommerce.common.extension.TypeFactory
protected <T> T
-
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 interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentSummaryService
-
readValue
@Nullable protected <T> T readValue(@Nullable String fromValue, com.fasterxml.jackson.core.type.TypeReference<T> toValueTypeRef) -
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory() -
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-