public interface CustomerCreditAccountService
| Modifier and Type | Method and Description |
|---|---|
void |
addAccountCreditPayment(org.broadleafcommerce.core.order.domain.Order order,
CustomerCreditAccount customerCreditAccount)
Adds a payment to an order from the Credit Account id passed in.
|
List<CreditAccount> |
addAccountCreditPaymentsFromCreditInfoForm(org.broadleafcommerce.core.order.domain.Order order,
org.broadleafcommerce.core.web.checkout.model.CustomerCreditInfoForm creditInfoForm)
Adds a payment to an order from each Credit Account passed in the credit info form.
|
CustomerCreditAccount |
create()
Creates a CustomerCreditAccount.
|
CustomerCreditAccount |
createCreditAccount(org.broadleafcommerce.profile.core.domain.Customer customer,
CreditAccountEventRequestDTO requestDTO)
Creates a CustomerCreditAccount for the customer.
|
List<CustomerCreditAccount> |
getAllCustomerAccounts(org.broadleafcommerce.profile.core.domain.Customer customer)
Returns a List of all Credit Accounts of the customer passed in.
|
List<CustomerCreditAccount> |
getAllCustomerAccountsByCurrency(org.broadleafcommerce.profile.core.domain.Customer customer,
org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
Returns a List of all Customer Credit Accounts of the customer and currency passed in.
|
CustomerCreditAccount |
readAccountByAccountNumber(String accountNumber)
Returns a CustomerCreditAccount that matches the account number.
|
CustomerCreditAccount |
readAccountByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
Returns a CustomerCreditAccount associated with the customer.
|
CustomerCreditAccount create()
CustomerCreditAccount createCreditAccount(org.broadleafcommerce.profile.core.domain.Customer customer, CreditAccountEventRequestDTO requestDTO)
customer - CustomerCreditAccount readAccountByCustomer(org.broadleafcommerce.profile.core.domain.Customer customer)
customer - CustomerCreditAccount readAccountByAccountNumber(String accountNumber)
accountNumber - List<CustomerCreditAccount> getAllCustomerAccounts(org.broadleafcommerce.profile.core.domain.Customer customer)
customer - List<CreditAccount> addAccountCreditPaymentsFromCreditInfoForm(org.broadleafcommerce.core.order.domain.Order order, org.broadleafcommerce.core.web.checkout.model.CustomerCreditInfoForm creditInfoForm) throws org.broadleafcommerce.core.pricing.service.exception.PricingException
order - creditInfoForm - org.broadleafcommerce.core.pricing.service.exception.PricingExceptionvoid addAccountCreditPayment(org.broadleafcommerce.core.order.domain.Order order,
CustomerCreditAccount customerCreditAccount)
throws org.broadleafcommerce.core.pricing.service.exception.PricingException
order - customerCreditAccount - org.broadleafcommerce.core.pricing.service.exception.PricingExceptionList<CustomerCreditAccount> getAllCustomerAccountsByCurrency(org.broadleafcommerce.profile.core.domain.Customer customer, org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
customer - Copyright © 2019. All rights reserved.