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 Type
    Method
    Description
    retrieveStoreCreditAccount(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 number
      contextInfo - context information related to multitenancy
      Returns:
      the store credit account