Interface CreditAccountTransactionExecutionService
- All Known Implementing Classes:
DefaultCreditAccountTransactionExecutionService
public interface CreditAccountTransactionExecutionService
Service responsible for the managing of
Transactions
.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptioncredit
(String accountNumber, TransactionExecutionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the credit transaction for the credit account.credit
(String creditAccountType, String accountNumber, TransactionExecutionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the credit transaction for the credit account.debit
(String accountNumber, TransactionExecutionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the debit transaction for the credit account.debit
(String creditAccountType, String accountNumber, TransactionExecutionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the debit transaction for the credit account.
-
Method Details
-
credit
TransactionExecutionResponse credit(String accountNumber, TransactionExecutionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the credit transaction for the credit account.- Parameters:
accountNumber
- the credit account numberrequest
- the request to execute the transactioncontextInfo
- context information related to multitenancy- Returns:
- the executed transaction
-
credit
TransactionExecutionResponse credit(String creditAccountType, String accountNumber, TransactionExecutionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the credit transaction for the credit account.- Parameters:
creditAccountType
- the credit account typeaccountNumber
- the credit account numberrequest
- the request to execute the transactioncontextInfo
- context information related to multitenancy- Returns:
- the executed transaction
-
debit
TransactionExecutionResponse debit(String accountNumber, TransactionExecutionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the debit transaction for the credit account.- Parameters:
accountNumber
- the credit account numberrequest
- the request to execute the transactioncontextInfo
- context information related to multitenancy- Returns:
- the executed transaction
-
debit
TransactionExecutionResponse debit(String creditAccountType, String accountNumber, TransactionExecutionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the debit transaction for the credit account.- Parameters:
creditAccountType
- the credit account typeaccountNumber
- the credit account numberrequest
- the request to execute the transactioncontextInfo
- context information related to multitenancy- Returns:
- the executed transaction
-