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 TypeMethodDescriptioncom.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 responsecom.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 responsetabbyPaymentRequest
- the tabby payment requestpaymentResponse
- 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 responsetabbyPaymentRequest
- the tabby payment requestpaymentResponse
- the payment response to populate- Returns:
- the populated payment response for the provided checkout session response
-