Interface BraintreeExternalCallService
- All Known Implementing Classes:
DefaultBraintreeExternalCallService
public interface BraintreeExternalCallService
The service to execute the external calls to the Braintree API.
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.paymentgateway.domain.PaymentResponse
call
(BraintreePaymentRequest braintreePaymentRequest) Executes the payment request to the Braintree API.
-
Method Details
-
call
com.broadleafcommerce.paymentgateway.domain.PaymentResponse call(BraintreePaymentRequest braintreePaymentRequest) Executes the payment request to the Braintree API.- Parameters:
braintreePaymentRequest
- the payment request that should be executed for the specifiedtransaction type
.- Returns:
- the payment response
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
- if an unexpected error occurred
-