Uses of Interface
org.broadleafcommerce.core.payment.domain.PaymentTransaction
Packages that use PaymentTransaction
Package
Description
-
Uses of PaymentTransaction in org.broadleafcommerce.core.checkout.service.strategy
Methods in org.broadleafcommerce.core.checkout.service.strategy with parameters of type PaymentTransactionModifier and TypeMethodDescriptionOrderPaymentConfirmationStrategy.confirmPendingTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) Strategy to determine how to "confirm" a PENDING OrderPayment post-checkoutOrderPaymentConfirmationStrategyImpl.confirmPendingTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) OrderPaymentConfirmationStrategy.confirmTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) Strategy to determine how to "confirm" an OrderPayment at checkoutOrderPaymentConfirmationStrategyImpl.confirmTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) protected PaymentResponseDTOOrderPaymentConfirmationStrategyImpl.confirmTransactionInternal(PaymentTransaction tx, ProcessContext<CheckoutSeed> context, boolean isCheckout) protected booleanOrderPaymentConfirmationStrategyImpl.transactionIsDetachedCreditRequest(PaymentTransaction transaction) determine whether or not this transaction is a detached credit request. -
Uses of PaymentTransaction in org.broadleafcommerce.core.checkout.service.workflow
Methods in org.broadleafcommerce.core.checkout.service.workflow with parameters of type PaymentTransactionModifier and TypeMethodDescriptionprotected CustomerPaymentValidateAndConfirmPaymentActivity.createCustomerPaymentToken(PaymentTransaction transaction) -
Uses of PaymentTransaction in org.broadleafcommerce.core.payment.dao
Methods in org.broadleafcommerce.core.payment.dao that return PaymentTransactionModifier and TypeMethodDescriptionOrderPaymentDao.createTransaction()OrderPaymentDaoImpl.createTransaction()OrderPaymentDao.readTransactionById(Long transactionId) OrderPaymentDaoImpl.readTransactionById(Long transactionId) OrderPaymentDao.save(PaymentTransaction transaction) OrderPaymentDaoImpl.save(PaymentTransaction transaction) Methods in org.broadleafcommerce.core.payment.dao with parameters of type PaymentTransactionModifier and TypeMethodDescriptionOrderPaymentDao.save(PaymentTransaction transaction) OrderPaymentDaoImpl.save(PaymentTransaction transaction) -
Uses of PaymentTransaction in org.broadleafcommerce.core.payment.domain
Classes in org.broadleafcommerce.core.payment.domain that implement PaymentTransactionFields in org.broadleafcommerce.core.payment.domain declared as PaymentTransactionModifier and TypeFieldDescriptionprotected PaymentTransactionPaymentTransactionImpl.parentTransactionNecessary for operations on a payment that require something to have happened beforehand.Fields in org.broadleafcommerce.core.payment.domain with type parameters of type PaymentTransactionModifier and TypeFieldDescriptionprotected List<PaymentTransaction>OrderPaymentImpl.transactionsMethods in org.broadleafcommerce.core.payment.domain with type parameters of type PaymentTransactionModifier and TypeMethodDescription<G extends PaymentTransaction>
CreateResponse<G>PaymentTransactionImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) Methods in org.broadleafcommerce.core.payment.domain that return PaymentTransactionModifier and TypeMethodDescriptionOrderPayment.getAuthorizeTransaction()Returns a successful transaction with typePaymentTransactionType.AUTHORIZEorPaymentTransactionType.AUTHORIZE_AND_CAPTUREif one exists.OrderPaymentImpl.getAuthorizeTransaction()OrderPayment.getInitialTransaction()Returns the initial transaction for this order payment.OrderPaymentImpl.getInitialTransaction()PaymentTransaction.getParentTransaction()Transactions can have a parent-child relationship for modifying transactions that can occur.PaymentTransactionImpl.getParentTransaction()PaymentResponseItem.getPaymentTransaction()Methods in org.broadleafcommerce.core.payment.domain that return types with arguments of type PaymentTransactionModifier and TypeMethodDescriptionOrderPayment.getTransactions()All of the transactions that have been applied to this particular payment.OrderPaymentImpl.getTransactions()OrderPayment.getTransactionsForType(PaymentTransactionType type) Returns a transaction for given type.OrderPaymentImpl.getTransactionsForType(PaymentTransactionType type) Methods in org.broadleafcommerce.core.payment.domain with parameters of type PaymentTransactionModifier and TypeMethodDescriptionvoidOrderPayment.addTransaction(PaymentTransaction transaction) A more declarative way to invoke {@link #getTransactions().add()}.voidOrderPaymentImpl.addTransaction(PaymentTransaction transaction) voidPaymentTransaction.setParentTransaction(PaymentTransaction parentTransaction) voidPaymentTransactionImpl.setParentTransaction(PaymentTransaction parentTransaction) voidPaymentResponseItem.setPaymentTransaction(PaymentTransaction paymentTransaction) Method parameters in org.broadleafcommerce.core.payment.domain with type arguments of type PaymentTransactionModifier and TypeMethodDescriptionvoidOrderPayment.setTransactions(List<PaymentTransaction> details) All of the transactions that have been applied to this particular payment.voidOrderPaymentImpl.setTransactions(List<PaymentTransaction> transactions) -
Uses of PaymentTransaction in org.broadleafcommerce.core.payment.service
Methods in org.broadleafcommerce.core.payment.service that return PaymentTransactionModifier and TypeMethodDescriptionOrderPaymentService.createTransaction()OrderPaymentServiceImpl.createTransaction()OrderPaymentService.readTransactionById(Long transactionId) OrderPaymentServiceImpl.readTransactionById(Long transactionId) protected PaymentTransactionOrderToPaymentRequestDTOServiceImpl.refreshTransaction(PaymentTransaction paymentTransaction) OrderPaymentService.save(PaymentTransaction transaction) OrderPaymentServiceImpl.save(PaymentTransaction transaction) Methods in org.broadleafcommerce.core.payment.service with parameters of type PaymentTransactionModifier and TypeMethodDescriptionOrderPaymentService.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction) Create aCustomerPaymenttoken for the passed in Customer given aPaymentTransaction.OrderPaymentServiceImpl.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction) voidOrderPaymentService.populateCustomerPaymentToken(CustomerPayment customerPayment, PaymentTransaction transaction) Will attempt to populate theCustomerPayment.setPaymentToken(String)by looking at thegetAdditionalFields()for keyPaymentAdditionalFieldType.TOKEN.voidOrderPaymentServiceImpl.populateCustomerPaymentToken(CustomerPayment customerPayment, PaymentTransaction transaction) protected PaymentTransactionOrderToPaymentRequestDTOServiceImpl.refreshTransaction(PaymentTransaction paymentTransaction) OrderPaymentService.save(PaymentTransaction transaction) OrderPaymentServiceImpl.save(PaymentTransaction transaction) OrderToPaymentRequestDTOService.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction) Utilizes thegetAdditionalFields()map to populate necessary request parameters on the resultingPaymentRequestDTO.OrderToPaymentRequestDTOService.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction, boolean autoCalculateFinalPaymentTotals) Important: As of 4.0.1-GA+, there is a requirement to automatically populate the transaction amount on the DTO only if coming from a "checkout payment flow".OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction) OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction, boolean autoCalculateFinalPaymentTotals)