Modifier and Type | Method and Description |
---|---|
protected org.broadleafcommerce.common.money.Money |
AccountCreditOrderPaymentServiceImpl.calculateAmountCovered(org.broadleafcommerce.core.order.domain.Order order,
CreditAccount creditAccount)
Note: the amount covered will NOT call order.getTotalAfterAppliedPayments()
See getTotalAfterAppliedGiftCardsAndCustomerCredit()
|
Modifier and Type | Method and Description |
---|---|
CreditAccount |
CustomerCreditTransactionServiceImpl.getAccount(String accountNumber) |
CreditAccount |
GiftCardTransactionServiceImpl.getAccount(String accountNumber) |
Modifier and Type | Method and Description |
---|---|
CreditAccount |
CreditAccountDaoImpl.readAccountByAccountNumber(String accountNumber) |
CreditAccount |
CreditAccountDao.readAccountByAccountNumber(String accountNumber)
Returns a CreditAccount that matches the account number.
|
CreditAccount |
CreditAccountDaoImpl.readById(Long id) |
CreditAccount |
CreditAccountDao.readById(Long id)
Gets a CreditAccount by id
|
Modifier and Type | Method and Description |
---|---|
List<CreditAccount> |
CreditAccountDaoImpl.readAccountsByAccountNumber(String accountNumber) |
List<CreditAccount> |
CreditAccountDao.readAccountsByAccountNumber(String accountNumber)
Returns all CreditAccounts that match the passed in account number.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CustomerCreditAccount |
interface |
GiftCardAccount |
Modifier and Type | Class and Description |
---|---|
class |
CreditAccountImpl |
class |
CustomerCreditAccountImpl |
class |
GiftCardAccountImpl |
Modifier and Type | Field and Description |
---|---|
protected CreditAccount |
CreditAccountEventImpl.creditAccount |
Modifier and Type | Method and Description |
---|---|
CreditAccount |
CreditAccountEventImpl.getCreditAccount() |
CreditAccount |
CreditAccountEvent.getCreditAccount()
Gets the CreditAccount
|
Modifier and Type | Method and Description |
---|---|
void |
CreditAccountEventImpl.setCreditAccount(CreditAccount creditAccount) |
void |
CreditAccountEvent.setCreditAccount(CreditAccount creditAccount)
Sets the CreditAccount
|
Modifier and Type | Method and Description |
---|---|
CreditAccount |
CreditAccountServiceImpl.readAccountByAccountNumber(String accountNumber) |
CreditAccount |
CreditAccountService.readAccountByAccountNumber(String accountNumber)
Returns a Credit Account that matches the account number.
|
CreditAccount |
CreditAccountServiceImpl.readById(Long creditAccountID) |
CreditAccount |
CreditAccountService.readById(Long creditAccountID)
Gets a CreditAccount by id
|
CreditAccount |
CreditAccountServiceImpl.registerAccountCreation(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO) |
CreditAccount |
CreditAccountService.registerAccountCreation(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO)
Registers the creation of a new CreditAccount by creating a CreditAccountEvent and CreditAccountEventDetail.
|
Modifier and Type | Method and Description |
---|---|
List<CreditAccount> |
CustomerCreditAccountServiceImpl.addAccountCreditPaymentsFromCreditInfoForm(org.broadleafcommerce.core.order.domain.Order order,
org.broadleafcommerce.core.web.checkout.model.CustomerCreditInfoForm creditInfoForm) |
List<CreditAccount> |
CustomerCreditAccountService.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.
|
Modifier and Type | Method and Description |
---|---|
CreditAccountEvent |
CreditAccountServiceImpl.clearAccountBalance(CreditAccount creditAccount) |
CreditAccountEvent |
CreditAccountService.clearAccountBalance(CreditAccount creditAccount)
Zeros out a CreditAccount.
|
CreditAccountEvent |
CreditAccountServiceImpl.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount)
Returns a new CreditAccountEvent of the type passed in.
|
CreditAccountEvent |
CreditAccountServiceImpl.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO) |
CreditAccountEvent |
CreditAccountService.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO)
Returns a new CreditAccountEvent of the type passed in.
|
CreditAccountEvent |
CreditAccountEventService.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO)
Create a CreditAccountEvent using a CreditAccount, a CreditAccountEventEnum type, an amount, and a CreditAccountEventRequestDTO
|
CreditAccountEvent |
CreditAccountEventServiceImpl.createCreditAccountEvent(CreditAccount creditAccount,
CreditAccountEventEnum type,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO) |
CreditAccountEvent |
CreditAccountServiceImpl.creditAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
Date expirationDate) |
CreditAccountEvent |
CreditAccountService.creditAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
Date expirationDate)
Credits the CreditAccount for the given amount.
|
CreditAccountEvent |
CreditAccountServiceImpl.debitAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.debitAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount)
Debits the CreditAccount for the given amount.
|
CreditAccountEvent |
CreditAccountServiceImpl.debitAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
org.broadleafcommerce.core.order.domain.Order order) |
CreditAccountEvent |
CreditAccountService.debitAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
org.broadleafcommerce.core.order.domain.Order order)
Debits the CreditAccount for the given amount.
|
CreditAccountEvent |
CreditAccountServiceImpl.getLastActivity(CreditAccount creditAccount) |
CreditAccountEvent |
CreditAccountService.getLastActivity(CreditAccount creditAccount)
Gets the last activity registered on the CreditAccount.
|
CreditAccountEvent |
CreditAccountServiceImpl.getLastDebitEvent(CreditAccount creditAccount) |
CreditAccountEvent |
CreditAccountService.getLastDebitEvent(CreditAccount creditAccount)
Gets the last debit event registered on the CreditAccount.
|
boolean |
CreditAccountServiceImpl.isExpired(CreditAccount creditAccount) |
boolean |
CreditAccountService.isExpired(CreditAccount creditAccount)
Returns true if there is an expiration date on the creditAccount.
|
CreditAccountEvent |
CreditAccountServiceImpl.refundAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.refundAccount(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount)
Refunds a CreditAccount for the given amount.
|
CreditAccount |
CreditAccountServiceImpl.registerAccountCreation(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO) |
CreditAccount |
CreditAccountService.registerAccountCreation(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO)
Registers the creation of a new CreditAccount by creating a CreditAccountEvent and CreditAccountEventDetail.
|
CreditAccountEvent |
CreditAccountServiceImpl.rollbackCredit(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.rollbackCredit(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount)
Used by a RollbackHandler to debit back an amount that had been refunded on a credit.
|
CreditAccountEvent |
CreditAccountServiceImpl.rollbackDebit(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.rollbackDebit(CreditAccount creditAccount,
org.broadleafcommerce.common.money.Money amount)
Used by a RollbackHandler to credit back an amount that had been deducted on a debit.
|
CreditAccountEvent |
GiftCardAccountService.transferAccountBalance(CreditAccount sender,
CreditAccount receiver,
org.broadleafcommerce.common.money.Money amount)
Transfers an amount from the Sender CreditAccount to the Receiver CreditAccount.
|
CreditAccountEvent |
CreditAccountServiceImpl.transferAccountBalance(CreditAccount sender,
CreditAccount receiver,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
GiftCardAccountServiceImpl.transferAccountBalance(CreditAccount sender,
CreditAccount receiver,
org.broadleafcommerce.common.money.Money amount) |
CreditAccountEvent |
CreditAccountService.transferAccountBalance(CreditAccount sender,
CreditAccount receiver,
org.broadleafcommerce.common.money.Money amount)
Transfers an amount from the Sender CreditAccount to the Receiver CreditAccount.
|
CreditAccountEvent |
CreditAccountServiceImpl.voidAccount(CreditAccount creditAccount,
Date expirationDate) |
CreditAccountEvent |
CreditAccountService.voidAccount(CreditAccount creditAccount,
Date expirationDate)
Voids a CreditAccount by setting an expiration date.
|
Copyright © 2019. All rights reserved.