Interface CreditAccountTransactionExecutionProvider

All Known Implementing Classes:
ExternalCreditAccountTransactionExecutionProvider

public interface CreditAccountTransactionExecutionProvider
Provider for interfacing with a CreditAccountService's APIs to execute credit account transactions.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<CreditAccount>
    readCreditAccounts(List<String> creditAccountNumbers, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads the credit account for the specified account numbers.
    readCustomerStoreCreditAccount(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 Details

    • 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 id
      creditAccountNumber - the credit account number
      contextInfo - 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 id
      creditAccountNumbers - the credit account numbers
      contextInfo - Context information around sandbox and multitenant state.
      Returns:
      the credit accounts
    • readCreditAccounts

      org.springframework.data.domain.Page<CreditAccount> readCreditAccounts(List<String> creditAccountNumbers, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Reads the credit account for the specified account numbers.
      Parameters:
      creditAccountNumbers - the credit account numbers
      contextInfo - Context information around sandbox and multitenant state.
      Returns:
      the credit accounts