Interface TabbyResponseService

All Known Implementing Classes:
DefaultTabbyResponseService

public interface TabbyResponseService
This service is responsible for converting the Tabby API response to the PaymentResponse.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.paymentgateway.domain.PaymentResponse
    populatePaymentResponse(TabbyCheckoutSession checkoutSessionResponse, TabbyPaymentRequest tabbyPaymentRequest, com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse)
    Populates the payment response based on the provided checkout session response
    com.broadleafcommerce.paymentgateway.domain.PaymentResponse
    populatePaymentResponse(TabbyPayment tabbyPayment, TabbyPaymentRequest tabbyPaymentRequest, com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse)
    Populates the payment response based on the provided Tabby payment response
  • Method Details

    • populatePaymentResponse

      com.broadleafcommerce.paymentgateway.domain.PaymentResponse populatePaymentResponse(TabbyCheckoutSession checkoutSessionResponse, TabbyPaymentRequest tabbyPaymentRequest, com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse)
      Populates the payment response based on the provided checkout session response
      Parameters:
      checkoutSessionResponse - the checkout session response
      tabbyPaymentRequest - the tabby payment request
      paymentResponse - the payment response to populate
      Returns:
      the populated payment response for the provided checkout session response
    • populatePaymentResponse

      com.broadleafcommerce.paymentgateway.domain.PaymentResponse populatePaymentResponse(TabbyPayment tabbyPayment, TabbyPaymentRequest tabbyPaymentRequest, com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse)
      Populates the payment response based on the provided Tabby payment response
      Parameters:
      tabbyPayment - the Tabby payment response
      tabbyPaymentRequest - the tabby payment request
      paymentResponse - the payment response to populate
      Returns:
      the populated payment response for the provided checkout session response