Interface StoreCreditAccountProvider
- All Known Implementing Classes:
ExternalStoreCreditAccountProvider
public interface StoreCreditAccountProvider
Provider for interfacing with a CreditAccountService's APIs to gather
CreditAccounts
.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptionretrieveStoreCreditAccount
(String accountNumber, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads the store credit account by id
-
Method Details
-
retrieveStoreCreditAccount
Optional<CreditAccount> retrieveStoreCreditAccount(String accountNumber, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads the store credit account by id- Parameters:
accountNumber
- the credit account numbercontextInfo
- context information related to multitenancy- Returns:
- the store credit account
-