Interface MyFatoorahExternalCallService

All Known Implementing Classes:
DefaultMyFatoorahExternalCallService

public interface MyFatoorahExternalCallService
The service to execute the external calls to the MyFatoorah API.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.paymentgateway.domain.PaymentResponse
    call(MyFatoorahPaymentRequest myFatoorahPaymentRequest)
    Executes the payment request to the MyFatoorah API.
  • Method Details

    • call

      com.broadleafcommerce.paymentgateway.domain.PaymentResponse call(MyFatoorahPaymentRequest myFatoorahPaymentRequest)
      Executes the payment request to the MyFatoorah API.
      Parameters:
      myFatoorahPaymentRequest - the payment request that should be executed for the specified transaction type.
      Returns:
      the payment response
      Throws:
      com.broadleafcommerce.paymentgateway.service.exception.PaymentException - if an unexpected error occurred