public interface CustomerCreditAccountDao
| Modifier and Type | Method and Description |
|---|---|
CustomerCreditAccount |
create()
Creates a new CreditAccount.
|
CustomerCreditAccount |
readAccountByAccountNumber(String accountNumber)
Returns a CustomerCreditAccount that matches the account number.
|
CustomerCreditAccount |
readAccountByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
Returns the first CustomerCreditAccount that match the passed in customer.
|
List<CustomerCreditAccount> |
readAccountsByAccountNumber(String accountNumber)
Returns a List of CustomerCreditAccounts that matches the account number.
|
List<CustomerCreditAccount> |
readAccountsByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
Returns all CustomerCreditAccount that match the passed in customer.
|
List<CustomerCreditAccount> |
readAccountsByCustomerAndCurrency(org.broadleafcommerce.profile.core.domain.Customer customer,
org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
Returns all CustomerCreditAccount that match the passed in customer and currency
|
CustomerCreditAccount |
save(CustomerCreditAccount customerCreditAccount) |
CustomerCreditAccount create()
customer - CustomerCreditAccount readAccountByAccountNumber(String accountNumber)
accountNumber - List<CustomerCreditAccount> readAccountsByAccountNumber(String accountNumber)
accountNumber - CustomerCreditAccount readAccountByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
customer - List<CustomerCreditAccount> readAccountsByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
customer - CustomerCreditAccount save(CustomerCreditAccount customerCreditAccount) throws javax.persistence.OptimisticLockException
customerCreditAccount - javax.persistence.OptimisticLockExceptionList<CustomerCreditAccount> readAccountsByCustomerAndCurrency(org.broadleafcommerce.profile.core.domain.Customer customer, org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
customer - currency - Copyright © 2019. All rights reserved.