Interface CreditAccountTransactionExecutionProvider
-
- All Known Implementing Classes:
ExternalCreditAccountTransactionExecutionProvider
public interface CreditAccountTransactionExecutionProviderProvider for interfacing with a CreditAccountService's APIs to execute credit account transactions.- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreditAccountreadCustomerStoreCreditAccount(String customerId, String creditAccountNumber, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Reads the credit account for the specified customer id and account number.org.springframework.data.domain.Page<CreditAccount>readCustomerStoreCreditAccounts(String customerId, List<String> creditAccountNumbers, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Reads the credit account for the specified customer id and account numbers.
-
-
-
Method Detail
-
readCustomerStoreCreditAccount
CreditAccount readCustomerStoreCreditAccount(String customerId, String creditAccountNumber, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads the credit account for the specified customer id and account number.- Parameters:
customerId- the customer idcreditAccountNumber- the credit account numbercontextInfo- Context information around sandbox and multitenant state.- Returns:
- the credit account number
-
readCustomerStoreCreditAccounts
org.springframework.data.domain.Page<CreditAccount> readCustomerStoreCreditAccounts(String customerId, List<String> creditAccountNumbers, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads the credit account for the specified customer id and account numbers.- Parameters:
customerId- the customer idcreditAccountNumbers- the credit account numberscontextInfo- Context information around sandbox and multitenant state.- Returns:
- the credit accounts
-
-