Interface StoreCreditExternalCallService
- All Known Implementing Classes:
DefaultStoreCreditExternalCallService
public interface StoreCreditExternalCallService
The service is intended to execute the requests to the external gateway service.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.paymentgateway.domain.PaymentResponse
call
(StoreCreditPaymentRequest paymentRequest) Method to process and call the external gateway service.
-
Method Details
-
call
com.broadleafcommerce.paymentgateway.domain.PaymentResponse call(StoreCreditPaymentRequest paymentRequest) Method to process and call the external gateway service. It delegates the request to communicateWithVendor method through abstraction.- Parameters:
paymentRequest
- The request payload that should be used to form the transaction- Returns:
- PaymentResponse object that carries the response from the external gateway service
-