public interface CreditAccount extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getAccountNumber()
Gets the account number.
|
org.broadleafcommerce.common.money.Money |
getBalance()
Gets the balance.
|
List<CreditAccountEvent> |
getCreditAccountEvents()
Gets a list of all CreditAccountEvents attached to the CreditAccount.
|
org.broadleafcommerce.common.currency.domain.BroadleafCurrency |
getCurrency()
Gets the Currency.
|
Long |
getId()
Gets the id.
|
Long |
getVersion()
Retrieves the version set by Hibernate.
|
void |
setAccountNumber(String accountNumber)
Sets the account number.
|
void |
setBalance(org.broadleafcommerce.common.money.Money balance)
Sets the account balance.
|
void |
setCreditAccountEvents(List<CreditAccountEvent> creditAccountEvents)
Sets a list of the CreditAccountEvents to the CreditAccount.
|
void |
setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
Sets the currency.
|
void |
setId(Long id)
Sets the id.
|
Long getId()
void setId(Long id)
id
- Long getVersion()
String getAccountNumber()
void setAccountNumber(String accountNumber)
accountNumber
- org.broadleafcommerce.common.money.Money getBalance()
void setBalance(org.broadleafcommerce.common.money.Money balance)
balance
- org.broadleafcommerce.common.currency.domain.BroadleafCurrency getCurrency()
void setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
currency
- List<CreditAccountEvent> getCreditAccountEvents()
void setCreditAccountEvents(List<CreditAccountEvent> creditAccountEvents)
creditAccountEvents
- Copyright © 2019. All rights reserved.