Uses of Class
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.TransactionExecutionRequest
Packages that use TransactionExecutionRequest
Package
Description
-
Uses of TransactionExecutionRequest in com.broadleafcommerce.paymenttransaction.service
Methods in com.broadleafcommerce.paymenttransaction.service that return TransactionExecutionRequestModifier and TypeMethodDescriptionDefaultTransactionExecutionService.ParentTransactionExecutionPackage.getRequest()
Methods in com.broadleafcommerce.paymenttransaction.service with parameters of type TransactionExecutionRequestModifier and TypeMethodDescriptionDefaultTransactionExecutionService.authorize
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.authorize
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute anDefaultTransactionTypes.AUTHORIZE
transaction.DefaultTransactionExecutionService.authorizeAndCapture
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.authorizeAndCapture
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute anDefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
transaction.protected boolean
DefaultTransactionExecutionRequestValidator.canTransactionAmountBeLessThanAvailableAmount
(TransactionExecutionRequest request, Payment payment) Determines if the transaction amount can be less than the available amount.DefaultTransactionExecutionService.capture
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.capture
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute aDefaultTransactionTypes.CAPTURE
transaction.protected PaymentTransaction
DefaultTransactionExecutionService.createPaymentTransaction
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected PaymentTransaction
DefaultTransactionExecutionService.createPaymentTransaction
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, PaymentTransaction parentTransaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected PaymentTransaction
DefaultTransactionExecutionService.createPaymentTransaction
(@NonNull javax.money.MonetaryAmount transactionAmount, @NonNull TransactionExecutionRequest request, @NonNull Payment payment, PaymentTransaction parentTransaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultTransactionExecutionService.detachedCredit
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.detachedCredit
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute aDefaultTransactionTypes.DETACHED_CREDIT
transaction.protected TransactionExecutionResponse
DefaultTransactionExecutionService.executeAgainstParentTransactions
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds and executes the givenTransactionExecutionRequest
against parent transactions.protected com.broadleafcommerce.paymentgateway.domain.PaymentResponse
DefaultTransactionExecutionService.executePaymentRequest
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest, @NonNull com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService, @NonNull TransactionExecutionRequest executionRequest) Executes the givenPaymentRequest
based on the givenTransactionExecutionRequest
against the givenPaymentGatewayTransactionService
.DefaultTransactionExecutionService.getParentTransactionExecutionPackages
(TransactionExecutionRequest request, List<TransactionWithExecutableAmount> parentTransactions, javax.money.MonetaryAmount totalToExecute, Payment payment, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets a list ofParentTransactionExecutionPackages
based on the given parameters.protected Function<com.broadleafcommerce.paymentgateway.domain.PaymentRequest,
com.broadleafcommerce.paymentgateway.domain.PaymentResponse> DefaultTransactionExecutionService.getTransactionExecutionFunction
(@NonNull TransactionExecutionRequest request, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService) Gets a transaction executionFunction
based on the givengetTransactionType()
and the givenPaymentGatewayTransactionService
.DefaultTransactionExecutionService.refund
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.refund
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute aDefaultTransactionTypes.REFUND
transaction.DefaultTransactionExecutionService.reverseAuthorize
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TransactionExecutionService.reverseAuthorize
(@NonNull TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Communicates with the relevant payment gateway to execute aDefaultTransactionTypes.REVERSE_AUTH
transaction.void
DefaultTransactionExecutionService.ParentTransactionExecutionPackage.setRequest
(TransactionExecutionRequest request) void
DefaultTransactionExecutionRequestValidator.validate
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
TransactionExecutionRequestValidator.validate
(TransactionExecutionRequest request, Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks whether or not theTransactionExecutionRequest
is valid.protected void
DefaultTransactionExecutionRequestValidator.validateParentTransaction
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment) protected void
DefaultTransactionExecutionRequestValidator.validateSource
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultTransactionExecutionRequestValidator.validateTransactionAmount
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment) protected void
DefaultTransactionExecutionRequestValidator.validateTransactionType
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of TransactionExecutionRequest in com.broadleafcommerce.paymenttransaction.service.utils
Methods in com.broadleafcommerce.paymenttransaction.service.utils with parameters of type TransactionExecutionRequestModifier and TypeMethodDescriptionDefaultTransactionExecutionUtil.buildTransactionExecutionResponse
(@NonNull TransactionExecutionRequest request, @NonNull List<TransactionExecutionDetail> transactionExecutionDetails, Payment payment) default TransactionExecutionResponse
TransactionExecutionUtil.buildTransactionExecutionResponse
(TransactionExecutionRequest request, TransactionExecutionDetail transactionExecutionDetail, Payment payment) TransactionExecutionUtil.buildTransactionExecutionResponse
(TransactionExecutionRequest request, List<TransactionExecutionDetail> transactionExecutionDetails, Payment payment) DefaultTransactionExecutionUtil.getParentTransactionWithExecutableAmounts
(@NonNull Payment payment, @NonNull TransactionExecutionRequest request) TransactionExecutionUtil.getParentTransactionWithExecutableAmounts
(Payment payment, TransactionExecutionRequest request) Gets a list ofTransactionWithExecutableAmounts
representing the parent transactions of the givenTransactionExecutionRequest
.protected List<TransactionWithExecutableAmount>
DefaultTransactionExecutionUtil.getTransactionWithExecutableAmounts
(@NonNull Payment payment, @NonNull TransactionExecutionRequest request) Gathers a list ofTransactionWithExecutableAmount
objects based on the providedTransactionExecutionRequest
.protected List<TransactionWithExecutableAmount>
DefaultTransactionExecutionUtil.getTransactionWithExecutableAmountsByParentTransactionId
(@NonNull Payment payment, @NonNull TransactionExecutionRequest request) Gathers a single-item list ofTransactionWithExecutableAmount
objects based on the providedgetParentTransactionId()
.protected boolean
DefaultTransactionExecutionUtil.isTransactionParentSourceEntity
(@NonNull PaymentTransaction transaction, @NonNull TransactionExecutionRequest request) Deprecated, for removal: This API element is subject to removal in a future version.this method is not used anymore -
Uses of TransactionExecutionRequest in com.broadleafcommerce.paymenttransaction.web.endpoint
Methods in com.broadleafcommerce.paymenttransaction.web.endpoint with parameters of type TransactionExecutionRequestModifier and TypeMethodDescriptionTransactionExecutionEndpoint.executeAuthorize
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request) TransactionExecutionEndpoint.executeAuthorizeAndCapture
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request) TransactionExecutionEndpoint.executeCapture
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request) TransactionExecutionEndpoint.executeDetachedCredit
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request) TransactionExecutionEndpoint.executeRefund
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request) TransactionExecutionEndpoint.executeReverseAuthorize
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Integer paymentVersion, PaymentLockInfo paymentLockInfo, TransactionExecutionRequest request)