| Modifier and Type | Method and Description |
|---|---|
PaymentResponseDTO |
OrderPaymentConfirmationStrategyImpl.confirmPendingTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context) |
PaymentResponseDTO |
OrderPaymentConfirmationStrategy.confirmPendingTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context)
Strategy to determine how to "confirm" a PENDING OrderPayment post-checkout
|
PaymentResponseDTO |
OrderPaymentConfirmationStrategyImpl.confirmTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context) |
PaymentResponseDTO |
OrderPaymentConfirmationStrategy.confirmTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context)
Strategy to determine how to "confirm" an OrderPayment at checkout
|
protected PaymentResponseDTO |
OrderPaymentConfirmationStrategyImpl.confirmTransactionInternal(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context,
boolean isCheckout) |
protected boolean |
OrderPaymentConfirmationStrategyImpl.transactionIsDetachedCreditRequest(PaymentTransaction transaction)
determine whether or not this transaction is a detached credit request.
|
| Modifier and Type | Method and Description |
|---|---|
protected CustomerPayment |
ValidateAndConfirmPaymentActivity.createCustomerPaymentToken(PaymentTransaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
OrderPaymentDao.createTransaction() |
PaymentTransaction |
OrderPaymentDaoImpl.createTransaction() |
PaymentTransaction |
OrderPaymentDao.readTransactionById(Long transactionId) |
PaymentTransaction |
OrderPaymentDaoImpl.readTransactionById(Long transactionId) |
PaymentTransaction |
OrderPaymentDao.save(PaymentTransaction transaction) |
PaymentTransaction |
OrderPaymentDaoImpl.save(PaymentTransaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
OrderPaymentDao.save(PaymentTransaction transaction) |
PaymentTransaction |
OrderPaymentDaoImpl.save(PaymentTransaction transaction) |
| Modifier and Type | Class and Description |
|---|---|
class |
PaymentTransactionImpl |
| Modifier and Type | Field and Description |
|---|---|
protected PaymentTransaction |
PaymentTransactionImpl.parentTransaction
Necessary for operations on a payment that require something to have happened beforehand.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<PaymentTransaction> |
OrderPaymentImpl.transactions |
| Modifier and Type | Method and Description |
|---|---|
<G extends PaymentTransaction> |
PaymentTransactionImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
OrderPaymentImpl.getInitialTransaction() |
PaymentTransaction |
OrderPayment.getInitialTransaction()
Returns the initial transaction for this order payment.
|
PaymentTransaction |
PaymentTransactionImpl.getParentTransaction() |
PaymentTransaction |
PaymentTransaction.getParentTransaction()
Transactions can have a parent-child relationship for modifying transactions that can occur.
|
PaymentTransaction |
PaymentResponseItem.getPaymentTransaction() |
| Modifier and Type | Method and Description |
|---|---|
List<PaymentTransaction> |
OrderPaymentImpl.getTransactions() |
List<PaymentTransaction> |
OrderPayment.getTransactions()
All of the transactions that have been applied to this particular payment.
|
List<PaymentTransaction> |
OrderPaymentImpl.getTransactionsForType(PaymentTransactionType type) |
List<PaymentTransaction> |
OrderPayment.getTransactionsForType(PaymentTransactionType type)
Returns a transaction for given type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrderPaymentImpl.addTransaction(PaymentTransaction transaction) |
void |
OrderPayment.addTransaction(PaymentTransaction transaction)
A more declarative way to invoke
#getTransactions().add(). |
void |
PaymentTransactionImpl.setParentTransaction(PaymentTransaction parentTransaction) |
void |
PaymentTransaction.setParentTransaction(PaymentTransaction parentTransaction) |
void |
PaymentResponseItem.setPaymentTransaction(PaymentTransaction paymentTransaction) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderPaymentImpl.setTransactions(List<PaymentTransaction> transactions) |
void |
OrderPayment.setTransactions(List<PaymentTransaction> details)
All of the transactions that have been applied to this particular payment.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
OrderPaymentServiceImpl.createTransaction() |
PaymentTransaction |
OrderPaymentService.createTransaction() |
PaymentTransaction |
OrderPaymentServiceImpl.readTransactionById(Long transactionId) |
PaymentTransaction |
OrderPaymentService.readTransactionById(Long transactionId) |
protected PaymentTransaction |
OrderToPaymentRequestDTOServiceImpl.refreshTransaction(PaymentTransaction paymentTransaction) |
PaymentTransaction |
OrderPaymentServiceImpl.save(PaymentTransaction transaction) |
PaymentTransaction |
OrderPaymentService.save(PaymentTransaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
CustomerPayment |
OrderPaymentServiceImpl.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction) |
CustomerPayment |
OrderPaymentService.createCustomerPaymentFromPaymentTransaction(PaymentTransaction transaction)
Create a
CustomerPayment token for the passed in Customer
given a PaymentTransaction. |
void |
OrderPaymentServiceImpl.populateCustomerPaymentToken(CustomerPayment customerPayment,
PaymentTransaction transaction) |
void |
OrderPaymentService.populateCustomerPaymentToken(CustomerPayment customerPayment,
PaymentTransaction transaction)
Will attempt to populate the
CustomerPayment.setPaymentToken(String)
by looking at the getAdditionalFields()
for key PaymentAdditionalFieldType.TOKEN. |
protected PaymentTransaction |
OrderToPaymentRequestDTOServiceImpl.refreshTransaction(PaymentTransaction paymentTransaction) |
PaymentTransaction |
OrderPaymentServiceImpl.save(PaymentTransaction transaction) |
PaymentTransaction |
OrderPaymentService.save(PaymentTransaction transaction) |
PaymentRequestDTO |
OrderToPaymentRequestDTOService.translatePaymentTransaction(Money transactionAmount,
PaymentTransaction paymentTransaction)
Utilizes the
getAdditionalFields() map to populate necessary request parameters on the
resulting PaymentRequestDTO. |
PaymentRequestDTO |
OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount,
PaymentTransaction paymentTransaction) |
PaymentRequestDTO |
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".
|
PaymentRequestDTO |
OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount,
PaymentTransaction paymentTransaction,
boolean autoCalculateFinalPaymentTotals) |
Copyright © 2018. All rights reserved.