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 TypeMethodDescriptionorg.broadleafcommerce.common.payment.dto.PaymentResponseDTOOrderPaymentConfirmationStrategy.confirmPendingTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) Strategy to determine how to "confirm" a PENDING OrderPayment post-checkoutorg.broadleafcommerce.common.payment.dto.PaymentResponseDTOOrderPaymentConfirmationStrategyImpl.confirmPendingTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) org.broadleafcommerce.common.payment.dto.PaymentResponseDTOOrderPaymentConfirmationStrategy.confirmTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) Strategy to determine how to "confirm" an OrderPayment at checkoutorg.broadleafcommerce.common.payment.dto.PaymentResponseDTOOrderPaymentConfirmationStrategyImpl.confirmTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) protected org.broadleafcommerce.common.payment.dto.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 org.broadleafcommerce.profile.core.domain.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>
org.broadleafcommerce.common.copy.CreateResponse<G>PaymentTransactionImpl.createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.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(org.broadleafcommerce.common.payment.PaymentTransactionType type) Returns a transaction for given type.OrderPaymentImpl.getTransactionsForType(org.broadleafcommerce.common.payment.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 TypeMethodDescriptionorg.broadleafcommerce.profile.core.domain.CustomerPaymentOrderPaymentService.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction) Create aCustomerPaymenttoken for the passed in Customer given aPaymentTransaction.org.broadleafcommerce.profile.core.domain.CustomerPaymentOrderPaymentServiceImpl.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction) voidOrderPaymentService.populateCustomerPaymentToken(org.broadleafcommerce.profile.core.domain.CustomerPayment customerPayment, PaymentTransaction transaction) Will attempt to populate theCustomerPayment.setPaymentToken(String)by looking at thegetAdditionalFields()for keyPaymentAdditionalFieldType.TOKEN.voidOrderPaymentServiceImpl.populateCustomerPaymentToken(org.broadleafcommerce.profile.core.domain.CustomerPayment customerPayment, PaymentTransaction transaction) protected PaymentTransactionOrderToPaymentRequestDTOServiceImpl.refreshTransaction(PaymentTransaction paymentTransaction) OrderPaymentService.save(PaymentTransaction transaction) OrderPaymentServiceImpl.save(PaymentTransaction transaction) org.broadleafcommerce.common.payment.dto.PaymentRequestDTOOrderToPaymentRequestDTOService.translatePaymentTransaction(org.broadleafcommerce.common.money.Money transactionAmount, PaymentTransaction paymentTransaction) Utilizes thegetAdditionalFields()map to populate necessary request parameters on the resultingPaymentRequestDTO.org.broadleafcommerce.common.payment.dto.PaymentRequestDTOOrderToPaymentRequestDTOService.translatePaymentTransaction(org.broadleafcommerce.common.money.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".org.broadleafcommerce.common.payment.dto.PaymentRequestDTOOrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(org.broadleafcommerce.common.money.Money transactionAmount, PaymentTransaction paymentTransaction) org.broadleafcommerce.common.payment.dto.PaymentRequestDTOOrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(org.broadleafcommerce.common.money.Money transactionAmount, PaymentTransaction paymentTransaction, boolean autoCalculateFinalPaymentTotals)