Uses of Class
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.TransactionExecutionRequest
Package
Description
-
Uses of TransactionExecutionRequest in com.broadleafcommerce.paymenttransaction.service
Modifier and TypeMethodDescriptionDefaultTransactionExecutionService.ParentTransactionExecutionPackage.getRequest()
Modifier 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) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
DefaultTransactionExecutionRequestValidator.canTransactionAmountBeLessThanAvailableAmount
(TransactionExecutionRequest request, PaymentSummary paymentSummary) 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 TransactionAmountDetails transactionAmountDetails, @NonNull TransactionExecutionRequest request, @NonNull Payment payment, PaymentTransaction parentTransaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) 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) Deprecated, for removal: This API element is subject to removal in a future version.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, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) 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
.protected Optional<TransactionExecutionResponse>
DefaultTransactionExecutionService.getTransactionExecutionResponse
(@NonNull TransactionExecutionRequest request, @NonNull Payment payment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns the transaction execution response, if the payment has the 3DS transaction or the transaction that requires the interaction with the gateway's hosted payment page, and these transactions don't have the result.protected boolean
DefaultTransactionExecutionService.hasTransactionAmountDetails
(TransactionExecutionRequest request) DefaultTransactionExecutionService.prorateTransactionAmountDetails
(@NonNull TransactionExecutionRequest request, List<DefaultTransactionExecutionService.ParentTransactionExecutionPackage> executionPackages) 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
Modifier 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
Modifier 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)
DefaultTransactionExecutionRequestValidator.canTransactionAmountBeLessThanAvailableAmount(TransactionExecutionRequest, PaymentSummary)