Class DefaultAPSTransactionResponseService

java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultAPSTransactionResponseService
All Implemented Interfaces:
APSTransactionResponseService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionResponseService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultAPSTransactionResponseService extends Object implements APSTransactionResponseService
  • Constructor Details

    • DefaultAPSTransactionResponseService

      public DefaultAPSTransactionResponseService(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, List<APSRequestResponseTransformer> requestResponseTransformers)
  • Method Details

    • buildPaymentResponse

      public com.broadleafcommerce.paymentgateway.domain.PaymentResponse buildPaymentResponse(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.GatewayTransactionResponse transactionResponse)
      Specified by:
      buildPaymentResponse in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionResponseService
    • identifyAPSRequestResponseTransformer

      protected APSRequestResponseTransformer identifyAPSRequestResponseTransformer(APSTransactionType transactionType)
    • getTransactionTypeFromPaymentResponse

      protected APSTransactionType getTransactionTypeFromPaymentResponse(com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse)
    • getGatewayType

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

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

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

      protected List<APSRequestResponseTransformer> getRequestResponseTransformers()