Interface CustomerProvider
-
- All Known Implementing Classes:
ExternalCustomerProvider
public interface CustomerProvider
Provider for interfacing with operations directly involving customer related domain. Typically utilizesWebClient
to make requests to an external REST API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Account>
readAccountById(String accountId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Read a customer account by the supplied IDreactor.core.publisher.Mono<Customer>
readByCustomerId(String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Read a customer by ID
-
-
-
Method Detail
-
readAccountById
reactor.core.publisher.Mono<Account> readAccountById(String accountId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Read a customer account by the supplied ID- Parameters:
accountId
- The account IDcontextInfo
- The context- Returns:
- An account Mono
-
-