Uses of Class
com.broadleafcommerce.paymenttransaction.service.utils.TransactionWithExecutableAmount
Package
Description
-
Uses of TransactionWithExecutableAmount in com.broadleafcommerce.paymenttransaction.service
Modifier and TypeMethodDescriptionprotected TransactionWithExecutableAmount
DefaultTransactionExecutionService.findFirstExecutableParentTransaction
(List<TransactionWithExecutableAmount> parentTransactions, String paymentId) Finds the firstTransactionWithExecutableAmount
with amount available to execute.Modifier and TypeMethodDescriptionprotected TransactionWithExecutableAmount
DefaultTransactionExecutionService.findFirstExecutableParentTransaction
(List<TransactionWithExecutableAmount> parentTransactions, String paymentId) Finds the firstTransactionWithExecutableAmount
with amount available to execute.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 void
DefaultTransactionExecutionRequestValidator.validateParentTransactionAmounts
(List<TransactionWithExecutableAmount> parentTransactionWithExecutableAmounts, @NonNull javax.money.MonetaryAmount transactionAmount) Validates the total amount from parent transactions is sufficient for the giventransactionAmount
. -
Uses of TransactionWithExecutableAmount in com.broadleafcommerce.paymenttransaction.service.utils
Modifier and TypeMethodDescriptionprotected TransactionWithExecutableAmount
DefaultTransactionExecutionUtil.buildTransactionWithExecutableAmount
(PaymentTransaction parentTransaction, List<PaymentTransaction> transactions) Builds aTransactionWithExecutableAmount
based on the givenPaymentTransaction
.Modifier and TypeMethodDescriptionDefaultTransactionExecutionUtil.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 providedTransactionExecutionRequest.getParentTransactionId()
.