Interface PaymentRequestService
- All Known Implementing Classes:
DefaultPaymentRequestService
public interface PaymentRequestService
This service is responsible for building
PaymentRequests to be passed to
PaymentGatewayTransactionService methods to execute work against a payment gateway- Author:
- Chris Kittrell (ckittrell)
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.broadleafcommerce.paymentgateway.domain.PaymentRequestcreatePaymentRequest(Payment payment, PaymentTransaction paymentTransaction) Deprecated.com.broadleafcommerce.paymentgateway.domain.PaymentRequestcreatePaymentRequest(Payment payment, PaymentTransaction paymentTransaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Method Details
-
createPaymentRequest
@Deprecated(since="1.7.2") default com.broadleafcommerce.paymentgateway.domain.PaymentRequest createPaymentRequest(Payment payment, PaymentTransaction paymentTransaction) Deprecated.- Parameters:
payment- the cart's payment that is to be authorizedpaymentTransaction- the cart payment's pending representation of the transaction that is to be executed- Returns:
- the created PaymentRequest
-
createPaymentRequest
com.broadleafcommerce.paymentgateway.domain.PaymentRequest createPaymentRequest(Payment payment, PaymentTransaction paymentTransaction, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) - Parameters:
payment- the cart's payment that is to be authorizedpaymentTransaction- the cart payment's pending representation of the transaction that is to be executedcontextInfo- context information around sandboxing and multitenant state- Returns:
- the created PaymentRequest
-
createPaymentRequest(Payment, PaymentTransaction, ContextInfo)